(456.1ms)  CREATE DATABASE "url_shortner_dev" ENCODING = 'unicode'
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (396.8ms)  CREATE DATABASE "url_shortner_test" ENCODING = 'unicode'
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (30.8ms)  CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (19.2ms)  CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (0.3ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Create (12.9ms)  INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"  [["key", "environment"], ["value", "development"], ["created_at", "2019-01-20 05:18:29.977268"], ["updated_at", "2019-01-20 05:18:29.977268"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (6.4ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.4ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to CreateUrls (20190120052023)

 (0.3ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (26.8ms)  CREATE TABLE "urls" ("id" bigserial primary key, "long_url" character varying, "short_url" character varying, "domain" character varying)
↳ db/migrate/20190120052023_create_urls.rb:3
ActiveRecord::SchemaMigration Create (0.4ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190120052023"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.4ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (0.3ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" LIMIT $1  [["LIMIT", 11]]
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]

Started GET “/shorten-url?domain=proptiger&long_url=www.proptiger.com/urls” for 127.0.0.1 at 2019-01-20 11:02:13 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

ActionController::RoutingError (No route matches [GET] “/shorten-url”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger.com/urls” for 127.0.0.1 at 2019-01-20 11:02:27 +0530 Processing by UrlsController#shorten_url as *

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger.com/urls"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Create (0.7ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger.com/urls"]]
↳ app/controllers/urls_controller.rb:8
 (11.6ms)  COMMIT
↳ app/controllers/urls_controller.rb:8
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "www.proptiger.com/urls"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:19
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 1]]
↳ app/controllers/urls_controller.rb:21
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 40ms (Views: 0.4ms | ActiveRecord: 23.2ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger.com/urls” for 127.0.0.1 at 2019-01-20 11:03:49 +0530 Processing by UrlsController#shorten_url as *

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger.com/urls"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger.com/urls"]]
↳ app/controllers/urls_controller.rb:8
 (5.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:8
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c2a87"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:53
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/c2a87"], ["domain", "proptiger"], ["id", 2]]
↳ app/controllers/urls_controller.rb:14
 (6.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 15.6ms)

Started GET “/short-url?short_url=www.vg.sw.n/c2a87” for 127.0.0.1 at 2019-01-20 11:04:26 +0530 Processing by UrlsController#short_url as *

Parameters: {"short_url"=>"https://www.vg.sw.n/c2a87"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/c2a87"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:40

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)

Started GET “/short-url?short_url=c2a87” for 127.0.0.1 at 2019-01-20 11:04:38 +0530 Processing by UrlsController#short_url as *

Parameters: {"short_url"=>"c2a87"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/c2a87"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:40

Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger.com/urls/vipul” for 127.0.0.1 at 2019-01-20 11:13:05 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger.com/urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger.com/urls/vipul"]]
↳ app/controllers/urls_controller.rb:8
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:8
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:17
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/DyVzGd"], ["domain", "proptiger"], ["id", 3]]
↳ app/controllers/urls_controller.rb:17
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:17

Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 6.7ms)

Started GET “/short-url?short_url=www.vg.sw.n/DyVzGd” for 127.0.0.1 at 2019-01-20 11:13:24 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/DyVzGd"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/DyVzGd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:43

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started GET “/short-url?short_url=DyVzGd” for 127.0.0.1 at 2019-01-20 11:13:30 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"DyVzGd"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/DyVzGd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:43

Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.3ms)

 (0.2ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to DeviseCreateViews (20190120055341)

 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (20.5ms)  CREATE TABLE "views" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
↳ db/migrate/20190120055341_devise_create_views.rb:5
 (1.1ms)  CREATE UNIQUE INDEX  "index_views_on_email" ON "views"  ("email")
↳ db/migrate/20190120055341_devise_create_views.rb:39
 (0.7ms)  CREATE UNIQUE INDEX  "index_views_on_reset_password_token" ON "views"  ("reset_password_token")
↳ db/migrate/20190120055341_devise_create_views.rb:40
ActiveRecord::SchemaMigration Create (0.4ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190120055341"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to DeviseCreateUsers (20190120055402)

 (5.7ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (14.8ms)  CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
↳ db/migrate/20190120055402_devise_create_users.rb:5
 (5.6ms)  CREATE UNIQUE INDEX  "index_users_on_email" ON "users"  ("email")
↳ db/migrate/20190120055402_devise_create_users.rb:39
 (1.2ms)  CREATE UNIQUE INDEX  "index_users_on_reset_password_token" ON "users"  ("reset_password_token")
↳ db/migrate/20190120055402_devise_create_users.rb:40
ActiveRecord::SchemaMigration Create (0.3ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190120055402"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (0.3ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
User Load (0.4ms)  SELECT  "users".* FROM "users" LIMIT $1  [["LIMIT", 11]]
User Exists (0.4ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]

Started GET “/” for 127.0.0.1 at 2019-01-20 11:27:48 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by Rails::WelcomeController#index as HTML

Rendering /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (3.2ms)

Completed 200 OK in 13ms (Views: 6.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:27:48 +0530 Processing by Rails::WelcomeController#index as HTML

Rendering /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (2.9ms)

Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.0ms)

Started GET “/sign_up” for 127.0.0.1 at 2019-01-20 11:27:55 +0530

ActionController::RoutingError (No route matches [GET] “/sign_up”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/sign_up” for 127.0.0.1 at 2019-01-20 11:28:48 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by Devise::RegistrationsController#new as HTML

Rendering devise/registrations/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.8ms)
Rendered devise/registrations/new.html.erb within layouts/application (47.3ms)

Completed 200 OK in 469ms (Views: 445.1ms | ActiveRecord: 3.7ms)

Started POST “/users” for 127.0.0.1 at 2019-01-20 11:29:04 +0530 Processing by Devise::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DPViAS8fngHWBD9jbi75/Nf+pZkxlIojz6rl4vMAnzytHBWPMFV03DmzQ796aczkKoyjJuXe3CwAJRY7VFUi9g==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
User Create (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["email", "bishoo191297@gmail.com"], ["encrypted_password", "$2a$11$ieGtOOEpakGFdEOz/fov/uIIQRKbrvRzA2.CbanZ9RibFbtK4/Rb."], ["created_at", "2019-01-20 05:59:04.355428"], ["updated_at", "2019-01-20 05:59:04.355428"]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.6ms)  COMMIT
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 154ms (ActiveRecord: 2.6ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:29:04 +0530 Processing by Rails::WelcomeController#index as HTML

Rendering /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (1.9ms)

Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)

User Exists (0.5ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (0.3ms)  SELECT "users".* FROM "users"

Started GET “/users/login” for 127.0.0.1 at 2019-01-20 11:29:39 +0530

ActionController::RoutingError (No route matches [GET] “/users/login”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-20 11:29:56 +0530 Processing by Devise::SessionsController#new as HTML

User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 12ms (ActiveRecord: 7.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:29:56 +0530 Processing by Rails::WelcomeController#index as HTML

Rendering /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (3.7ms)

Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-20 11:30:03 +0530 Processing by Devise::SessionsController#new as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:30:03 +0530 Processing by Rails::WelcomeController#index as HTML

Rendering /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (1.8ms)

Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms)

Started GET “/sign_up” for 127.0.0.1 at 2019-01-20 11:30:10 +0530

ActionController::RoutingError (No route matches [GET] “/sign_up”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/sign_up” for 127.0.0.1 at 2019-01-20 11:30:17 +0530 Processing by Devise::RegistrationsController#new as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:30:17 +0530 Processing by Rails::WelcomeController#index as HTML

Rendering /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (2.6ms)

Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_up” for 127.0.0.1 at 2019-01-20 11:30:35 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by Devise::RegistrationsController#new as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 33ms (ActiveRecord: 6.3ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:30:35 +0530 Processing by Rails::WelcomeController#index as HTML

Rendering /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (3.6ms)

Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:30:50 +0530 Processing by Rails::WelcomeController#index as HTML

Rendering /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb
Rendered /Users/vipul/.rvm/gems/ruby-2.6.0/gems/railties-5.2.2/lib/rails/templates/rails/welcome/index.html.erb (17.7ms)

Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_up” for 127.0.0.1 at 2019-01-20 11:30:53 +0530 Processing by Devise::RegistrationsController#new as HTML

Rendering devise/registrations/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.0ms)
Rendered devise/registrations/new.html.erb within layouts/application (10.5ms)

Completed 200 OK in 205ms (Views: 202.2ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_up” for 127.0.0.1 at 2019-01-20 11:41:01 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by Devise::RegistrationsController#new as HTML

Rendering devise/registrations/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.5ms)
Rendered devise/registrations/new.html.erb within layouts/application (9.2ms)

Completed 200 OK in 832ms (Views: 813.5ms | ActiveRecord: 4.7ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-20 11:41:07 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.8ms)
Rendered devise/sessions/new.html.erb within layouts/application (12.2ms)

Completed 200 OK in 68ms (Views: 65.4ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_up” for 127.0.0.1 at 2019-01-20 11:41:09 +0530 Processing by Devise::RegistrationsController#new as HTML

Rendering devise/registrations/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.4ms)
Rendered devise/registrations/new.html.erb within layouts/application (7.6ms)

Completed 200 OK in 74ms (Views: 73.2ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-20 11:41:09 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (3.4ms)
Rendered devise/sessions/new.html.erb within layouts/application (22.6ms)

Completed 200 OK in 128ms (Views: 126.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:43:59 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 651ms (Views: 646.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:44:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.5ms)

Completed 200 OK in 86ms (Views: 85.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:46:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:2: syntax error, unexpected ')', expecting then or ';' or 'n' …r.append=( if user_signed_in? );@output_buffer.safe_append=' … ^ /Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:4: syntax error, unexpected end, expecting ')' '.freeze; end

^~~

/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:8: syntax error, unexpected ensure, expecting ')'

ensure
^~~~~~

/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:10: syntax error, unexpected end, expecting ')'

end
^~~):

app/views/home/index.html.erb:2: syntax error, unexpected ')', expecting then or ';' or 'n' app/views/home/index.html.erb:4: syntax error, unexpected end, expecting ')' app/views/home/index.html.erb:8: syntax error, unexpected ensure, expecting ')' app/views/home/index.html.erb:10: syntax error, unexpected end, expecting ')' Started GET “/” for 127.0.0.1 at 2019-01-20 11:46:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:2: syntax error, unexpected ')', expecting then or ';' or 'n' …ffer.append=( if current_user );@output_buffer.safe_append=' … ^ /Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:4: syntax error, unexpected end, expecting ')' '.freeze; end

^~~

/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:8: syntax error, unexpected ensure, expecting ')'

ensure
^~~~~~

/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:10: syntax error, unexpected end, expecting ')'

end
^~~):

app/views/home/index.html.erb:2: syntax error, unexpected ')', expecting then or ';' or 'n' app/views/home/index.html.erb:4: syntax error, unexpected end, expecting ')' app/views/home/index.html.erb:8: syntax error, unexpected ensure, expecting ')' app/views/home/index.html.erb:10: syntax error, unexpected end, expecting ')' Started GET “/” for 127.0.0.1 at 2019-01-20 11:48:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.4ms)

Completed 200 OK in 51ms (Views: 50.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:49:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 42ms (Views: 40.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:49:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 45ms (Views: 43.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:49:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 43ms (Views: 41.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:50:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:4: else without rescue is useless '.freeze; else

^~~~

/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:12: syntax error, unexpected ensure, expecting end-of-input

ensure
^~~~~~):

app/views/home/index.html.erb:4: else without rescue is useless app/views/home/index.html.erb:12: syntax error, unexpected ensure, expecting end-of-input Started GET “/” for 127.0.0.1 at 2019-01-20 11:50:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 40ms (Views: 39.3ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:52:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:7: syntax error, unexpected tIDENTIFIER, expecting do or '{' or '(' …“,new_user_session> to continue … ^~~~~~~~ /Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:13: syntax error, unexpected ensure, expecting end

ensure
^~~~~~

/Users/vipul/Intern/Url_Shortner/app/views/home/index.html.erb:15: syntax error, unexpected end-of-input, expecting end):

app/views/home/index.html.erb:7: syntax error, unexpected tIDENTIFIER, expecting do or '{' or '(' app/views/home/index.html.erb:13: syntax error, unexpected ensure, expecting end app/views/home/index.html.erb:15: syntax error, unexpected end-of-input, expecting end Started GET “/” for 127.0.0.1 at 2019-01-20 11:52:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 43ms (Views: 41.7ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-20 11:52:50 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.9ms)
Rendered devise/sessions/new.html.erb within layouts/application (7.7ms)

Completed 200 OK in 58ms (Views: 43.6ms | ActiveRecord: 5.2ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-20 11:52:54 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XrrM+bvB7VjQDdOdAyenGTs6Caug8NWHjwaCARscf/yZTh8Yqc2SMMl/X+EY4dIuPLhpqcdOCstmkrL/N2S4jg==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 144ms (ActiveRecord: 1.4ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:52:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 39ms (Views: 37.8ms | ActiveRecord: 0.3ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:57:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.7ms)

Completed 200 OK in 64ms (Views: 60.0ms | ActiveRecord: 3.2ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:57:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.6ms)

Completed 200 OK in 45ms (Views: 43.3ms | ActiveRecord: 0.6ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 11:58:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 43ms (Views: 41.4ms | ActiveRecord: 0.6ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-20 11:58:14 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.2ms)

Completed 200 OK in 45ms (Views: 43.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 11:58:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (0.4ms)

Completed 200 OK in 45ms (Views: 42.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 12:06:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (14.2ms)

Completed 200 OK in 53ms (Views: 47.1ms | ActiveRecord: 5.3ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:06:27 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (0.4ms)

Completed 200 OK in 53ms (Views: 51.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:06:50 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 38ms (Views: 36.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 12:06:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (5.2ms)

Completed 200 OK in 46ms (Views: 43.4ms | ActiveRecord: 1.3ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:06:55 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 67ms (Views: 66.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:06:58 +0530

ActionController::RoutingError (No route matches [POST] “/urls/ShowShort”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:10:55 +0530

ActionController::RoutingError (No route matches [POST] “/urls/ShowShort”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:10:58 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (149.5ms)

Completed 500 Internal Server Error in 152ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `redirect_to' for #<#<Class:0x00007fc7f1e628d0>:0x00007fc7f1e60fd0>):

3:     Domain : <%= f.text_field :domain %><br><br>
4:     <%= f.submit "Generate Short Url" %></h5>
5:   <% end %>
6:   <%=redirect_to urls_show_short_path%>

app/views/urls/long_to_short.html.erb:6:in `_app_views_urls_long_to_short_html_erb__4542911562185531376_70248366807360' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:11:15 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (208.2ms)

Completed 500 Internal Server Error in 212ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `redirect_to' for #<#<Class:0x00007fc7f1e628d0>:0x00007fc7f4796828>):

3:     Domain : <%= f.text_field :domain %><br><br>
4:     <%= f.submit "Generate Short Url" %></h5>
5:   <% end %>
6:   <% redirect_to urls_show_short_path%>

app/views/urls/long_to_short.html.erb:6:in `_app_views_urls_long_to_short_html_erb__4542911562185531376_70248388410920' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:12:11 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (Missing partial urls/_show_short.html.erb with {:locale=>, :formats=>, :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

3:     Domain : <%= f.text_field :domain %><br><br>
4:     <%= f.submit "Generate Short Url" %></h5>
5:   <% end %>
6:   <% render 'urls/show_short.html.erb'%>

app/views/urls/long_to_short.html.erb:6:in `_app_views_urls_long_to_short_html_erb__4542911562185531376_70248363380040' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:12:27 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 58ms (Views: 56.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:12:42 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 42ms (Views: 40.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:20:56 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (0.9ms)

Completed 200 OK in 35ms (Views: 34.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:21:05 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (0.9ms)

Completed 200 OK in 37ms (Views: 35.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:21:07 +0530

ActionController::RoutingError (No route matches [POST] “/urls/ShowShort”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:21:42 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 38ms (Views: 37.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:21:47 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8NF+KQ13QSk5J7mnhSmtgMjrChBgWIBSWkcvZMqmCp91kBlGJAjIq5iilLvfyKCt6jw0k8yYyGl7X8+3SHzj/Q==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant UrlsController::HTTParty):

app/controllers/urls_controller.rb:64:in `show_shorten' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:23:12 +0530

ActionController::RoutingError (uninitialized constant UrlsController::HTTParty):

app/controllers/urls_controller.rb:2:in `<class:UrlsController>' app/controllers/urls_controller.rb:1:in `<main>' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:24:06 +0530

LoadError (cannot load such file – httparty):

app/controllers/urls_controller.rb:2:in `<class:UrlsController>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:25:19 +0530

ActionController::RoutingError (uninitialized constant UrlsController::HTTParty):

app/controllers/urls_controller.rb:2:in `<class:UrlsController>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:26:25 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 38ms (Views: 36.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:26:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"c0Pmx9aVIVNGpDdbg3cY3Jouh4V5PVXn5RxSFMurCnT2AoGo/+qo0echGkfZlhXxuPm5BtX9HdzEBLLHSXHjFg==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant UrlsController::HTTParty):

app/controllers/urls_controller.rb:65:in `show_shorten' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:26:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"c0Pmx9aVIVNGpDdbg3cY3Jouh4V5PVXn5RxSFMurCnT2AoGo/+qo0echGkfZlhXxuPm5BtX9HdzEBLLHSXHjFg==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant UrlsController::HTTParty):

app/controllers/urls_controller.rb:65:in `show_shorten' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:27:14 +0530

LoadError (cannot load such file – httparty):

app/controllers/urls_controller.rb:2:in `<class:UrlsController>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:27:52 +0530

LoadError (cannot load such file – httparty):

app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:28:15 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 40ms (Views: 38.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:28:17 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oYpmxxu6zyf1EnjnKhGs8TPmBbtsOw1cgMXzXyiquXEkywGoMsVGpVSXVftw8KHcETE7OMD7RWeh3ROMqnBQEw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant UrlsController::HTTParty):

app/controllers/urls_controller.rb:66:in `show_shorten' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:28:53 +0530

LoadError (cannot load such file – httparty):

app/controllers/urls_controller.rb:1:in `<main>' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:30:00 +0530

LoadError (cannot load such file – httparty):

app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:30:14 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.9ms)

Completed 200 OK in 335ms (Views: 331.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:30:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jp8vSZ4/7C8fq7Qrp6UhcAQ3nlMBqVlC7StH9z2OD0mj3kgmt0Blrb4umTf9RCxdJuCg0K1pEXnMM6ckv1TmKw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

HTTParty::UnsupportedURIScheme ('localhost:3000/shorten-url?domain=proptiger&long_url=www.proptiger.com/urls/vipul/vips' Must be HTTP, HTTPS or Generic):

app/controllers/urls_controller.rb:68:in `show_shorten' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:30:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jp8vSZ4/7C8fq7Qrp6UhcAQ3nlMBqVlC7StH9z2OD0mj3kgmt0Blrb4umTf9RCxdJuCg0K1pEXnMM6ckv1TmKw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

HTTParty::UnsupportedURIScheme ('localhost:3000/shorten-url?domain=proptiger&long_url=www.proptiger.com/urls/vipul/vips' Must be HTTP, HTTPS or Generic):

app/controllers/urls_controller.rb:68:in `show_shorten' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:30:51 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (0.9ms)

Completed 200 OK in 41ms (Views: 40.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:30:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nW2pIvzT2QJINmTKe9EjLPraMsoeLHwp0MlZXMwzuJEYLM5N1axQgOmzSdYhMC4B2A0MSbLsNBLx0bmPTulR8w==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms)

OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: wrong version number):

app/controllers/urls_controller.rb:68:in `show_shorten' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:31:58 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 39ms (Views: 38.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:31:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ig5qB/RNoHOZlujKn+jroCH4lrXgXQ8Z4acL6ClYv8APTw1o3TIp8TgTxdbFCeaNAy+oNkydRyLAv+s7q4JWog==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 174ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `data' for #<UrlsController:0x00007fd05e61c930>):

app/controllers/urls_controller.rb:69:in `show_shorten' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:33:50 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ig5qB/RNoHOZlujKn+jroCH4lrXgXQ8Z4acL6ClYv8APTw1o3TIp8TgTxdbFCeaNAy+oNkydRyLAv+s7q4JWog==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms)

OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: wrong version number):

app/controllers/urls_controller.rb:68:in `show_shorten' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:35:52 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 56ms (Views: 54.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:35:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ykOs2vHzBNvoilr7EEW7UEaMicLqGZumnc49MF2M7u9PAsu12IyNWUkPd+dKpLZ9ZFu3QUbZ05281t3j31YHjQ==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)

OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 state=error: wrong version number):

app/controllers/urls_controller.rb:68:in `show_shorten' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:36:39 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (0.9ms)

Completed 200 OK in 58ms (Views: 57.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:36:41 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"N74kFN/Vtf0VhU7QqoV5eGunfuaJ2dKCeBKLw3xBgGGy/0N79qo8f7QAY8zwZHRVSXBAZSUZmrlZCmsQ/ptpAw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-20 12:36:41 +0530 Completed 401 Unauthorized in 56501ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:37:42 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.3ms)

Completed 200 OK in 336ms (Views: 330.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:37:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jDVbFt2gOcqn4ehpGxVXACU5cM/jrmOejPn7XzBwzIMJdDx59N+wSAZkxXVB9FotB+5OTE9uK6Wt4RuMsqol4Q==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-20 12:37:45 +0530 Completed 401 Unauthorized in 40998ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:39:23 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:71: syntax error, unexpected ')', expecting end … }.to_json) ) … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:81: syntax error, unexpected do (for lambda), expecting do (for condition) or ';' or 'n'

for i in 0..10 do 
               ^~

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:89: Invalid return in class/module body

return short_url
^~~~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:92: syntax error, unexpected end, expecting end-of-input):

app/controllers/urls_controller.rb:71: syntax error, unexpected ')', expecting end app/controllers/urls_controller.rb:81: syntax error, unexpected do (for lambda), expecting do (for condition) or ';' or 'n' app/controllers/urls_controller.rb:89: Invalid return in class/module body app/controllers/urls_controller.rb:92: syntax error, unexpected end, expecting end-of-input Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:39:48 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.0ms)

Completed 200 OK in 242ms (Views: 241.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:39:50 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCZqRf75JiGcVd/WrE0m1Kd+gL1iK0z3uTHojB+x/XwRZw0q14avoz3Q8sr2rCv5ham+Ps7rBMyYKQhfnWsUHg==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-20 12:39:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"", "long_url"=>""}

Completed 500 Internal Server Error in 80907ms (ActiveRecord: 0.0ms)

Net::ReadTimeout (Net::ReadTimeout with #<TCPSocket:(closed)>): Completed 401 Unauthorized in 80896ms (ActiveRecord: 0.0ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger.com/urls/vipul” for 127.0.0.1 at 2019-01-20 12:41:24 +0530

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

AbstractController::ActionNotFound (The action 'shorten_url' could not be found for UrlsController):

actionpack (5.2.2) lib/abstract_controller/base.rb:129:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:41:46 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.6ms)

Completed 200 OK in 236ms (Views: 229.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 12:46:14 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.5ms)

Completed 200 OK in 315ms (Views: 309.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:46:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DjIK0Y46mNpfnpmmKX7zbdqjoXTmU7HFPBOqzzNvsltea9Eb0dj4cj7V3rCRPbglb2wBn9ZBvw16K54vhdXqw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 182ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `user' for #<UrlsController:0x00007fe8d9f71f10> Did you mean? super):

app/controllers/urls_controller.rb:77:in `show_shorten' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:46:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DjIK0Y46mNpfnpmmKX7zbdqjoXTmU7HFPBOqzzNvsltea9Eb0dj4cj7V3rCRPbglb2wBn9ZBvw16K54vhdXqw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 250ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `user' for #<UrlsController:0x00007fe8dae5a478> Did you mean? super):

app/controllers/urls_controller.rb:77:in `show_shorten' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 12:46:41 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DjIK0Y46mNpfnpmmKX7zbdqjoXTmU7HFPBOqzzNvsltea9Eb0dj4cj7V3rCRPbglb2wBn9ZBvw16K54vhdXqw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Started POST “/shorten-url” for 127.0.0.1 at 2019-01-20 12:46:41 +0530 Completed 401 Unauthorized in 18553ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 12:49:48 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.1ms)

Completed 200 OK in 351ms (Views: 346.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:49:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QHHyyCUj/IVtMe3PE5P263MoQxT0oPB7H4va5XBLuUnFMJWnDFx1B8y0wNNJcvvGUf99l1hguEA+kzo28pFQKw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Started POST “/shorten-url” for ::1 at 2019-01-20 12:49:53 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#shorten_url as /

 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.5ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 4]]
↳ app/controllers/urls_controller.rb:27
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:27

Completed 200 OK in 31ms (Views: 0.5ms | ActiveRecord: 17.2ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 140ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 12:50:11 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 65ms (Views: 64.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:50:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QJodrW5Ecv9u+txH2GeiI4rsjTx7sJnXq7PL5XO2n4zF23rCRzv7fc9/8VuChq8OqDuzv9dw0eyKqys28Wx27g==", "long_url"=>"vipul kumar", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url” for ::1 at 2019-01-20 12:50:27 +0530 Processing by UrlsController#shorten_url as /

 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (5.6ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (1.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 5]]
↳ app/controllers/urls_controller.rb:27
 (5.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:27

Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 12.6ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 47ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:51:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QJodrW5Ecv9u+txH2GeiI4rsjTx7sJnXq7PL5XO2n4zF23rCRzv7fc9/8VuChq8OqDuzv9dw0eyKqys28Wx27g==", "long_url"=>"vipul kumar", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url” for ::1 at 2019-01-20 12:51:53 +0530 Processing by UrlsController#shorten_url as /

 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 6]]
↳ app/controllers/urls_controller.rb:28
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:28

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 7.6ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 77ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:52:37 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QJodrW5Ecv9u+txH2GeiI4rsjTx7sJnXq7PL5XO2n4zF23rCRzv7fc9/8VuChq8OqDuzv9dw0eyKqys28Wx27g==", "long_url"=>"vipul kumar", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url” for ::1 at 2019-01-20 12:52:37 +0530 Processing by UrlsController#shorten_url as /

 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 7]]
↳ app/controllers/urls_controller.rb:28
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:28

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.6ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 79ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 12:53:32 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 37ms (Views: 35.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:53:33 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bvbRhFpBc/wRVWGsxXcJ+u6BMSoeupedrrjGkRJyWEbrt7brcz76frDQTLCflgTXzFYPqbJ636aPoCZCkKixJA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:80:in `[]' app/controllers/urls_controller.rb:80:in `show_shorten' Started GET “/urls/long_to_short” for ::1 at 2019-01-20 12:54:52 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 36ms (Views: 35.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:54:56 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6S1L4K5e1r9YNYV0aMhio1aIqseDv+J/h3kI3jUJ0zZsbCyPhyFfPfmwqGgyKW+OdF+URC9/qkSmYegNt9M6VA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 170ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `long_url' for #<UrlsController:0x00007fb6adadb518> Did you mean? long_to_short):

app/controllers/urls_controller.rb:72:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:54:57 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6S1L4K5e1r9YNYV0aMhio1aIqseDv+J/h3kI3jUJ0zZsbCyPhyFfPfmwqGgyKW+OdF+URC9/qkSmYegNt9M6VA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 235ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `long_url' for #<UrlsController:0x00007fb6aae44b80> Did you mean? long_to_short):

app/controllers/urls_controller.rb:72:in `show_shorten' Started GET “/urls/long_to_short” for ::1 at 2019-01-20 12:55:23 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 90ms (Views: 89.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:55:24 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zSBLDcZ1bY+B8OJWUgEIigAsCPcpcFF2DdnjX59f0g5IYSxi7wrkDSB1z0oI4AWnIvs2dIWwGU0swQOMHYU7bA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=long_url=” for ::1 at 2019-01-20 12:55:24 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"long_url="}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 8]]
↳ app/controllers/urls_controller.rb:28
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:28

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.6ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 93ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 12:56:15 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 36ms (Views: 34.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:56:17 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=long_url=” for ::1 at 2019-01-20 12:56:17 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"long_url="}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 9]]
↳ app/controllers/urls_controller.rb:28
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:28

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 6.4ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 77ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:56:56 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipul kumar", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipslong_url=vipul%20kumar” for ::1 at 2019-01-20 12:56:56 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipslong_url=vipul kumar"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 10]]
↳ app/controllers/urls_controller.rb:28
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:28

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.0ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 75ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:57:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipul kumar", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipslong_url=vipul%20kumar” for ::1 at 2019-01-20 12:57:45 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipslong_url=vipul kumar"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 11]]
↳ app/controllers/urls_controller.rb:28
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:28

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 6.2ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 79ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:58:33 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipul kumar", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipslong_url=vipul%20kumar” for ::1 at 2019-01-20 12:58:33 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipslong_url=vipul kumar"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 12]]
↳ app/controllers/urls_controller.rb:28
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:28

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 5.2ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 94ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:58:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipul kumar", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipslong_url=vipul%20kumar” for ::1 at 2019-01-20 12:58:49 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipslong_url=vipul kumar"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 13]]
↳ app/controllers/urls_controller.rb:28
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:28

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.7ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 35ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:59:12 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipul kumar", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vips&long_url=vipul%20kumar” for ::1 at 2019-01-20 12:59:12 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vips", "long_url"=>"vipul kumar"}
 (0.8ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipul kumar"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c09ba"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/c09ba"], ["domain", "vips"], ["id", 14]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 7.3ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 73ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 12:59:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipul kumarree", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vips&long_url=vipul%20kumarree” for ::1 at 2019-01-20 12:59:58 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vips", "long_url"=>"vipul kumarree"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipul kumarree"]]
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "dd069"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:86
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/dd069"], ["domain", "vips"], ["id", 15]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.9ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 80ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:00:36 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipulkumarree", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vips&long_url=vipulkumarree” for ::1 at 2019-01-20 13:00:36 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vips", "long_url"=>"vipulkumarree"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipulkumarree"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bf1b1"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:86
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/bf1b1"], ["domain", "vips"], ["id", 16]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.5ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 74ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:02:49 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 60ms (Views: 59.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:02:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7OGWCBqqIHZkguNxkeSBh7wnBhZa446GIRTLi8zERQlpoPFnM9Wp9MUHzm3LBYyqnvA4lfYjxr0ADCtYTh6saw==", "long_url"=>"vipumar", "domain"=>"efgb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=efgb&long_url=vipumar” for ::1 at 2019-01-20 13:02:54 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"efgb", "long_url"=>"vipumar"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumar"]]
↳ app/controllers/urls_controller.rb:14
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4f211"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:86
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4f211"], ["domain", "efgb"], ["id", 17]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.5ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 90ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:03:36 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7OGWCBqqIHZkguNxkeSBh7wnBhZa446GIRTLi8zERQlpoPFnM9Wp9MUHzm3LBYyqnvA4lfYjxr0ADCtYTh6saw==", "long_url"=>"vipumarge", "domain"=>"efgb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=efgb&long_url=vipumarge” for ::1 at 2019-01-20 13:03:36 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"efgb", "long_url"=>"vipumarge"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarge"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3e7c3"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:86
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/3e7c3"], ["domain", "efgb"], ["id", 18]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.0ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 74ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:04:21 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7OGWCBqqIHZkguNxkeSBh7wnBhZa446GIRTLi8zERQlpoPFnM9Wp9MUHzm3LBYyqnvA4lfYjxr0ADCtYTh6saw==", "long_url"=>"vipumargehghvmb", "domain"=>"efgb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=efgb&long_url=vipumargehghvmb” for ::1 at 2019-01-20 13:04:21 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"efgb", "long_url"=>"vipumargehghvmb"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumargehghvmb"]]
↳ app/controllers/urls_controller.rb:14
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "03e69"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:86
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/03e69"], ["domain", "efgb"], ["id", 19]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 5.6ms)

Completed 200 OK in 50ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:04:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7OGWCBqqIHZkguNxkeSBh7wnBhZa446GIRTLi8zERQlpoPFnM9Wp9MUHzm3LBYyqnvA4lfYjxr0ADCtYTh6saw==", "long_url"=>"vipumargehgfsdhvmb", "domain"=>"efgbfds", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=efgbfds&long_url=vipumargehgfsdhvmb” for ::1 at 2019-01-20 13:04:59 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"efgbfds", "long_url"=>"vipumargehgfsdhvmb"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumargehgfsdhvmb"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "76851"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:86
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/76851"], ["domain", "efgbfds"], ["id", 20]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 27ms (Views: 0.2ms | ActiveRecord: 6.8ms)

Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:79:in `[]' app/controllers/urls_controller.rb:79:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:05:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipulkumarreewefrg", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vips&long_url=vipulkumarreewefrg” for ::1 at 2019-01-20 13:05:52 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vips", "long_url"=>"vipulkumarreewefrg"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipulkumarreewefrg"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "94f27"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:86
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/94f27"], ["domain", "vips"], ["id", 21]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 6.4ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 79ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:06:33 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipulkumarreewefrfefrg", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vips&long_url=vipulkumarreewefrfefrg” for ::1 at 2019-01-20 13:06:33 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vips", "long_url"=>"vipulkumarreewefrfefrg"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipulkumarreewefrfefrg"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ece38"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/ece38"], ["domain", "vips"], ["id", 22]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 7.2ms)

Completed 200 OK in 51ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:06:34 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipulkumarreewefrfefrg", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vips&long_url=vipulkumarreewefrfefrg” for ::1 at 2019-01-20 13:06:34 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vips", "long_url"=>"vipulkumarreewefrfefrg"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipulkumarreewefrfefrg"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ece38"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/ece38"], ["domain", "vips"], ["id", 23]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)

Completed 200 OK in 12ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:07:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipulkumnmarreewefrfefrg", "domain"=>"vips", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vips&long_url=vipulkumnmarreewefrfefrg” for ::1 at 2019-01-20 13:07:01 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vips", "long_url"=>"vipulkumnmarreewefrfefrg"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipulkumnmarreewefrfefrg"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9f7f9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/9f7f9"], ["domain", "vips"], ["id", 24]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 5.0ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 71ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:07:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipulkumnmarreewefrfefrg", "domain"=>"vipsjb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipsjb&long_url=vipulkumnmarreewefrfefrg” for ::1 at 2019-01-20 13:07:18 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipsjb", "long_url"=>"vipulkumnmarreewefrfefrg"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipulkumnmarreewefrfefrg"]]
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9f7f9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/9f7f9"], ["domain", "vipsjb"], ["id", 25]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.1ms)

Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:81:in `[]' app/controllers/urls_controller.rb:81:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:07:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"vipulkumnmargdffreewefrfefrg", "domain"=>"vipsjb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipsjb&long_url=vipulkumnmargdffreewefrfefrg” for ::1 at 2019-01-20 13:07:45 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipsjb", "long_url"=>"vipulkumnmargdffreewefrfefrg"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipulkumnmargdffreewefrfefrg"]]
↳ app/controllers/urls_controller.rb:14
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ec543"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/ec543"], ["domain", "vipsjb"], ["id", 26]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.3ms)

Completed 500 Internal Server Error in 45ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:82:in `[]' app/controllers/urls_controller.rb:82:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:08:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"mnmargdffreewefrfefrg", "domain"=>"vipsjb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipsjb&long_url=mnmargdffreewefrfefrg” for ::1 at 2019-01-20 13:08:06 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipsjb", "long_url"=>"mnmargdffreewefrfefrg"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "mnmargdffreewefrfefrg"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ff4f3"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/ff4f3"], ["domain", "vipsjb"], ["id", 27]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 6.3ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 75ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:08:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7OGWCBqqIHZkguNxkeSBh7wnBhZa446GIRTLi8zERQlpoPFnM9Wp9MUHzm3LBYyqnvA4lfYjxr0ADCtYTh6saw==", "long_url"=>"hvmb", "domain"=>"efgbfds", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=efgbfds&long_url=hvmb” for ::1 at 2019-01-20 13:08:52 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"efgbfds", "long_url"=>"hvmb"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "hvmb"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f8d44"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/f8d44"], ["domain", "efgbfds"], ["id", 28]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.3ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 75ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:09:10 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7OGWCBqqIHZkguNxkeSBh7wnBhZa446GIRTLi8zERQlpoPFnM9Wp9MUHzm3LBYyqnvA4lfYjxr0ADCtYTh6saw==", "long_url"=>"hnvmb", "domain"=>"efgbfds", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=efgbfds&long_url=hnvmb” for ::1 at 2019-01-20 13:09:10 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"efgbfds", "long_url"=>"hnvmb"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "hnvmb"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ce40e"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/ce40e"], ["domain", "efgbfds"], ["id", 29]]
↳ app/controllers/urls_controller.rb:21
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 5.6ms)

Completed 500 Internal Server Error in 69ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `to_str' for #<Net::HTTPOK 200 OK readbody=true> Did you mean? to_s):

app/controllers/urls_controller.rb:81:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:09:26 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7OGWCBqqIHZkguNxkeSBh7wnBhZa446GIRTLi8zERQlpoPFnM9Wp9MUHzm3LBYyqnvA4lfYjxr0ADCtYTh6saw==", "long_url"=>"hnvmbb", "domain"=>"efgbfdsj", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=efgbfdsj&long_url=hnvmbb” for ::1 at 2019-01-20 13:09:26 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"efgbfdsj", "long_url"=>"hnvmbb"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "hnvmbb"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "187c9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/187c9"], ["domain", "efgbfdsj"], ["id", 30]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.7ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 74ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:09:57 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 37ms (Views: 36.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:10:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"vipumar", "domain"=>"hjk", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=hjk&long_url=vipumar” for ::1 at 2019-01-20 13:10:04 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"hjk", "long_url"=>"vipumar"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumar"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4f211"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4f211"], ["domain", "hjk"], ["id", 31]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.1ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 75ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:10:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"vipumarjkjbk", "domain"=>"hjk", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=hjk&long_url=vipumarjkjbk” for ::1 at 2019-01-20 13:10:27 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"hjk", "long_url"=>"vipumarjkjbk"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarjkjbk"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a0eea"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/a0eea"], ["domain", "hjk"], ["id", 32]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.7ms | ActiveRecord: 5.2ms)

Completed 500 Internal Server Error in 48ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:80:in `[]' app/controllers/urls_controller.rb:80:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:10:50 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"vipumarjkjbk", "domain"=>"hjk", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=hjk&long_url=vipumarjkjbk” for ::1 at 2019-01-20 13:10:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"hjk", "long_url"=>"vipumarjkjbk"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarjkjbk"]]
↳ app/controllers/urls_controller.rb:14
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a0eea"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/a0eea"], ["domain", "hjk"], ["id", 33]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.2ms)

Completed 500 Internal Server Error in 66ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `to_a' for #<String:0x00007fb6aaede000> Did you mean? to_c

to_i
to_s
to_d
to_r
to_f):

app/controllers/urls_controller.rb:80:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:11:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"vipumarjkjhjjbk", "domain"=>"hjk", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=hjk&long_url=vipumarjkjhjjbk” for ::1 at 2019-01-20 13:11:22 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"hjk", "long_url"=>"vipumarjkjhjjbk"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarjkjhjjbk"]]
↳ app/controllers/urls_controller.rb:14
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a67f0"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/a67f0"], ["domain", "hjk"], ["id", 34]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 6.8ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 73ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:12:05 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"https://api.rubyonrails.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html", "domain"=>"ruby", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=ruby&long_url=api.rubyonrails.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html” for ::1 at 2019-01-20 13:12:05 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"ruby", "long_url"=>"https://api.rubyonrails.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://api.rubyonrails.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"]]
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "490b6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/490b6"], ["domain", "ruby"], ["id", 35]]
↳ app/controllers/urls_controller.rb:21
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 6.2ms)

Completed 500 Internal Server Error in 56ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:81:in `[]' app/controllers/urls_controller.rb:81:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:12:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"https://api.rubynrails.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html", "domain"=>"ruby", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=ruby&long_url=api.rubynrails.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html” for ::1 at 2019-01-20 13:12:28 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"ruby", "long_url"=>"https://api.rubynrails.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://api.rubynrails.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "5bda0"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/5bda0"], ["domain", "ruby"], ["id", 36]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 25ms (Views: 0.2ms | ActiveRecord: 5.0ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 83ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:13:08 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"https://api.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html", "domain"=>"ruby", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=ruby&long_url=api.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html” for ::1 at 2019-01-20 13:13:09 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"ruby", "long_url"=>"https://api.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://api.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d264a"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/d264a"], ["domain", "ruby"], ["id", 37]]
↳ app/controllers/urls_controller.rb:21
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 5.3ms)

Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `to_a' for #<String:0x00007fb6ade11778> Did you mean? to_c

to_i
to_s
to_d
to_r
to_f):

app/controllers/urls_controller.rb:80:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:13:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"https://api.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html", "domain"=>"ruby", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=ruby&long_url=api.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html” for ::1 at 2019-01-20 13:13:30 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"ruby", "long_url"=>"https://api.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://api.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d264a"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/d264a"], ["domain", "ruby"], ["id", 38]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 8.1ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 79ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:13:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"https://adpi.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html", "domain"=>"ruby", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=ruby&long_url=adpi.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html” for ::1 at 2019-01-20 13:13:49 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"ruby", "long_url"=>"https://adpi.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://adpi.rubynrailsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"]]
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "682ec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/682ec"], ["domain", "ruby"], ["id", 39]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.7ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 74ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:14:44 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"mnmargdffreewefrfefrge", "domain"=>"vipsjb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipsjb&long_url=mnmargdffreewefrfefrge” for ::1 at 2019-01-20 13:14:44 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipsjb", "long_url"=>"mnmargdffreewefrfefrge"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "mnmargdffreewefrfefrge"]]
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b03d3"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:86
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/b03d3"], ["domain", "vipsjb"], ["id", 40]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.7ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 94ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:15:02 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"mnmargdffdreewefrfefrge", "domain"=>"vipsjb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipsjb&long_url=mnmargdffdreewefrfefrge” for ::1 at 2019-01-20 13:15:02 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipsjb", "long_url"=>"mnmargdffdreewefrfefrge"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "mnmargdffdreewefrfefrge"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a25a4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/a25a4"], ["domain", "vipsjb"], ["id", 41]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.5ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 71ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:15:23 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9tsxP9FmDJLYrqqDsZMMo9rIw5C9OcGuhs2XwLtbJ/FzmlZQ+BmFEHkrh5/rcgGO+B/9ExH5iZWn1XcTOYHOkw==", "long_url"=>"mnmargsdfdffdreewefrfefrge", "domain"=>"vipsjb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=vipsjb&long_url=mnmargsdfdffdreewefrfefrge” for ::1 at 2019-01-20 13:15:23 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"vipsjb", "long_url"=>"mnmargsdfdffdreewefrfefrge"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "mnmargsdfdffdreewefrfefrge"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "28a81"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/28a81"], ["domain", "vipsjb"], ["id", 42]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.1ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 75ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:15:34 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 37ms (Views: 36.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:15:35 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uM/RPfPyBphA+OEQ0aOhXQOcqz9xWhmkqwGNHuRmR0o9jrZS2o2PGuF9zAyLQqxwIUuVvN2aUZ+KGW3NZryuKA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=&long_url=” for ::1 at 2019-01-20 13:15:35 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"", "long_url"=>""}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", ""]]
↳ app/controllers/urls_controller.rb:14
 (1.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d41d8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/d41d8"], ["domain", ""], ["id", 43]]
↳ app/controllers/urls_controller.rb:21
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 27ms (Views: 0.2ms | ActiveRecord: 5.8ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 88ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:15:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uM/RPfPyBphA+OEQ0aOhXQOcqz9xWhmkqwGNHuRmR0o9jrZS2o2PGuF9zAyLQqxwIUuVvN2aUZ+KGW3NZryuKA==", "long_url"=>"grt", "domain"=>"rgf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=rgf&long_url=grt” for ::1 at 2019-01-20 13:15:38 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"rgf", "long_url"=>"grt"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "grt"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "537da"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/537da"], ["domain", "rgf"], ["id", 44]]
↳ app/controllers/urls_controller.rb:21
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.2ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 36ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:16:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uM/RPfPyBphA+OEQ0aOhXQOcqz9xWhmkqwGNHuRmR0o9jrZS2o2PGuF9zAyLQqxwIUuVvN2aUZ+KGW3NZryuKA==", "long_url"=>"grtjk", "domain"=>"rgf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=rgf&long_url=grtjk” for ::1 at 2019-01-20 13:16:04 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"rgf", "long_url"=>"grtjk"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "grtjk"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "23f89"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/23f89"], ["domain", "rgf"], ["id", 45]]
↳ app/controllers/urls_controller.rb:21
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 5.6ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 83ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:16:26 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uM/RPfPyBphA+OEQ0aOhXQOcqz9xWhmkqwGNHuRmR0o9jrZS2o2PGuF9zAyLQqxwIUuVvN2aUZ+KGW3NZryuKA==", "long_url"=>"grtjkh", "domain"=>"rgf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=rgf&long_url=grtjkh” for ::1 at 2019-01-20 13:16:26 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"rgf", "long_url"=>"grtjkh"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "grtjkh"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "737c2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/737c2"], ["domain", "rgf"], ["id", 46]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 7.1ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 81ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:16:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uM/RPfPyBphA+OEQ0aOhXQOcqz9xWhmkqwGNHuRmR0o9jrZS2o2PGuF9zAyLQqxwIUuVvN2aUZ+KGW3NZryuKA==", "long_url"=>"grtjkbh", "domain"=>"rgf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=rgf&long_url=grtjkbh” for ::1 at 2019-01-20 13:16:59 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"rgf", "long_url"=>"grtjkbh"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "grtjkbh"]]
↳ app/controllers/urls_controller.rb:14
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "29cb2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/29cb2"], ["domain", "rgf"], ["id", 47]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.0ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 80ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:17:34 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uM/RPfPyBphA+OEQ0aOhXQOcqz9xWhmkqwGNHuRmR0o9jrZS2o2PGuF9zAyLQqxwIUuVvN2aUZ+KGW3NZryuKA==", "long_url"=>"grtjkbhe", "domain"=>"rgf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=rgf&long_url=grtjkbhe” for ::1 at 2019-01-20 13:17:34 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"rgf", "long_url"=>"grtjkbhe"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "grtjkbhe"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "20713"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/20713"], ["domain", "rgf"], ["id", 48]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.1ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 94ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:18:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uM/RPfPyBphA+OEQ0aOhXQOcqz9xWhmkqwGNHuRmR0o9jrZS2o2PGuF9zAyLQqxwIUuVvN2aUZ+KGW3NZryuKA==", "long_url"=>"grtjkbhen", "domain"=>"rgf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=rgf&long_url=grtjkbhen” for ::1 at 2019-01-20 13:18:06 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"rgf", "long_url"=>"grtjkbhen"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "grtjkbhen"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e524e"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e524e"], ["domain", "rgf"], ["id", 49]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 5.9ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 93ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:18:56 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"https://adpi.rubynrailsdsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html", "domain"=>"ruby", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=ruby&long_url=adpi.rubynrailsdsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html” for ::1 at 2019-01-20 13:18:56 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"ruby", "long_url"=>"https://adpi.rubynrailsdsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://adpi.rubynrailsdsr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a970b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/a970b"], ["domain", "ruby"], ["id", 50]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 5.5ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 107ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:19:13 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"https://adpi.rubynrailsdesr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html", "domain"=>"ruby", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=ruby&long_url=adpi.rubynrailsdesr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html” for ::1 at 2019-01-20 13:19:13 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"ruby", "long_url"=>"https://adpi.rubynrailsdesr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://adpi.rubynrailsdesr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"]]
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "50eae"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/50eae"], ["domain", "ruby"], ["id", 51]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.3ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 104ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:19:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aEU9reuen39hXWUZ2LJra7I5hKhU16/2jU0L6vhTrwHtBFrCwuEW/cDYSAWCU2ZGkO66K/gX582sVes5eolGYw==", "long_url"=>"https://adpi.rubrailsdesr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html", "domain"=>"ruby", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=ruby&long_url=adpi.rubrailsdesr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html” for ::1 at 2019-01-20 13:19:45 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"ruby", "long_url"=>"https://adpi.rubrailsdesr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://adpi.rubrailsdesr.org/v5.2.2/classes/ActionView/Helpers/UrlHelper.html"]]
↳ app/controllers/urls_controller.rb:14
 (1.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f051"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f051"], ["domain", "ruby"], ["id", 52]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 4.8ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 80ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:20:39 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 52ms (Views: 51.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:20:42 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"twf9rC1Q18stn1AsX74++BLubWRcZcXqsO3lipR9gtwyRprDBC9eSYwafTAFXzPVMDlT5/CljdGR9QVZFqdrvg==", "long_url"=>"efd", "domain"=>"fdf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=fdf&long_url=efd” for ::1 at 2019-01-20 13:20:42 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"fdf", "long_url"=>"efd"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "efd"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c9ddb"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/c9ddb"], ["domain", "fdf"], ["id", 53]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 5.0ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 79ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:22:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"twf9rC1Q18stn1AsX74++BLubWRcZcXqsO3lipR9gtwyRprDBC9eSYwafTAFXzPVMDlT5/CljdGR9QVZFqdrvg==", "long_url"=>"efdm", "domain"=>"fdf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=fdf&long_url=efdm” for ::1 at 2019-01-20 13:22:53 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"fdf", "long_url"=>"efdm"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "efdm"]]
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "474a9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/474a9"], ["domain", "fdf"], ["id", 54]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.2ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 78ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:23:15 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"twf9rC1Q18stn1AsX74++BLubWRcZcXqsO3lipR9gtwyRprDBC9eSYwafTAFXzPVMDlT5/CljdGR9QVZFqdrvg==", "long_url"=>"efdmq", "domain"=>"fdf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=fdf&long_url=efdmq” for ::1 at 2019-01-20 13:23:15 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"fdf", "long_url"=>"efdmq"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "efdmq"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1646c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/1646c"], ["domain", "fdf"], ["id", 55]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.7ms)

Completed 500 Internal Server Error in 67ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:81:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:23:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"twf9rC1Q18stn1AsX74++BLubWRcZcXqsO3lipR9gtwyRprDBC9eSYwafTAFXzPVMDlT5/CljdGR9QVZFqdrvg==", "long_url"=>"efdmqn", "domain"=>"fdf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=fdf&long_url=efdmqn” for ::1 at 2019-01-20 13:23:31 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"fdf", "long_url"=>"efdmqn"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "efdmqn"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1cf90"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/1cf90"], ["domain", "fdf"], ["id", 56]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.4ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 81ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:23:48 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"twf9rC1Q18stn1AsX74++BLubWRcZcXqsO3lipR9gtwyRprDBC9eSYwafTAFXzPVMDlT5/CljdGR9QVZFqdrvg==", "long_url"=>"efdmqnefs", "domain"=>"fdf", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=fdf&long_url=efdmqnefs” for ::1 at 2019-01-20 13:23:48 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"fdf", "long_url"=>"efdmqnefs"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "efdmqnefs"]]
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "620be"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/620be"], ["domain", "fdf"], ["id", 57]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 5.6ms)

No template found for UrlsController#show_shorten, rendering head :no_content Completed 204 No Content in 71ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 13:24:42 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.7ms)

Completed 200 OK in 291ms (Views: 286.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 13:24:47 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5/VoizugJ6pycga90WaS5EaTwSPOHWQODOsSAKMPi3VitA/kEt+uKNP3K6GLh5/JZET/oGLdLDUt8/LTIdViFw==", "long_url"=>"efde", "domain"=>"s", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=s&long_url=efde” for 127.0.0.1 at 2019-01-20 13:24:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"s", "long_url"=>"efde"}

Completed 401 Unauthorized in 48114ms (ActiveRecord: 0.0ms)

Completed 401 Unauthorized in 48129ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:29:50 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.5ms)

Completed 200 OK in 276ms (Views: 271.2ms | ActiveRecord: 0.0ms)

Started GET “/” for ::1 at 2019-01-20 13:29:59 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.5ms)

Completed 200 OK in 311ms (Views: 306.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:31:10 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.1ms)

Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:31:15 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"03ssLI+aQuUzrcTtle+u+pahsLOP/dAWycMilVNOwdji5wOewhJ8ieqUAFfQNIc6nTf95DeIrWajbSjZmMItAw==", "long_url"=>"vipss", "domain"=>"a", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=a&long_url=vipss” for ::1 at 2019-01-20 13:31:15 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"a", "long_url"=>"vipss"}

Completed 401 Unauthorized in 25985ms (ActiveRecord: 0.0ms)

Completed 401 Unauthorized in 25972ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:32:37 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+8b1wcH7SsqKXTvOyzDZJV5A+Zp4a8i17x6Qv4tTxrzKWtpzjHN0plNk/3SO6/DlVda0zcAetcWFsJrzQN8qZw==", "long_url"=>"qaz", "domain"=>"q", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=q&long_url=qaz” for ::1 at 2019-01-20 13:32:37 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"q", "long_url"=>"qaz"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "qaz"]]
↳ app/controllers/urls_controller.rb:14
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (1.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4eae1"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4eae1"], ["domain", "q"], ["id", 58]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 7.6ms)

Redirected to localhost:4321urls/show_short Completed 200 OK in 152ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:32:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+8b1wcH7SsqKXTvOyzDZJV5A+Zp4a8i17x6Qv4tTxrzKWtpzjHN0plNk/3SO6/DlVda0zcAetcWFsJrzQN8qZw==", "long_url"=>"qaza", "domain"=>"q", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=q&long_url=qaza” for ::1 at 2019-01-20 13:32:59 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"q", "long_url"=>"qaza"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "qaza"]]
↳ app/controllers/urls_controller.rb:14
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "025e5"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/025e5"], ["domain", "q"], ["id", 59]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 5.2ms)

Redirected to localhost:4321urls/show_short.html.erb Completed 200 OK in 100ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:33:13 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+8b1wcH7SsqKXTvOyzDZJV5A+Zp4a8i17x6Qv4tTxrzKWtpzjHN0plNk/3SO6/DlVda0zcAetcWFsJrzQN8qZw==", "long_url"=>"qazaa", "domain"=>"q", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=q&long_url=qazaa” for ::1 at 2019-01-20 13:33:13 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"q", "long_url"=>"qazaa"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "qazaa"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "59fa1"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/59fa1"], ["domain", "q"], ["id", 60]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.2ms)

Redirected to localhost:4321/urls/show_short.html.erb Completed 200 OK in 64ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short.html.erb” for ::1 at 2019-01-20 13:33:13 +0530

ActionController::RoutingError (No route matches [GET] “/urls/show_short.html.erb”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:33:57 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+8b1wcH7SsqKXTvOyzDZJV5A+Zp4a8i17x6Qv4tTxrzKWtpzjHN0plNk/3SO6/DlVda0zcAetcWFsJrzQN8qZw==", "long_url"=>"aqazaa", "domain"=>"q", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=q&long_url=aqazaa” for ::1 at 2019-01-20 13:33:57 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"q", "long_url"=>"aqazaa"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "aqazaa"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "7f493"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/7f493"], ["domain", "q"], ["id", 61]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.1ms)

Redirected to localhost:4321/urls/show_short?Status=Success&short_url=https%3A%2F%2Fwww.vg.sw.n%2F7f493 Completed 200 OK in 51ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short?Status=Success&short_url=https%3A%2F%2Fwww.vg.sw.n%2F7f493” for ::1 at 2019-01-20 13:33:57 +0530 Processing by UrlsController#show_short as HTML

Parameters: {"Status"=>"Success", "short_url"=>"https://www.vg.sw.n/7f493"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.6ms)

Completed 200 OK in 290ms (Views: 288.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:35:23 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"03ssLI+aQuUzrcTtle+u+pahsLOP/dAWycMilVNOwdji5wOewhJ8ieqUAFfQNIc6nTf95DeIrWajbSjZmMItAw==", "long_url"=>"vipssa", "domain"=>"a", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=a&long_url=vipssa” for ::1 at 2019-01-20 13:35:23 +0530 Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:35:58 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 74ms (Views: 72.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:36:02 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NfapRdj65+uhZtvGHmRjbgVI1fyJz50bzROb0uyeooYEaob3lXLZh3hfH3xbv0quDt6YqzG64GunvZGeJxJOXQ==", "long_url"=>"dfs", "domain"=>"a", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 61287ms (ActiveRecord: 0.0ms)

Net::ReadTimeout (Net::ReadTimeout with #<TCPSocket:(closed)>):

app/controllers/urls_controller.rb:74:in `show_short' Completed 401 Unauthorized in 22327ms (ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:37:15 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NfapRdj65+uhZtvGHmRjbgVI1fyJz50bzROb0uyeooYEaob3lXLZh3hfH3xbv0quDt6YqzG64GunvZGeJxJOXQ==", "long_url"=>"dfsdc", "domain"=>"a", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=a&long_url=dfsdc” for 127.0.0.1 at 2019-01-20 13:37:15 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"a", "long_url"=>"dfsdc"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "dfsdc"]]
↳ app/controllers/urls_controller.rb:14
 (1.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f7b98"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/f7b98"], ["domain", "a"], ["id", 62]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 33ms (Views: 0.3ms | ActiveRecord: 7.1ms)

Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.6ms)

Completed 200 OK in 450ms (Views: 256.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:38:09 +0530

ActionController::RoutingError (No route matches [POST] “/urls/ShowShort”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:40:01 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NfapRdj65+uhZtvGHmRjbgVI1fyJz50bzROb0uyeooYEaob3lXLZh3hfH3xbv0quDt6YqzG64GunvZGeJxJOXQ==", "long_url"=>"dfsdcad", "domain"=>"a", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=a&long_url=dfsdcad” for 127.0.0.1 at 2019-01-20 13:40:01 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"a", "long_url"=>"dfsdcad"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "dfsdcad"]]
↳ app/controllers/urls_controller.rb:14
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0acbc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/0acbc"], ["domain", "a"], ["id", 63]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.3ms)

Redirected to localhost:4321/urls/show_short Completed 200 OK in 59ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short” for ::1 at 2019-01-20 13:40:01 +0530 Processing by UrlsController#show_short as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:67:in `+' app/controllers/urls_controller.rb:67:in `show_short' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 13:40:36 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"03ssLI+aQuUzrcTtle+u+pahsLOP/dAWycMilVNOwdji5wOewhJ8ieqUAFfQNIc6nTf95DeIrWajbSjZmMItAw==", "long_url"=>"hkjhn", "domain"=>"a", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=a&long_url=hkjhn” for 127.0.0.1 at 2019-01-20 13:40:36 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"a", "long_url"=>"hkjhn"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.7ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "hkjhn"]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (1.1ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f0781"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/f0781"], ["domain", "a"], ["id", 64]]
↳ app/controllers/urls_controller.rb:21
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 5.4ms)

Redirected to localhost:3000/urls/show_short Completed 200 OK in 27ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short” for 127.0.0.1 at 2019-01-20 13:40:36 +0530 Processing by UrlsController#show_short as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:67:in `+' app/controllers/urls_controller.rb:67:in `show_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 13:41:34 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 254ms (Views: 252.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:41:42 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.8ms)

Completed 200 OK in 84ms (Views: 82.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:41:45 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5iRLOA+YTTIh/d1IGcylOBDvNbO3VsF8V0i9woUHQnTXuGSKQhBzXvjEGfJcF4z4G3l45A8jvAw95reOTouurw==", "long_url"=>"fvdgv", "domain"=>"dsv", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=dsv&long_url=fvdgv” for 127.0.0.1 at 2019-01-20 13:41:45 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"dsv", "long_url"=>"fvdgv"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "fvdgv"]]
↳ app/controllers/urls_controller.rb:14
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c9698"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/c9698"], ["domain", "dsv"], ["id", 65]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 10.5ms)

Redirected to localhost:4321/urls/show_short Completed 200 OK in 25ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short” for ::1 at 2019-01-20 13:41:45 +0530 Processing by UrlsController#show_short as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:68:in `+' app/controllers/urls_controller.rb:68:in `show_short' Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:43:08 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:43:12 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zz7i31quwC/S7wH4qBpdN2PQgTI1v6YSD9cB3AHhsAz+os1tFyb+QwvWxULtwXT3aEbMZY3K22JleQuQym1c1w==", "long_url"=>"q", "domain"=>"q", "commit"=>"Generate Short Url"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.3ms)

Completed 200 OK in 59ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:43:23 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zz7i31quwC/S7wH4qBpdN2PQgTI1v6YSD9cB3AHhsAz+os1tFyb+QwvWxULtwXT3aEbMZY3K22JleQuQym1c1w==", "long_url"=>"q", "domain"=>"q", "commit"=>"Generate Short Url"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.3ms)

Completed 200 OK in 44ms (Views: 38.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:43:24 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zz7i31quwC/S7wH4qBpdN2PQgTI1v6YSD9cB3AHhsAz+os1tFyb+QwvWxULtwXT3aEbMZY3K22JleQuQym1c1w==", "long_url"=>"q", "domain"=>"q", "commit"=>"Generate Short Url"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.4ms)

Completed 200 OK in 59ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:43:24 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zz7i31quwC/S7wH4qBpdN2PQgTI1v6YSD9cB3AHhsAz+os1tFyb+QwvWxULtwXT3aEbMZY3K22JleQuQym1c1w==", "long_url"=>"q", "domain"=>"q", "commit"=>"Generate Short Url"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.3ms)

Completed 200 OK in 46ms (Views: 43.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:43:53 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zz7i31quwC/S7wH4qBpdN2PQgTI1v6YSD9cB3AHhsAz+os1tFyb+QwvWxULtwXT3aEbMZY3K22JleQuQym1c1w==", "long_url"=>"qds", "domain"=>"qd", "commit"=>"Generate Short Url"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.3ms)

Completed 200 OK in 42ms (Views: 39.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:44:55 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zz7i31quwC/S7wH4qBpdN2PQgTI1v6YSD9cB3AHhsAz+os1tFyb+QwvWxULtwXT3aEbMZY3K22JleQuQym1c1w==", "long_url"=>"qdsd", "domain"=>"qd", "commit"=>"Generate Short Url"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.5ms)

Completed 200 OK in 289ms (Views: 282.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:45:08 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zz7i31quwC/S7wH4qBpdN2PQgTI1v6YSD9cB3AHhsAz+os1tFyb+QwvWxULtwXT3aEbMZY3K22JleQuQym1c1w==", "long_url"=>"fddvfdv", "domain"=>"qd", "commit"=>"Generate Short Url"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.3ms)

Completed 200 OK in 42ms (Views: 38.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:45:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zz7i31quwC/S7wH4qBpdN2PQgTI1v6YSD9cB3AHhsAz+os1tFyb+QwvWxULtwXT3aEbMZY3K22JleQuQym1c1w==", "long_url"=>"fddvfdv", "domain"=>"qd", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=qd&long_url=fddvfdv” for 127.0.0.1 at 2019-01-20 13:45:30 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"qd", "long_url"=>"fddvfdv"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "fddvfdv"]]
↳ app/controllers/urls_controller.rb:14
 (2.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "259a0"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:21
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/259a0"], ["domain", "qd"], ["id", 66]]
↳ app/controllers/urls_controller.rb:21
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:21

Completed 200 OK in 29ms (Views: 0.2ms | ActiveRecord: 8.0ms)

Redirected to localhost:4321/urls/show_short Completed 200 OK in 205ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short” for ::1 at 2019-01-20 13:45:31 +0530 Processing by UrlsController#show_short as HTML

Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.5ms)

Completed 200 OK in 54ms (Views: 52.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:49:42 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 54ms (Views: 52.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:49:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uGOAl4BE3/WvV4y09WIqFczD7l80MaiKkSFUIcI/mICJ/68lzczhmXZuSA6wuQPVx1WjCIxE1fr7j15tCbN0Ww==", "long_url"=>"wqwa", "domain"=>"q", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=q&long_url=wqwa” for 127.0.0.1 at 2019-01-20 13:49:46 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"q", "long_url"=>"wqwa"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "wqwa"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2c387"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/2c387"], ["domain", "q"], ["id", 67]]
↳ app/controllers/urls_controller.rb:20
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 5.8ms)

Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:83:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:50:30 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uGOAl4BE3/WvV4y09WIqFczD7l80MaiKkSFUIcI/mICJ/68lzczhmXZuSA6wuQPVx1WjCIxE1fr7j15tCbN0Ww==", "long_url"=>"wqwa", "domain"=>"q", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=q&long_url=wqwa” for 127.0.0.1 at 2019-01-20 13:50:30 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"q", "long_url"=>"wqwa"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.9ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "wqwa"]]
↳ app/controllers/urls_controller.rb:13
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2c387"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/2c387"], ["domain", "q"], ["id", 68]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 22ms (Views: 0.5ms | ActiveRecord: 7.8ms)

Completed 500 Internal Server Error in 146ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:83:in `show_shorten' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:50:55 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uGOAl4BE3/WvV4y09WIqFczD7l80MaiKkSFUIcI/mICJ/68lzczhmXZuSA6wuQPVx1WjCIxE1fr7j15tCbN0Ww==", "long_url"=>"wqwaa", "domain"=>"q", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=q&long_url=wqwaa” for 127.0.0.1 at 2019-01-20 13:50:55 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"q", "long_url"=>"wqwaa"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "wqwaa"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4afc9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4afc9"], ["domain", "q"], ["id", 69]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 5.2ms)

Redirected to localhost:4321/urls/show_short Completed 200 OK in 103ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short” for ::1 at 2019-01-20 13:50:55 +0530 Processing by UrlsController#show_short as HTML Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.0ms)

NameError (uninitialized class variable @@result in UrlsController Did you mean? rescue):

app/controllers/urls_controller.rb:65:in `show_short' Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:51:08 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 245ms (Views: 244.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:51:12 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u1gOzRvPD2gvMKJ7RsVGklEXD7ghWhu5orTW78bd2EmKxCF/VkcxBPYJZsEDHm9SWoFC75kvZsnIGtyjDVE0kg==", "long_url"=>"ww", "domain"=>"w", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=w&long_url=ww” for 127.0.0.1 at 2019-01-20 13:51:12 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"w", "long_url"=>"ww"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "ww"]]
↳ app/controllers/urls_controller.rb:13
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ad574"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/ad574"], ["domain", "w"], ["id", 70]]
↳ app/controllers/urls_controller.rb:20
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 5.4ms)

Redirected to localhost:4321/urls/show_short Completed 200 OK in 56ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short” for ::1 at 2019-01-20 13:51:12 +0530 Processing by UrlsController#show_short as HTML

Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.7ms)

Completed 200 OK in 53ms (Views: 51.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:52:47 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.4ms)

Completed 200 OK in 57ms (Views: 54.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:52:50 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+pOoLswUjy3B/n98LsKaSjl89/8+9vcHv3O0XaX7W1TLD4ecgZyxQRjHu8ZrGbOKMuq6qIaDinfV3b4Rbne3jw==", "long_url"=>"qqqq", "domain"=>"qqq", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=qqq&long_url=qqqq” for 127.0.0.1 at 2019-01-20 13:52:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"qqq", "long_url"=>"qqqq"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "qqqq"]]
↳ app/controllers/urls_controller.rb:13
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3bad6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/3bad6"], ["domain", "qqq"], ["id", 71]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 5.5ms)

Redirected to localhost:4321/urls/show_short?Status=Success&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3bad6 Completed 200 OK in 66ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short?Status=Success&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3bad6” for ::1 at 2019-01-20 13:52:50 +0530 Processing by UrlsController#show_short as HTML

Parameters: {"Status"=>"Success", "short_url"=>"https://www.vg.sw.n/3bad6"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.6ms)

Completed 200 OK in 70ms (Views: 68.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:53:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 99ms (Views: 97.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:53:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qAZutZ9uVdjdjtjq24zBy/RTnYXneQD9bSP+tkOR9E6ZmkEH0uZrtAS3HFCeV+gL/8XQ0l8MfY0HjfT6iB0YlQ==", "long_url"=>"ppp", "domain"=>"[pp", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=[pp&long_url=ppp” for 127.0.0.1 at 2019-01-20 13:53:22 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"[pp", "long_url"=>"ppp"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "ppp"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f27f6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/f27f6"], ["domain", "[pp"], ["id", 72]]
↳ app/controllers/urls_controller.rb:20
 (5.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 13.1ms)

Redirected to localhost:4321/urls/show_short?Status=Success&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff27f6 Completed 200 OK in 45ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short?Status=Success&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff27f6” for ::1 at 2019-01-20 13:53:22 +0530 Processing by UrlsController#show_short as HTML

Parameters: {"Status"=>"Success", "short_url"=>"https://www.vg.sw.n/f27f6"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.5ms)

Completed 200 OK in 56ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 13:55:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 34ms (Views: 33.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 13:55:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rftLUm96nDsrUY0t2CD6f7LJhTmsUyJyz14S8JwXryacZ2TgIvKiV/JoSZed+9O/uV/IbhQmXwKl8Bi8V5tD/Q==", "long_url"=>"qq", "domain"=>"q", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=q&long_url=qq” for 127.0.0.1 at 2019-01-20 13:55:22 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"q", "long_url"=>"qq"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "qq"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "099b3"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:94
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/099b3"], ["domain", "q"], ["id", 73]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.2ms)

Redirected to localhost:4321/urls/show_short?Status=Success&long_url=qq&short_url=https%3A%2F%2Fwww.vg.sw.n%2F099b3 Completed 200 OK in 52ms (ActiveRecord: 0.0ms)

Started GET “/urls/show_short?Status=Success&long_url=qq&short_url=https%3A%2F%2Fwww.vg.sw.n%2F099b3” for ::1 at 2019-01-20 13:55:23 +0530 Processing by UrlsController#show_short as HTML

Parameters: {"Status"=>"Success", "long_url"=>"qq", "short_url"=>"https://www.vg.sw.n/099b3"}
Rendering urls/show_short.html.erb within layouts/application
Rendered urls/show_short.html.erb within layouts/application (0.7ms)

Completed 200 OK in 70ms (Views: 68.7ms | ActiveRecord: 0.0ms)

Started GET “/” for ::1 at 2019-01-20 15:30:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.7ms)

Completed 200 OK in 42ms (Views: 41.0ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for ::1 at 2019-01-20 15:30:09 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.0ms)
Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)

Completed 200 OK in 85ms (Views: 41.9ms | ActiveRecord: 16.0ms)

Started POST “/users/sign_in” for ::1 at 2019-01-20 15:30:13 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/A7jAH+JWpC+Dbu3+zuh/Z2S/ctGC2TI5mQtBIubrWJz+9QtJNDAVWO7QkU28Nl3mRyJcYiripCtuQ8rsRfHiQ==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (2.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:4321/ Completed 302 Found in 142ms (ActiveRecord: 2.1ms)

Started GET “/” for ::1 at 2019-01-20 15:30:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 40ms (Views: 39.0ms | ActiveRecord: 0.4ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 15:30:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 62ms (Views: 59.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for ::1 at 2019-01-20 15:30:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QC6AX4lSkSif4d82bdLWR+dQ5h4CdAmMgIuQJFMmS6gEpucQmr6um8rul9AYoX2DRAISO1pxMJguAniSeBea+Q==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=q&long_url=www.youtube.com/watch?v=4HRC6c5-2lQ” for 127.0.0.1 at 2019-01-20 15:30:30 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"q", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:110
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "q"], ["id", 74]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 8.1ms)

Redirected to localhost:4321/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 64ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:30:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.6ms)

Completed 200 OK in 51ms (Views: 50.0ms | ActiveRecord: 0.0ms)

Started GET “/” for ::1 at 2019-01-20 15:33:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.7ms)

Completed 200 OK in 74ms (Views: 71.5ms | ActiveRecord: 0.7ms)

Started GET “/urls/short_to_long” for ::1 at 2019-01-20 15:33:29 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 53ms (Views: 45.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 15:33:32 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dDemTw0FWtK3KfIHSzHq4vXVMsO6wZF7ajYGuw48UQMuhqbzwLTEsDYnYAdB9i7V17KdeQJ7vR88H+h+1aSPHQ==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant Net::HTTP::GET):

app/controllers/urls_controller.rb:96:in `show_short' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 15:34:08 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dDemTw0FWtK3KfIHSzHq4vXVMsO6wZF7ajYGuw48UQMuhqbzwLTEsDYnYAdB9i7V17KdeQJ7vR88H+h+1aSPHQ==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1..3)):

app/controllers/urls_controller.rb:96:in `show_short' Started GET “/urls/short_to_long” for ::1 at 2019-01-20 15:35:07 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (0.9ms)

Completed 200 OK in 51ms (Views: 50.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 15:35:12 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zLYwmR7dFOQI1cuU02LDnNVr/npjVKDpx0jCgPimcZSoUkpNQXnH11xnA1Rfm5XyYT2O7c/HsK3rLQPfLV9www==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1..3)):

app/controllers/urls_controller.rb:96:in `show_short' Started GET “/urls/short_to_long” for ::1 at 2019-01-20 15:36:52 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (8.8ms)

Completed 200 OK in 277ms (Views: 270.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 15:36:58 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QKiZIUOJWVz81VDOufHDeBm2Zjnkc31TCUuw96WmhGkkTOP1HC2Kb6hnmA41CJUWreAWrkjgbRclLnGocF+FPg==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1..3)):

app/controllers/urls_controller.rb:96:in `show_short' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 15:38:08 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QKiZIUOJWVz81VDOufHDeBm2Zjnkc31TCUuw96WmhGkkTOP1HC2Kb6hnmA41CJUWreAWrkjgbRclLnGocF+FPg==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `[]' for #<Net::HTTP:0x00007fd62a414af8>):

app/controllers/urls_controller.rb:98:in `show_short' Started POST “/urls/ShowShort” for ::1 at 2019-01-20 15:42:28 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QKiZIUOJWVz81VDOufHDeBm2Zjnkc31TCUuw96WmhGkkTOP1HC2Kb6hnmA41CJUWreAWrkjgbRclLnGocF+FPg==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}

Started GET “/short-url?short_url=www.vg.sw.n/8f876” for 127.0.0.1 at 2019-01-20 15:42:28 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/8f876"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:46

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 3.8ms)

Redirected to localhost:4321/urls/show Completed 200 OK in 88ms (ActiveRecord: 0.0ms)

Started GET “/urls/show” for ::1 at 2019-01-20 15:42:28 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 53ms (Views: 51.4ms | ActiveRecord: 0.0ms)

Started GET “/” for ::1 at 2019-01-20 15:43:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (15.5ms)

Completed 200 OK in 69ms (Views: 60.3ms | ActiveRecord: 7.3ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 15:43:09 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 46ms (Views: 44.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for ::1 at 2019-01-20 15:43:21 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9WkbgKMC7OjSgnGDzcgcMVGWtEMAPv2zhnhzIE5lSVux4XzPsO7TW4eNOWW4u7f18sRAZlg7xKco8ZuWZVSYCg==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"youtube", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=youtube&long_url=www.youtube.com/watch?v=4HRC6c5-2lQ” for 127.0.0.1 at 2019-01-20 15:43:21 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"youtube", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:112
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "youtube"], ["id", 75]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 6.5ms)

Redirected to localhost:4321/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 58ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:43:21 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.6ms)

Completed 200 OK in 57ms (Views: 54.5ms | ActiveRecord: 0.0ms)

Started GET “/” for ::1 at 2019-01-20 15:43:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.2ms)

Completed 200 OK in 66ms (Views: 63.9ms | ActiveRecord: 1.1ms)

Started GET “/urls/short_to_long” for ::1 at 2019-01-20 15:43:28 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 57ms (Views: 55.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 15:43:30 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OEXYUoMg+nvXPaMPnO/BRnGO832WgV8MyjZU2WwCAaNi9NjuTpFkGVYzMQ+WKAVxU+lcxy47c2icH7oct5rfvQ==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}

Started GET “/short-url?short_url=www.vg.sw.n/8f876” for 127.0.0.1 at 2019-01-20 15:43:30 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/8f876"}
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:46

Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.7ms)

Redirected to localhost:4321/urls/show?Status=OK+%21&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 8ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:43:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.5ms)

Completed 200 OK in 64ms (Views: 62.5ms | ActiveRecord: 0.0ms)

Started GET “/” for ::1 at 2019-01-20 15:47:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.8ms)

Completed 200 OK in 48ms (Views: 44.4ms | ActiveRecord: 2.9ms)

Started GET “/urls/short_to_long” for ::1 at 2019-01-20 15:47:05 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (6.4ms)

Completed 200 OK in 66ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for ::1 at 2019-01-20 15:47:08 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8FmMPzsXNEvNSR9qN2P3+4R1uuYDdQGN+AZPhdlsn+uq6IyD9qaqKUxHjWo9pDPMphIVXLvPLemuL6FAAvRB9Q==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}

Started GET “/short-url?short_url=www.vg.sw.n/8f876” for 127.0.0.1 at 2019-01-20 15:47:08 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/8f876"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:46

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 2.9ms)

Redirected to localhost:4321/urls/show?Status=OK+%21&domain=q&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 50ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=q&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:47:09 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"q", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.6ms)

Completed 200 OK in 52ms (Views: 50.9ms | ActiveRecord: 0.0ms)

Started GET “/” for ::1 at 2019-01-20 15:47:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (4.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (7.5ms)

Completed 200 OK in 48ms (Views: 42.5ms | ActiveRecord: 4.0ms)

Started GET “/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:49:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/urls/show.erb:7: syntax error, unexpected ':', expecting end

key : value 
    ^

/Users/vipul/Intern/Url_Shortner/app/views/urls/show.erb:10: syntax error, unexpected ensure, expecting end-of-input

ensure
^~~~~~):

app/views/urls/show.erb:7: syntax error, unexpected ':', expecting end app/views/urls/show.erb:10: syntax error, unexpected ensure, expecting end-of-input Started GET “/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:49:45 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/urls/show.erb:7: syntax error, unexpected ':', expecting ')' …e;@output_buffer.append=( key : value );@output_buffer.safe_… … ^):

app/views/urls/show.erb:7: syntax error, unexpected ':', expecting ')' Started GET “/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:50:14 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.5ms)

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/urls/show.erb:7: syntax error, unexpected ':', expecting ')' @output_buffer.append=( key : value );@output_buffer.safe_…

^):

app/views/urls/show.erb:7: syntax error, unexpected ':', expecting ')' Started GET “/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:50:57 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.6ms)

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/urls/show.erb:8: syntax error, unexpected '<' <% end ); ^ /Users/vipul/Intern/Url_Shortner/app/views/urls/show.erb:12: syntax error, unexpected end-of-input, expecting end):

app/views/urls/show.erb:8: syntax error, unexpected '<' app/views/urls/show.erb:12: syntax error, unexpected end-of-input, expecting end Started GET “/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:51:11 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 54ms (Views: 52.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:51:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.4ms)

Completed 200 OK in 47ms (Views: 46.4ms | ActiveRecord: 0.0ms)

Started GET “/” for ::1 at 2019-01-20 15:51:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (6.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.3ms)

Completed 200 OK in 72ms (Views: 64.2ms | ActiveRecord: 6.4ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 15:51:46 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 51ms (Views: 48.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for ::1 at 2019-01-20 15:51:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lxMbxSzku0HItCGoTUE4i3hxKCJju+IPQrHOu0KfEG/Tm3yKPwiE8p27aU44MpNP2yPcBzu+2xvsOCYNaa7BPg==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"efgb", "commit"=>"Generate Short Url"}

Started POST “/shorten-url?domain=efgb&long_url=www.youtube.com/watch?v=4HRC6c5-2lQ” for 127.0.0.1 at 2019-01-20 15:51:51 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"efgb", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ"}
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:13
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:112
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "efgb"], ["id", 76]]
↳ app/controllers/urls_controller.rb:20
 (5.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 12.8ms)

Redirected to localhost:4321/urls/show?Status=Success&domain=efgb&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 24ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Success&domain=efgb&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:51:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"efgb", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 65ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Success&domain=efgb&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:53:48 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"efgb", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}

Redirected to localhost:4321/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for ::1 at 2019-01-20 15:53:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (13.2ms)

Completed 200 OK in 54ms (Views: 49.8ms | ActiveRecord: 3.7ms)

Started GET “/” for ::1 at 2019-01-20 15:54:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (26.2ms)

Completed 200 OK in 63ms (Views: 59.3ms | ActiveRecord: 3.0ms)

Started GET “/” for ::1 at 2019-01-20 15:54:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (5.2ms)

Completed 200 OK in 40ms (Views: 39.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 15:54:47 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:4321/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for ::1 at 2019-01-20 15:54:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 50ms (Views: 48.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for ::1 at 2019-01-20 15:54:57 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:4321/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for ::1 at 2019-01-20 15:54:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 76ms (Views: 75.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Success&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for ::1 at 2019-01-20 15:55:01 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}

Redirected to localhost:4321/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 16:27:57 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.1ms)

Completed 200 OK in 281ms (Views: 275.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 16:28:09 +0530 Processing by UrlsController#long_to_short as HTML

 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" IS NULL ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 77]]
↳ app/controllers/urls_controller.rb:27
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:27

Redirected to Completed 500 Internal Server Error in 29ms (Views: 0.2ms | ActiveRecord: 17.1ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:59:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 16:28:53 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 16:28:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 16:31:58 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (5.3ms)

Completed 200 OK in 273ms (Views: 267.0ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-20 16:32:00 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.0ms)
Rendered devise/sessions/new.html.erb within layouts/application (10.2ms)

Completed 200 OK in 104ms (Views: 81.8ms | ActiveRecord: 9.8ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-20 16:32:04 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"my5cmghs3gbF2B94z6qedLf0NG2pCDRRchnQzZxyb5w5VXycoHM2gkqgBihLPfO8/nlMx5TGumqZfGdJ1EuyUw==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 145ms (ActiveRecord: 2.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 16:32:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 73ms (Views: 71.5ms | ActiveRecord: 0.4ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 16:32:06 +0530 Processing by UrlsController#long_to_short as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:56
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 94ms (Views: 88.0ms | ActiveRecord: 1.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:32:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 1, expected 0)):

app/controllers/urls_controller.rb:8:in `shorten_url' app/controllers/urls_controller.rb:92:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:33:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (6.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:124
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflow"], ["id", 78]]
↳ app/controllers/urls_controller.rb:20
 (2.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 23ms (Views: 0.2ms | ActiveRecord: 13.2ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:95:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:34:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:125
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflow"], ["id", 79]]
↳ app/controllers/urls_controller.rb:20
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 26ms (Views: 0.4ms | ActiveRecord: 16.1ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:96:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:35:25 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:125
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflow"], ["id", 80]]
↳ app/controllers/urls_controller.rb:20
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 500 Internal Server Error in 29ms (Views: 0.4ms | ActiveRecord: 15.8ms)

NoMethodError (undefined method `to_a' for #<String:0x00007fcc217776b8> Did you mean? to_c

to_i
to_s
to_d
to_r
to_f):

app/controllers/urls_controller.rb:92:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:35:55 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:126
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflow"], ["id", 81]]
↳ app/controllers/urls_controller.rb:20
 (2.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 26ms (Views: 0.4ms | ActiveRecord: 14.9ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:97:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:36:10 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:126
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflow"], ["id", 82]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 7ms (Views: 0.2ms | ActiveRecord: 2.6ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:97:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:37:03 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:126
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflow"], ["id", 83]]
↳ app/controllers/urls_controller.rb:20
 (3.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 26ms (Views: 0.3ms | ActiveRecord: 14.6ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:97:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:37:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:127
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflow"], ["id", 84]]
↳ app/controllers/urls_controller.rb:20
 (2.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 24ms (Views: 0.8ms | ActiveRecord: 13.0ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:39:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflow"], ["id", 85]]
↳ app/controllers/urls_controller.rb:20
 (2.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 500 Internal Server Error in 25ms (Views: 0.3ms | ActiveRecord: 13.9ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:40:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflowf", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflowf"], ["id", 86]]
↳ app/controllers/urls_controller.rb:20
 (3.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 24ms (Views: 0.4ms | ActiveRecord: 12.6ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:41:10 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"stackoverflowf", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (3.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:132
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "stackoverflowf"], ["id", 87]]
↳ app/controllers/urls_controller.rb:20
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 500 Internal Server Error in 26ms (Views: 1.1ms | ActiveRecord: 8.2ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:97:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:41:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"df", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:132
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "df"], ["id", 88]]
↳ app/controllers/urls_controller.rb:20
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 500 Internal Server Error in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:97:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:41:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"df", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:13
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2281c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:132
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/2281c"], ["domain", "df"], ["id", 89]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 500 Internal Server Error in 9ms (Views: 0.2ms | ActiveRecord: 3.2ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:97:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:42:57 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:47: syntax error, unexpected and, expecting end

and return
^~~):

app/controllers/urls_controller.rb:47: syntax error, unexpected and, expecting end Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:43:29 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://.a/q", "domain"=>"df", "commit"=>"Generate Short Url"}
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://.a/q"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "79a72"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/79a72"], ["domain", "df"], ["id", 90]]
↳ app/controllers/urls_controller.rb:20
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 500 Internal Server Error in 26ms (Views: 0.3ms | ActiveRecord: 15.6ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:93:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:57:13 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:21: syntax error, unexpected ':', expecting end …rams} and return json: {“Status”=>“Success”,“short_… … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:28: syntax error, unexpected {, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END … Went Wrong”} and return json:{“Status” => “Error”,“Error”=>… … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:30: syntax error, unexpected {, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END …[:short_url]} and return json:{“Status”=>“Already Exists”,“s… … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:46: syntax error, unexpected ':', expecting end …s} and return json: {”Status“=>”OK !“,”long_url“… … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:50: syntax error, unexpected ':', expecting end …hing Found !”} and return json: {“Status”=>“Nothing Found !”} … ^):

app/controllers/urls_controller.rb:21: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:28: syntax error, unexpected {, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END app/controllers/urls_controller.rb:30: syntax error, unexpected {, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END app/controllers/urls_controller.rb:46: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:50: syntax error, unexpected ':', expecting end Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:57:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://.a/q", "domain"=>"df", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://.a/q"]]
↳ app/controllers/urls_controller.rb:13
 (6.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (1.1ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "79a72"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/79a72"], ["domain", "df"], ["id", 91]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 500 Internal Server Error in 24ms (Views: 0.2ms | ActiveRecord: 14.6ms)

TypeError (no implicit conversion of Hash into String):

app/controllers/urls_controller.rb:93:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:58:12 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://.a/q", "domain"=>"df", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://.a/q"]]
↳ app/controllers/urls_controller.rb:13
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "79a72"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/79a72"], ["domain", "df"], ["id", 92]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 24ms (Views: 0.2ms | ActiveRecord: 9.9ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:58:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://.a/q", "domain"=>"df", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://.a/q"]]
↳ app/controllers/urls_controller.rb:13
 (6.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "79a72"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/79a72"], ["domain", "df"], ["id", 93]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 25ms (Views: 0.2ms | ActiveRecord: 13.7ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:58:41 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://.a/q", "domain"=>"df", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://.a/q"]]
↳ app/controllers/urls_controller.rb:13
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "79a72"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/79a72"], ["domain", "df"], ["id", 94]]
↳ app/controllers/urls_controller.rb:20
 (4.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 24ms (Views: 0.2ms | ActiveRecord: 15.0ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:58:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://.a/qjhkj", "domain"=>"df", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://.a/qjhkj"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "126d2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/126d2"], ["domain", "df"], ["id", 95]]
↳ app/controllers/urls_controller.rb:20
 (0.6ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 9ms (Views: 0.4ms | ActiveRecord: 3.0ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 16:59:21 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZafrbbJx0DlZ95Dv4DpBewLV/sTpmL2M4s0Yg9gASPnZ/2LiOr7RIKTMvyhbiDFRc/vAL8/keUyOwlBdi0PHRg==", "long_url"=>"https://.a/qjhkj", "domain"=>"dffgr", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://.a/qjhkj"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "126d2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/126d2"], ["domain", "dffgr"], ["id", 96]]
↳ app/controllers/urls_controller.rb:20
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 26ms (Views: 0.4ms | ActiveRecord: 14.8ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 17:01:50 +0530 Processing by UrlsController#long_to_short as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:56
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.3ms)

Completed 200 OK in 118ms (Views: 103.8ms | ActiveRecord: 4.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 17:01:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mFV3CeNyok8g9V71jXNC7Ckxkiwr5mPkTx48kHI4rhGsu4hE2z3IYQapOz2fp712dCuBE7gsMw3HLWUwpt2MTw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:13
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "a"], ["id", 97]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 44ms (Views: 0.2ms | ActiveRecord: 10.5ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 17:03:08 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mFV3CeNyok8g9V71jXNC7Ckxkiwr5mPkTx48kHI4rhGsu4hE2z3IYQapOz2fp712dCuBE7gsMw3HLWUwpt2MTw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:13
 (5.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "a"], ["id", 98]]
↳ app/controllers/urls_controller.rb:20
 (5.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 23ms (Views: 0.2ms | ActiveRecord: 14.5ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:103:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 17:03:14 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mFV3CeNyok8g9V71jXNC7Ckxkiwr5mPkTx48kHI4rhGsu4hE2z3IYQapOz2fp712dCuBE7gsMw3HLWUwpt2MTw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "a"], ["id", 99]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 8ms (Views: 0.2ms | ActiveRecord: 2.8ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:103:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 17:04:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mFV3CeNyok8g9V71jXNC7Ckxkiwr5mPkTx48kHI4rhGsu4hE2z3IYQapOz2fp712dCuBE7gsMw3HLWUwpt2MTw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"adgfg", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:13
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:134
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "adgfg"], ["id", 100]]
↳ app/controllers/urls_controller.rb:20
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 25ms (Views: 0.3ms | ActiveRecord: 15.7ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:103:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:34:21 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:21: syntax error, unexpected ':', expecting then or ';' or 'n'

if input == 1:
             ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:23: else without rescue is useless

else :
^~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:23: syntax error, unexpected ':'

else :
     ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:32: syntax error, unexpected ':', expecting then or ';' or 'n'

if input == 1:
             ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:38: syntax error, unexpected ':', expecting then or ';' or 'n'

if input == 1:
             ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:41: syntax error, unexpected else, expecting end

else
^~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:46: syntax error, unexpected end, expecting end-of-input

end
^~~):

app/controllers/urls_controller.rb:21: syntax error, unexpected ':', expecting then or ';' or 'n' app/controllers/urls_controller.rb:23: else without rescue is useless app/controllers/urls_controller.rb:23: syntax error, unexpected ':' app/controllers/urls_controller.rb:32: syntax error, unexpected ':', expecting then or ';' or 'n' app/controllers/urls_controller.rb:38: syntax error, unexpected ':', expecting then or ';' or 'n' app/controllers/urls_controller.rb:41: syntax error, unexpected else, expecting end app/controllers/urls_controller.rb:46: syntax error, unexpected end, expecting end-of-input Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:34:46 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:23: syntax error, unexpected ':'

else :
     ^):

app/controllers/urls_controller.rb:23: syntax error, unexpected ':' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:35:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mFV3CeNyok8g9V71jXNC7Ckxkiwr5mPkTx48kHI4rhGsu4hE2z3IYQapOz2fp712dCuBE7gsMw3HLWUwpt2MTw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQd", "domain"=>"adgfg", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQd"]]
↳ app/controllers/urls_controller.rb:13
 (6.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (1.1ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9e685"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:146
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/9e685"], ["domain", "adgfg"], ["id", 101]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to localhost:3000/urls/show?Status=Success&domain=adgfg&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQd&short_url=https%3A%2F%2Fwww.vg.sw.n%2F9e685 Completed 200 OK in 23ms (ActiveRecord: 13.4ms)

Started GET “/urls/show?Status=Success&domain=adgfg&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQd&short_url=https%3A%2F%2Fwww.vg.sw.n%2F9e685” for 127.0.0.1 at 2019-01-20 18:35:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"adgfg", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQd", "short_url"=>"https://www.vg.sw.n/9e685"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.5ms)

Completed 200 OK in 83ms (Views: 38.3ms | ActiveRecord: 33.5ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:35:22 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}

Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:8:in `shorten_url' Started GET “/” for 127.0.0.1 at 2019-01-20 18:37:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (15.3ms)

Completed 200 OK in 62ms (Views: 56.6ms | ActiveRecord: 3.9ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 18:37:51 +0530 Processing by UrlsController#long_to_short as HTML

User Load (2.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:62
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 53ms (Views: 45.9ms | ActiveRecord: 2.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:37:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumar", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:8:in `shorten_url' app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:37:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumar", "domain"=>"dfs", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:8:in `shorten_url' app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:38:23 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumar", "domain"=>"dfs", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:8:in `shorten_url' app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:38:41 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumar", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumar"]]
↳ app/controllers/urls_controller.rb:13
 (6.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4f211"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4f211"], ["domain", "dfs"], ["id", 102]]
↳ app/controllers/urls_controller.rb:20
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 27ms (Views: 0.5ms | ActiveRecord: 15.8ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:104:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:40:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumarsdfs", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarsdfs"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9598a"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:127
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/9598a"], ["domain", "dfs"], ["id", 103]]
↳ app/controllers/urls_controller.rb:20
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 25ms (Views: 0.4ms | ActiveRecord: 15.2ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:41:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumarsdfsa", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarsdfsa"]]
↳ app/controllers/urls_controller.rb:13
 (6.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4dcde"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4dcde"], ["domain", "dfs"], ["id", 104]]
↳ app/controllers/urls_controller.rb:20
 (4.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 15.1ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:41:55 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumarsdfsa", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarsdfsa"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4dcde"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4dcde"], ["domain", "dfs"], ["id", 105]]
↳ app/controllers/urls_controller.rb:20
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 500 Internal Server Error in 43ms (Views: 0.2ms | ActiveRecord: 5.7ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:42:12 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumarsdfsa", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarsdfsa"]]
↳ app/controllers/urls_controller.rb:13
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4dcde"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:126
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4dcde"], ["domain", "dfs"], ["id", 106]]
↳ app/controllers/urls_controller.rb:20
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Completed 500 Internal Server Error in 24ms (Views: 0.2ms | ActiveRecord: 14.7ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:42:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumarsdfsa", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarsdfsa"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4dcde"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:126
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4dcde"], ["domain", "dfs"], ["id", 107]]
↳ app/controllers/urls_controller.rb:20
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 25ms (Views: 0.3ms | ActiveRecord: 15.3ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:42:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumarsdfsa", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarsdfsa"]]
↳ app/controllers/urls_controller.rb:13
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4dcde"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:126
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4dcde"], ["domain", "dfs"], ["id", 108]]
↳ app/controllers/urls_controller.rb:20
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 8ms (Views: 0.2ms | ActiveRecord: 3.0ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:43:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumarsdfsajksdfb", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarsdfsajksdfb"]]
↳ app/controllers/urls_controller.rb:13
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "910fe"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:126
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:20
Url Update (0.7ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/910fe"], ["domain", "dfs"], ["id", 109]]
↳ app/controllers/urls_controller.rb:20
 (0.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:20

Redirected to Completed 500 Internal Server Error in 8ms (Views: 0.2ms | ActiveRecord: 3.5ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:98:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:45:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumarsdfsajksdfb", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarsdfsajksdfb"]]
↳ app/controllers/urls_controller.rb:8
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "910fe"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:122
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/910fe"], ["domain", "dfs"], ["id", 110]]
↳ app/controllers/urls_controller.rb:15
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:15

Redirected to Completed 500 Internal Server Error in 25ms (Views: 0.5ms | ActiveRecord: 15.7ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:94:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:50:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"61khO3M95cphdz0s6CRWGktbDozcn2FsDZ8zAYGw719XAai0+/Lk05xMEutTliYwOnUwZ/rjpaxhkHvf0vNg4A==", "long_url"=>"vipumarsdfsajksdfb", "domain"=>"dfs", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarsdfsajksdfb"]]
↳ app/controllers/urls_controller.rb:7
 (6.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (1.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "910fe"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/910fe"], ["domain", "dfs"], ["id", 111]]
↳ app/controllers/urls_controller.rb:14
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=dfs&long_url=vipumarsdfsajksdfb&short_url=https%3A%2F%2Fwww.vg.sw.n%2F910fe Completed 200 OK in 28ms (ActiveRecord: 18.4ms)

Started GET “/urls/show?Status=Success&domain=dfs&long_url=vipumarsdfsajksdfb&short_url=https%3A%2F%2Fwww.vg.sw.n%2F910fe” for 127.0.0.1 at 2019-01-20 18:50:22 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"dfs", "long_url"=>"vipumarsdfsajksdfb", "short_url"=>"https://www.vg.sw.n/910fe"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.4ms)

Completed 200 OK in 93ms (Views: 65.4ms | ActiveRecord: 8.7ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:50:29 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.8ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (2.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 112]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.4ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 18:50:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.0ms)

Completed 200 OK in 56ms (Views: 54.5ms | ActiveRecord: 0.6ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 18:50:59 +0530 Processing by UrlsController#long_to_short as HTML

User Load (4.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 63ms (Views: 54.9ms | ActiveRecord: 4.1ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:51:03 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oN7wPJdsrzQcJ3HRj17Ffow1VCZEc7OtbGkgo8PDM2MchnmzH6OuLeEcXhY07LVU/RtqzWIPd20AZmh9kIC83A==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"jahsjbfnasbjk ", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:7
 (6.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "jahsjbfnasbjk "], ["id", 113]]
↳ app/controllers/urls_controller.rb:14
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=jahsjbfnasbjk+&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 19ms (ActiveRecord: 13.4ms)

Started GET “/urls/show?Status=Success&domain=jahsjbfnasbjk+&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:51:03 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"jahsjbfnasbjk ", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.6ms)

Completed 200 OK in 62ms (Views: 57.5ms | ActiveRecord: 0.8ms)

Started GET “/urls/show?Status=Success&domain=jahsjbfnasbjk+&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:52:11 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"jahsjbfnasbjk ", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 333ms (Views: 313.3ms | ActiveRecord: 4.8ms)

Started GET “/urls/show?Status=Success&domain=jahsjbfnasbjk+&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:52:36 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"jahsjbfnasbjk ", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 50ms (Views: 46.5ms | ActiveRecord: 0.6ms)

Started GET “/urls/show?Status=Success&domain=jahsjbfnasbjk+&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:52:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"jahsjbfnasbjk ", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.5ms)

Completed 200 OK in 49ms (Views: 47.1ms | ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:52:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.9ms)

Completed 200 OK in 77ms (Views: 75.1ms | ActiveRecord: 0.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:53:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 46ms (Views: 44.7ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:53:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.3ms)

Completed 200 OK in 49ms (Views: 46.8ms | ActiveRecord: 0.5ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 18:53:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (5.3ms)

Completed 200 OK in 58ms (Views: 55.6ms | ActiveRecord: 0.8ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 18:53:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.7ms)

Completed 200 OK in 57ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-20 18:53:18 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.4ms)
Rendered devise/sessions/new.html.erb within layouts/application (16.7ms)

Completed 200 OK in 57ms (Views: 52.6ms | ActiveRecord: 0.0ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-20 18:53:23 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8xTKOqQgWzwiIq8epsKCQ2tdgg58zmKGOkrk89nKjHXg/c2PIitbPjyO8Xe0KT6+RYFOXwU5wFh302VQ9ur/eQ==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 139ms (ActiveRecord: 1.4ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 18:53:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 37ms (Views: 35.6ms | ActiveRecord: 0.3ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 18:53:25 +0530 Processing by UrlsController#long_to_short as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 58ms (Views: 53.1ms | ActiveRecord: 0.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:53:29 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SIbQXyljpNKOOKOb0F2gpMOKq1jPQvurdSefluMRF857uAqU0TWFJdQS3iBd9X0v+yhOMKBW1MpGqsWfZDOw1Q==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"adsdsd", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.6ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:7
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "adsdsd"], ["id", 114]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=adsdsd&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 25ms (ActiveRecord: 9.3ms)

Started GET “/urls/show?Status=Success&domain=adsdsd&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:53:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"adsdsd", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (5.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 77ms (Views: 68.2ms | ActiveRecord: 5.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:53:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (4.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (7.0ms)

Completed 200 OK in 57ms (Views: 51.2ms | ActiveRecord: 4.9ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-20 18:53:36 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:76
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 61ms (Views: 56.2ms | ActiveRecord: 0.7ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 18:53:39 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iHWSMAih0RRCTbJUAwKbHcPSsZNI4/pEn5EpoeDOEcVl3IZDgb1OGSF2NA59gM38fm6KQCRPRUoNhOEnGwyIdg==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to Completed 500 Internal Server Error in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:133:in `show_short' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 18:53:40 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iHWSMAih0RRCTbJUAwKbHcPSsZNI4/pEn5EpoeDOEcVl3IZDgb1OGSF2NA59gM38fm6KQCRPRUoNhOEnGwyIdg==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to Completed 500 Internal Server Error in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:133:in `show_short' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 18:54:02 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iHWSMAih0RRCTbJUAwKbHcPSsZNI4/pEn5EpoeDOEcVl3IZDgb1OGSF2NA59gM38fm6KQCRPRUoNhOEnGwyIdg==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=q&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 9ms (ActiveRecord: 2.8ms)

Started GET “/urls/show?Status=OK+%21&domain=q&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:54:02 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"q", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 69ms (Views: 37.3ms | ActiveRecord: 8.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:54:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (6.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (9.8ms)

Completed 200 OK in 67ms (Views: 59.1ms | ActiveRecord: 6.5ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-20 18:54:08 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:76
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.1ms)

Completed 200 OK in 95ms (Views: 86.7ms | ActiveRecord: 3.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 18:54:10 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AWm7wN5uMkWrS1JZ1ktMAOlPyzlkTPEKElWIzrbSazPswK+zV3KtSMhw1AOoyRrhVPPw6gjgTgSAQEBITRDygA==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=q&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=q&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:54:10 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"q", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (5.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 68ms (Views: 56.9ms | ActiveRecord: 5.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:54:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (2.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.2ms)

Completed 200 OK in 59ms (Views: 54.8ms | ActiveRecord: 2.8ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-20 18:54:16 +0530 Processing by UrlsController#short_to_long as HTML

User Load (4.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:76
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.4ms)

Completed 200 OK in 61ms (Views: 53.5ms | ActiveRecord: 4.6ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-20 18:54:21 +0530 Processing by UrlsController#short_to_long as HTML

User Load (6.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:76
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (3.3ms)

Completed 200 OK in 78ms (Views: 68.2ms | ActiveRecord: 6.4ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 18:54:23 +0530 Processing by UrlsController#long_to_short as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.2ms)

Completed 200 OK in 68ms (Views: 63.6ms | ActiveRecord: 0.5ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:54:26 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rJv0MjGp9wvNpFExh1fV8JaIB/FYAzpUCQ46JQHjs06fpS75yf/W/JeOLIoK/wh7ririmTcXFTU6g2AshsEUVQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"asfsd", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:7
 (5.6ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "asfsd"], ["id", 115]]
↳ app/controllers/urls_controller.rb:14
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=asfsd&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 18ms (ActiveRecord: 12.7ms)

Started GET “/urls/show?Status=Success&domain=asfsd&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:54:26 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"asfsd", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (2.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 62ms (Views: 56.8ms | ActiveRecord: 2.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:54:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (7.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.4ms)

Completed 200 OK in 60ms (Views: 50.9ms | ActiveRecord: 7.1ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 18:54:34 +0530 Processing by UrlsController#long_to_short as HTML

User Load (22.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 98ms (Views: 70.9ms | ActiveRecord: 22.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:54:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SmcXz3wNwWhokJqEZ0y4B6FnyhYJ9/AWSyapiJrmXKV5Wc0EhFvgnzK65z/q5GWMmcUvfmbj33d4q/OBHcT7vg==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"asfd", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:7
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "asfd"], ["id", 116]]
↳ app/controllers/urls_controller.rb:14
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=asfd&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 18ms (ActiveRecord: 13.1ms)

Started GET “/urls/show?Status=Success&domain=asfd&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:54:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"asfd", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 57ms (Views: 52.6ms | ActiveRecord: 0.4ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:43 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 117]]
↳ app/controllers/urls_controller.rb:14
 (0.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.1ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:44 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 118]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 3.5ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:45 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (1.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 119]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 3.9ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:46 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 120]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.6ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:46 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 121]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.0ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:46 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 122]]
↳ app/controllers/urls_controller.rb:14
 (0.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.9ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:46 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 123]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.6ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:46 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.8ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 124]]
↳ app/controllers/urls_controller.rb:14
 (0.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.5ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 125]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 3.4ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 126]]
↳ app/controllers/urls_controller.rb:14
 (0.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 3.9ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 127]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 9ms (Views: 0.4ms | ActiveRecord: 3.1ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (1.0ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 128]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 3.5ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:48 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 129]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.0ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:48 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.6ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 130]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 3.6ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:49 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.8ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 131]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 4.3ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:49 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 132]]
↳ app/controllers/urls_controller.rb:14
 (0.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 3.2ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:49 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.6ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.6ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 133]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 4.1ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:49 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 134]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 2.9ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:49 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 135]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 3.1ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 136]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.9ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 137]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 2.6ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 138]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (2.9ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (1.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 139]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 6.9ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.8ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 140]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 3.6ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:51 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 141]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 1.9ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:51 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 142]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 2.8ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:51 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.8ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 143]]
↳ app/controllers/urls_controller.rb:14
 (0.6ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 3.7ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:51 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 144]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 3.4ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:54:51 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (1.8ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.7ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (1.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 145]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 6.7ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls"

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:56:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (7.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.8ms)

Completed 200 OK in 103ms (Views: 91.4ms | ActiveRecord: 7.2ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 18:56:49 +0530 Processing by UrlsController#long_to_short as HTML

User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 46ms (Views: 41.1ms | ActiveRecord: 2.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:57:02 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"q0FHljv3n8oIAHK09LuyEofBwngzCNXSAYY0ZCk9IYWYf51dw6G+PVIqDw95E2+Zv2MnEFwc+rMyC25trh+Gng==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"fdf", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:7
 (6.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "fdf"], ["id", 146]]
↳ app/controllers/urls_controller.rb:14
 (5.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=fdf&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 18ms (ActiveRecord: 13.3ms)

Started GET “/urls/show?Status=Success&domain=fdf&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-20 18:57:03 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"fdf", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (5.9ms)

Completed 200 OK in 61ms (Views: 56.8ms | ActiveRecord: 0.7ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:57:53 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (1.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 147]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 4.0ms)

Url Load (0.4ms)  SELECT "urls".* FROM "urls"
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 2]]
 (1.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 3]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 14]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 15]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 16]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 17]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 18]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 19]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 20]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 21]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 22]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 23]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 24]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 25]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 26]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 27]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 28]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 29]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 30]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 31]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 32]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 33]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 34]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 35]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 36]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 37]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 38]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 39]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 40]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 41]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 42]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 43]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 44]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 45]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 46]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 47]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 48]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 49]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 50]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 51]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 52]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (1.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 53]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 54]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 55]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 56]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 57]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 58]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 59]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 60]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.7ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 61]]
 (0.6ms)  COMMIT
 (0.3ms)  BEGIN
Url Destroy (0.5ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 62]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 63]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 64]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 65]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 66]]
 (0.5ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 67]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 68]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 69]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 70]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 71]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 72]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 73]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 74]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 75]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 76]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 78]]
 (0.5ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 79]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 80]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 81]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (1.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 82]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 83]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 84]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 85]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 86]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 87]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 88]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 89]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 90]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 91]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 92]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 93]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 94]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 95]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 96]]
 (0.3ms)  COMMIT
 (0.3ms)  BEGIN
Url Destroy (0.6ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 97]]
 (0.5ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 98]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 99]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 100]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 101]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 102]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 103]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 104]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 105]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 106]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 107]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 108]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 109]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 110]]
 (1.2ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 111]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 112]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 113]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 114]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 115]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 116]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 117]]
 (0.3ms)  COMMIT
 (0.4ms)  BEGIN
Url Destroy (0.7ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 118]]
 (0.6ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 119]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 120]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 121]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 122]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 123]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 124]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 125]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 126]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 127]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 128]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 129]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 130]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 131]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 132]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 133]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 134]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 135]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 136]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 137]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 138]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 139]]
 (0.3ms)  COMMIT
 (1.0ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 140]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 141]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 142]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 143]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 144]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 145]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 146]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 147]]
 (0.3ms)  COMMIT
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:59:10 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger./urls/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptiger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "www.proptiger./urls/vipul"], ["id", 148], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e9a88"], ["domain", "proptiger"], ["id", 148]]
↳ app/controllers/urls_controller.rb:14
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 29ms (Views: 0.4ms | ActiveRecord: 16.4ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 18:59:11 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger./urls/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger./urls/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "www.proptiger./urls/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Completed 200 OK in 13ms (Views: 0.1ms | ActiveRecord: 3.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:59:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (24.0ms)

Completed 200 OK in 80ms (Views: 65.7ms | ActiveRecord: 12.5ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 18:59:20 +0530 Processing by UrlsController#long_to_short as HTML

User Load (8.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (5.6ms)

Completed 200 OK in 69ms (Views: 56.7ms | ActiveRecord: 8.7ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:59:24 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pNUFJZgAJizHa4sOnqAYXOowJ3ZYv8+kX0okN5WjxjSX69/uYFYH251B9rUTCMXX0pLCHjer4MVsx34+EoFhLw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"aa", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:7
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["id", 149], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "aa"], ["id", 149]]
↳ app/controllers/urls_controller.rb:14
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 23ms (ActiveRecord: 14.8ms)

Started GET “/urls/show?Status=Success&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:59:24 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 57ms (Views: 51.2ms | ActiveRecord: 1.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:59:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (8.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (12.8ms)

Completed 200 OK in 79ms (Views: 69.2ms | ActiveRecord: 8.1ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 18:59:28 +0530 Processing by UrlsController#long_to_short as HTML

User Load (2.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 56ms (Views: 49.6ms | ActiveRecord: 2.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 18:59:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CubzaAXk8jKx+0wvxRxPeruRQzf5UqrLY2i8KwQByBI52Cmj/bLTxevRMZRItJLxgzOmX5ZGhapQ5eYigyNvCQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"efgb", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Redirected to localhost:3000/urls/show?Status=Already+Exists&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 10ms (ActiveRecord: 2.0ms)

Started GET “/urls/show?Status=Already+Exists&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 18:59:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 56ms (Views: 50.7ms | ActiveRecord: 0.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 18:59:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (9.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (13.0ms)

Completed 200 OK in 58ms (Views: 47.4ms | ActiveRecord: 9.6ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 19:00:28 +0530 Processing by UrlsController#long_to_short as HTML

User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 76ms (Views: 68.9ms | ActiveRecord: 1.7ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 19:00:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oP3rfbASUK/wlzhlFBfLs9CD3I5ao26otCmupj37xKaTwzG2SERxWKq9Rd6ZvxY46CE55jW3QcmHpPSvutljvQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Redirected to localhost:3000/urls/show?Status=Already+Exists&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 10ms (ActiveRecord: 2.0ms)

Started GET “/urls/show?Status=Already+Exists&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:00:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (8.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (296.1ms)

Completed 500 Internal Server Error in 312ms (ActiveRecord: 8.1ms)

ActionView::Template::Error (undefined local variable or method `continue' for #<#<Class:0x00007f8da4b496a8>:0x00007f8da4a9dcb8>):

1: <% @result.each do |key,value|%>
2: <% if key == "action"%>
3: <%= continue %>
4: <% end %>
5: <%= key %> : <%= value%><br>
6: <%end %>

app/views/urls/show.erb:3:in `block in _app_views_urls_show_erb__4518070198106985612_70123164857220' app/views/urls/show.erb:1:in `_app_views_urls_show_erb__4518070198106985612_70123164857220' Started GET “/urls/show?Status=Already+Exists&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:01:27 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 43ms (Views: 39.4ms | ActiveRecord: 0.7ms)

Started GET “/urls/show?Status=Already+Exists&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:01:49 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.8ms)

Completed 200 OK in 67ms (Views: 63.5ms | ActiveRecord: 0.4ms)

Started GET “/urls/show?Status=Already+Exists&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:02:27 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 96ms (Views: 79.5ms | ActiveRecord: 4.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:02:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (3.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.6ms)

Completed 200 OK in 56ms (Views: 50.7ms | ActiveRecord: 3.5ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 19:02:29 +0530 Processing by UrlsController#long_to_short as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.5ms)

Completed 200 OK in 67ms (Views: 62.3ms | ActiveRecord: 0.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 19:02:32 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"z1QJEAsWhvvIOSvo7cuior4XDrPpppnDHu4wbYpbWXv8atPb80CnDJITVlNgY38phrXr24aytqItY2pkDXn+YA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"aaa", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Redirected to localhost:3000/urls/show?Status=Already+Exists&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 15ms (ActiveRecord: 4.7ms)

Started GET “/urls/show?Status=Already+Exists&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:02:32 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 59ms (Views: 54.2ms | ActiveRecord: 1.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:03:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.7ms)

Completed 200 OK in 46ms (Views: 42.3ms | ActiveRecord: 3.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 19:03:03 +0530 Processing by UrlsController#long_to_short as HTML

User Load (7.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 66ms (Views: 53.6ms | ActiveRecord: 7.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 19:03:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nuuLueD/jcWOUa/r5PtJEcg8Hyg8js/sWCV25Onb9kWt1VFyGKmsMtR70lBpU5Sa8J76QFOa4I1rqCztbvlRXg==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 16ms (ActiveRecord: 4.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:03:06 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (1.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 55ms (Views: 49.6ms | ActiveRecord: 1.9ms)

Started GET “/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:03:13 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 66ms (Views: 63.8ms | ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:03:13 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.6ms)

Completed 200 OK in 49ms (Views: 44.1ms | ActiveRecord: 0.5ms)

Started GET “/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:03:14 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 48ms (Views: 45.1ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:03:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (7.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.4ms)

Completed 200 OK in 68ms (Views: 58.8ms | ActiveRecord: 7.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:04:50 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (34.4ms)

Completed 200 OK in 290ms (Views: 277.4ms | ActiveRecord: 5.1ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 19:04:51 +0530 Processing by UrlsController#long_to_short as HTML

User Load (4.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (9.7ms)

Completed 200 OK in 109ms (Views: 99.7ms | ActiveRecord: 4.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 19:04:55 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zpTM2Ay2Ri2pqrmkv7MzXq/gBnVxXzEezE4i14f03rj9qhYT9OBn2vOAxB8yG+7Vl0LjHR5LHn//w3jeANZ5ow==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"sc", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.8ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 19ms (ActiveRecord: 4.7ms)

Started GET “/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:04:55 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 89ms (Views: 83.7ms | ActiveRecord: 1.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:04:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (5.2ms)

Completed 200 OK in 101ms (Views: 98.3ms | ActiveRecord: 1.9ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-20 19:04:58 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:76
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.2ms)

Completed 200 OK in 68ms (Views: 58.5ms | ActiveRecord: 0.6ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 19:05:00 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GsTqelGVmLgrzK3+0CuoNgnbIt6yshaayn9uEJGZduT3bf4J2IkHtUj3K6Suqf7XtGcZDd4eqZRYaqaWalvvVw==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:05:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 67ms (Views: 63.1ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:05:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.2ms)

Completed 200 OK in 69ms (Views: 65.7ms | ActiveRecord: 2.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-20 19:05:02 +0530 Processing by UrlsController#short_to_long as HTML

User Load (8.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:76
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 75ms (Views: 63.1ms | ActiveRecord: 8.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 19:05:05 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V1vbnhxq/LoLtmL809VCfJAI8jj46xDvJmEgT/oS9Eq68s/tlXZjt2iN5KatVxSdLbTJ65RHr+G0dOjJAdBt+Q==", "short_url"=>"dsfvfdsa", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/dsfvfdsa"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 2ms (ActiveRecord: 0.4ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-20 19:05:05 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (5.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.0ms)

Completed 200 OK in 62ms (Views: 52.7ms | ActiveRecord: 5.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:05:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (4.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.7ms)

Completed 200 OK in 75ms (Views: 69.6ms | ActiveRecord: 4.3ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptiger./urls/vipul” for 127.0.0.1 at 2019-01-20 19:05:09 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptiger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (1.0ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger./urls/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger./urls/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "www.proptiger./urls/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 2.6ms)

Started POST “/shorten-url?domain=proptiger&long_url=www.proptidcscger./urls/vipul” for 127.0.0.1 at 2019-01-20 19:05:15 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"proptiger", "long_url"=>"www.proptidcscger./urls/vipul"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptidcscger./urls/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (0.6ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.proptidcscger./urls/vipul"]]
↳ app/controllers/urls_controller.rb:7
 (2.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6967f"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "www.proptidcscger./urls/vipul"], ["id", 150], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/6967f"], ["domain", "proptiger"], ["id", 150]]
↳ app/controllers/urls_controller.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 6.2ms)

Started GET “/short-url?short_url=www.vg.sw.n/6967f” for 127.0.0.1 at 2019-01-20 19:05:52 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/6967f"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/6967f"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 19:07:22 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (15.5ms)

Completed 200 OK in 333ms (Views: 323.9ms | ActiveRecord: 4.5ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 19:07:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.1ms)

Completed 200 OK in 44ms (Views: 42.8ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-20 19:07:51 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (2.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (9.7ms)

Completed 200 OK in 49ms (Views: 46.0ms | ActiveRecord: 0.0ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-20 19:07:54 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2/FSll/vJ/FpLqe+e6O/Oz1SpvFiq/hndQxdFvCmI9qyHdKCkpncJrnnvDqqAZpaY7TzNb344pjshFu243/X8Q==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Completed 401 Unauthorized in 133ms (ActiveRecord: 0.4ms)

Processing by Devise::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2/FSll/vJ/FpLqe+e6O/Oz1SpvFiq/hndQxdFvCmI9qyHdKCkpncJrnnvDqqAZpaY7TzNb344pjshFu243/X8Q==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.0ms)
Rendered devise/sessions/new.html.erb within layouts/application (4.0ms)

Completed 200 OK in 196ms (Views: 67.4ms | ActiveRecord: 0.0ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-20 19:07:58 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hq6KFS/JL2HSyLfYDwsLJ4o3qbiNYrriQx+ZnSerQQxEI2DrAvjNKvozYQoecvHFD0DDTFB7DYGi6QUfliEJ6g==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 140ms (ActiveRecord: 0.4ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 19:07:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 40ms (Views: 38.0ms | ActiveRecord: 0.4ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-20 19:08:06 +0530 Processing by UrlsController#short_to_long as HTML

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:76
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 48ms (Views: 43.5ms | ActiveRecord: 1.1ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-20 19:08:08 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7dCQaEapq0sAS3HCwy65bwPZNGH+szWHS/K3kAHWk/VK1PMy/v88YvItrFXMEpaH3gN/Y44diwm3bUQdfn4oJQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 9ms (ActiveRecord: 3.5ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-20 19:08:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 51ms (Views: 46.6ms | ActiveRecord: 0.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:08:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.0ms)

Completed 200 OK in 68ms (Views: 65.2ms | ActiveRecord: 0.8ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-20 19:08:13 +0530 Processing by UrlsController#long_to_short as HTML

User Load (3.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 58ms (Views: 51.1ms | ActiveRecord: 3.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-20 19:08:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rM/x752Y90Ru9SkpNsVjVv+N1AYSN6dwd5SEwYO5srEz6hHm5B/BQarQxZIkZqVGObxAUOWYoL/9Y9KTdzfdsA==", "long_url"=>"http://localhost:3000/urls/long_to_short", "domain"=>"dsv", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "http://localhost:3000/urls/long_to_short"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "http://localhost:3000/urls/long_to_short"]]
↳ app/controllers/urls_controller.rb:7
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e3579"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "http://localhost:3000/urls/long_to_short"], ["id", 151], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/e3579"], ["domain", "dsv"], ["id", 151]]
↳ app/controllers/urls_controller.rb:14
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=dsv&long_url=http%3A%2F%2Flocalhost%3A3000%2Furls%2Flong_to_short&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fe3579 Completed 200 OK in 22ms (ActiveRecord: 14.5ms)

Started GET “/urls/show?Status=Success&domain=dsv&long_url=http%3A%2F%2Flocalhost%3A3000%2Furls%2Flong_to_short&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fe3579” for 127.0.0.1 at 2019-01-20 19:08:18 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"dsv", "long_url"=>"http://localhost:3000/urls/long_to_short", "short_url"=>"https://www.vg.sw.n/e3579"}
User Load (2.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 60ms (Views: 55.1ms | ActiveRecord: 2.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:08:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.5ms)

Completed 200 OK in 52ms (Views: 49.3ms | ActiveRecord: 1.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:10:32 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (13.9ms)

Completed 200 OK in 345ms (Views: 336.3ms | ActiveRecord: 3.8ms)

Started GET “/users/sign_out” for 127.0.0.1 at 2019-01-20 19:10:37 +0530

ActionController::RoutingError (No route matches [GET] “/users/sign_out”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/sign_out” for 127.0.0.1 at 2019-01-20 19:11:14 +0530

ActionController::RoutingError (No route matches [GET] “/users/sign_out”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/sign_out” for 127.0.0.1 at 2019-01-20 19:11:14 +0530

ActionController::RoutingError (No route matches [GET] “/users/sign_out”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:11:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (369.7ms)

Completed 500 Internal Server Error in 372ms (ActiveRecord: 0.3ms)

ActionView::Template::Error (undefined local variable or method `destroy_user_session' for #<#<Class:0x00007fc7909c7250>:0x00007fc7915c5c00> Did you mean? destroy_user_session_url

            destroy_user_session_path):
 4: Select the Service <br>
 5: <%= link_to "Find Short Url",urls_long_to_short_path%> <br>
 6: <%= link_to "Find Long Url",urls_short_to_long_path%> <br>
 7: <right><%=link_to "SignOut",destroy_user_session%></right>
 8: <% else %>
 9: <%= link_to "SignUp",new_user_registration_path%> or 
10: <%= link_to "Login",new_user_session_path%> to continue

app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___3115220191968669580_70247556985360' Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:12:04 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (357.4ms)

Completed 500 Internal Server Error in 365ms (ActiveRecord: 4.0ms)

ActionView::Template::Error (undefined local variable or method `destroy_user_session' for #<#<Class:0x00007fc31e9ce030>:0x00007fc31e9e4bf0> Did you mean? destroy_user_session_url

            destroy_user_session_path):
 4: Select the Service <br>
 5: <%= link_to "Find Short Url",urls_long_to_short_path%> <br>
 6: <%= link_to "Find Long Url",urls_short_to_long_path%> <br>
 7: <right><%=link_to "SignOut",destroy_user_session%></right>
 8: <% else %>
 9: <%= link_to "SignUp",new_user_registration_path%> or 
10: <%= link_to "Login",new_user_session_path%> to continue

app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__3481107162012353036_70238004460100' Started GET “/home/index” for 127.0.0.1 at 2019-01-20 19:12:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 293ms (Views: 291.6ms | ActiveRecord: 0.3ms)

Started GET “/views/sign_out” for 127.0.0.1 at 2019-01-20 19:12:20 +0530

ActionController::RoutingError (No route matches [GET] “/views/sign_out”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-20 19:14:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.5ms)

Completed 200 OK in 66ms (Views: 63.6ms | ActiveRecord: 0.5ms)

Started DELETE “/users/sign_out” for 127.0.0.1 at 2019-01-20 19:14:03 +0530 Processing by Devise::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"52WLdQzxk1vOfPBJ3YDwLQuY1B37rL9SUxj1+d7Cdj7G2EapLT9XHzv4z760XI2mbdQ6WWwdv7rogiti1a7ihg=="}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  COMMIT
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 10ms (ActiveRecord: 0.7ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 19:14:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-20 19:14:35 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.0ms)
Rendered devise/sessions/new.html.erb within layouts/application (7.7ms)

Completed 200 OK in 311ms (Views: 292.2ms | ActiveRecord: 3.5ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-20 19:14:41 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"W9PWXNcaG8tAfBuurBp/zhpJRROVG+jRJlVdxt7etY5OC3onZRjZLzc3kW5kaqw3hbGspxVEoUVsdDovqY85OA==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 147ms (ActiveRecord: 1.7ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 19:14:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 43ms (Views: 41.8ms | ActiveRecord: 0.4ms)

Started DELETE “/users/sign_out” for 127.0.0.1 at 2019-01-20 19:14:46 +0530 Processing by Devise::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"2vokFAMFjq54kqRv7an/B6iUBhoM7U7HzY1XEZsBUvIwvPGrD8XcDf8CQxK0qaey7kmBkcFBdiI/v7PGxsLvMQ=="}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  COMMIT
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 8ms (ActiveRecord: 1.3ms)

Started GET “/” for 127.0.0.1 at 2019-01-20 19:14:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 41ms (Views: 39.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:03:13 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.4ms)

Completed 200 OK in 412ms (Views: 407.1ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-21 02:03:15 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (14.2ms)

Completed 200 OK in 70ms (Views: 46.5ms | ActiveRecord: 10.2ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-21 02:03:21 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPFOYKWe79ZPXIjFUcmch26Hcx7PzPuHL+dM7NID5sFNx1V4VCwytn4N/D38Y0cQs8GTTakTiZOrH5vS+qK9+w==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (23.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 172ms (ActiveRecord: 23.8ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:03:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.3ms)

Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 0.6ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 02:03:22 +0530 Processing by UrlsController#long_to_short as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:73
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 84ms (Views: 78.3ms | ActiveRecord: 0.5ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 02:03:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nap5hD5DRTsYyec1Qnyp0p5YrKctq3UQf1ITe6CSCcIV7qcVv81afHFvFV+XN/nuvo0C4Xa7GofzWLcUxrNVUg==", "long_url"=>"https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/", "domain"=>"ssfdssf", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
Url Create (18.0ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/"]]
↳ app/controllers/urls_controller.rb:8
 (1.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:8
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:18
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/"], ["id", 152], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:18
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/w5QH3cC"], ["domain", "ssfdssf"], ["id", 152]]
↳ app/controllers/urls_controller.rb:18
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:18

Redirected to localhost:3000/urls/show?Status=Success&domain=ssfdssf&long_url=https%3A%2F%2Fhelp.github.com%2Farticles%2Fresolving-a-merge-conflict-using-the-command-line%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fw5QH3cC Completed 200 OK in 37ms (ActiveRecord: 23.8ms)

Started GET “/urls/show?Status=Success&domain=ssfdssf&long_url=https%3A%2F%2Fhelp.github.com%2Farticles%2Fresolving-a-merge-conflict-using-the-command-line%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fw5QH3cC” for 127.0.0.1 at 2019-01-21 02:03:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"ssfdssf", "long_url"=>"https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/", "short_url"=>"https://www.vg.sw.n/w5QH3cC"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 86ms (Views: 81.3ms | ActiveRecord: 0.3ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:03:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (4.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (8.1ms)

Completed 200 OK in 100ms (Views: 92.8ms | ActiveRecord: 4.6ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:03:39 +0530 Processing by UrlsController#short_to_long as HTML

User Load (1.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.4ms)

Completed 200 OK in 75ms (Views: 65.3ms | ActiveRecord: 1.6ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:03:43 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ivOrVfz/Em1fO+ucN4Yk2Rz4bGcAp2la3w19jeDdruVszkZcw9V07/tceF99w/VCtAVyRIRv3IBlBdm/B7Wp5w==", "short_url"=>" https://www.vg.sw.n/w5QH3cC", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/ https://www.vg.sw.n/w5QH3cC"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:55

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 2ms (ActiveRecord: 0.4ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:03:43 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (2.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 59ms (Views: 53.0ms | ActiveRecord: 2.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:03:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.8ms)

Completed 200 OK in 52ms (Views: 49.7ms | ActiveRecord: 0.5ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:03:45 +0530 Processing by UrlsController#short_to_long as HTML

User Load (2.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.6ms)

Completed 200 OK in 73ms (Views: 68.1ms | ActiveRecord: 2.3ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:04:00 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+iW2TIOKwTr4dVsEzlHd17Da1i8kPCjwxtPiGlzrGrocGFtFvKCnuFwSyMeEFAxMGCfIDKD0nSp820You4MduA==", "short_url"=>"https://www.vg.sw.n/w5QH3cC", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/w5QH3cC"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:55

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=ssfdssf&long_url=https%3A%2F%2Fhelp.github.com%2Farticles%2Fresolving-a-merge-conflict-using-the-command-line%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fw5QH3cC Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=ssfdssf&long_url=https%3A%2F%2Fhelp.github.com%2Farticles%2Fresolving-a-merge-conflict-using-the-command-line%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fw5QH3cC” for 127.0.0.1 at 2019-01-21 02:04:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"ssfdssf", "long_url"=>"https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/", "short_url"=>"https://www.vg.sw.n/w5QH3cC"}
User Load (10.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 67ms (Views: 51.9ms | ActiveRecord: 10.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:04:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.1ms)

Completed 200 OK in 53ms (Views: 50.0ms | ActiveRecord: 1.6ms)

Started GET “/short-url?short_url=www.vg.sw.n/6967f” for 127.0.0.1 at 2019-01-21 02:04:18 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/6967f"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/6967f"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:55

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started POST “/short-url?long_url=www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19&domain=cricbuzz” for 127.0.0.1 at 2019-01-21 02:05:09 +0530

ActionController::RoutingError (No route matches [POST] “/short-url”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' activesupport (5.2.2) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/shorten-url?long_url=www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19&domain=cricbuzz” for 127.0.0.1 at 2019-01-21 02:05:30 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19", "domain"=>"cricbuzz"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19"]]
↳ app/controllers/urls_controller.rb:8
 (2.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:8
 (1.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:18
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19"], ["id", 153], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:18
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/eZhDicD"], ["domain", "cricbuzz"], ["id", 153]]
↳ app/controllers/urls_controller.rb:18
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:18

Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 5.2ms)

Started POST “/shorten-url?long_url=www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19&domain=cricbuzz” for 127.0.0.1 at 2019-01-21 02:05:35 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19", "domain"=>"cricbuzz"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
 (1.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:8
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26

Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 2.6ms)

Started POST “/shorten-url?long_url=www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19&domain=cricbuzz” for 127.0.0.1 at 2019-01-21 02:05:36 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19", "domain"=>"cricbuzz"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:8
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/21345/akl-vs-otg-21st-match-super-smash-2018-19"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26

Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 1.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:07:47 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (15.2ms)

Completed 200 OK in 331ms (Views: 321.7ms | ActiveRecord: 4.3ms)

Started DELETE “/users/sign_out” for 127.0.0.1 at 2019-01-21 02:07:48 +0530 Processing by Devise::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"7cTshbiEfATT2ALapSiQZr+vkWSvmBK5AadxzJMuKbUuFxyIFcVT5G2hrdXKeUQFyUxTXaC7PT5FdCrdvZBhLQ=="}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  COMMIT
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 10ms (ActiveRecord: 1.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:07:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 47ms (Views: 46.1ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-21 02:07:49 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.8ms)
Rendered devise/sessions/new.html.erb within layouts/application (13.2ms)

Completed 200 OK in 74ms (Views: 69.9ms | ActiveRecord: 0.0ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-21 02:07:54 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wZkGyCCk0dLavHJNLcDmK1PMkbtuilEX5Fp4chZojWSrBhEdoIUy62HWL75y7pTFgixuDOSdN0nftC3bDf1vSg==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (2.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 147ms (ActiveRecord: 2.7ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:07:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 69ms (Views: 67.7ms | ActiveRecord: 0.4ms)

Started DELETE “/users/sign_out” for 127.0.0.1 at 2019-01-21 02:07:56 +0530 Processing by Devise::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"HzhNRFjxEpV4OXJQ1BBNd0OVXN4WfKVAOboYS9dcBpDsJFBjASWFRTAI8JDxe7CmCX5XDOQsG+TPzVnoRvMoeA=="}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  COMMIT
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 8ms (ActiveRecord: 1.1ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:07:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:15:24 +0530

 (1.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.1ms)

Completed 200 OK in 226ms (Views: 219.7ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-21 02:15:25 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.6ms)
Rendered devise/sessions/new.html.erb within layouts/application (12.7ms)

Completed 200 OK in 146ms (Views: 101.7ms | ActiveRecord: 10.7ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-21 02:15:30 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0sx9jbLrLjcYzSp+S7HXgWj1BKLS7s1ej1CdBYsFm7H3Czd543TTD4G2pKVyONg2/S6MI0K6sBvdbxMHl9Aabg==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (3.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 149ms (ActiveRecord: 3.2ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:15:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.3ms)

Completed 200 OK in 118ms (Views: 115.6ms | ActiveRecord: 0.6ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:15:34 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.2ms)

Completed 200 OK in 87ms (Views: 79.7ms | ActiveRecord: 0.8ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:15:37 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mBPk8X6JPJ95+vbi21BLlzlhZIVLMhbG9pzBvCuKRsZ6Q+R/rzmWDHXznhMu+nNvQXI6nRfGx623G6xDmvXGYQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 14ms (ActiveRecord: 3.2ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 02:15:37 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (2.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:85
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 78ms (Views: 72.6ms | ActiveRecord: 2.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:15:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (3.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.5ms)

Completed 200 OK in 56ms (Views: 51.2ms | ActiveRecord: 3.4ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:15:58 +0530 Processing by UrlsController#short_to_long as HTML

User Load (9.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.1ms)

Completed 200 OK in 67ms (Views: 54.7ms | ActiveRecord: 9.3ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:16:01 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/qMcKfHVy+D2gk5HBmh+EJA4/YfqARLjs5cacurD6wQc8xynIGVhc/qLJrbzwkbo6Cujn7b1w4jyEHeNW7xrow==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 02:16:01 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:85
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 60ms (Views: 55.9ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:16:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.2ms)

Completed 200 OK in 53ms (Views: 48.8ms | ActiveRecord: 3.2ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:16:49 +0530 Processing by UrlsController#short_to_long as HTML

User Load (2.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.1ms)

Completed 200 OK in 93ms (Views: 37.4ms | ActiveRecord: 2.6ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:16:52 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UON+C7AcSzXn1P+3N+fGhNB6PhctRNghfyPZCfbIkbeys36FYazhpuvdl0bCTf58qGlgD3GwCUo+pLT2R7cREA==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 10ms (ActiveRecord: 3.2ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:16:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (4.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:85
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 59ms (Views: 51.2ms | ActiveRecord: 4.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:17:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (3.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.8ms)

Completed 200 OK in 60ms (Views: 56.3ms | ActiveRecord: 3.1ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:17:35 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 54ms (Views: 51.0ms | ActiveRecord: 0.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:17:39 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uZHMAb5KaKisp3/ZQP9f+EAepSAFMzvXs5bvCVTx6O9bwcyPb/rCO6CuFyi1VWcAOA37OFnH6rzyEYL25Y5oSA==", "short_url"=>" https://www.vg.sw.n/w5QH3cC", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/ https://www.vg.sw.n/w5QH3cC"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:17:39 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (10.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:85
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 49.6ms | ActiveRecord: 10.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:19:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (12.0ms)

Completed 200 OK in 48ms (Views: 43.7ms | ActiveRecord: 3.7ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:19:11 +0530 Processing by UrlsController#short_to_long as HTML

User Load (5.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 57ms (Views: 49.0ms | ActiveRecord: 5.2ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:19:19 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lnUP1LyJjVXsHvDUTCYqSxh7/yeq+bRdjkQPwMc+dpt0JQ9abTknxuAXmCW5jBKzYGihP/YNZTbPw2I/dkH2PA==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 9ms (ActiveRecord: 2.5ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:19:20 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (2.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:85
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 65ms (Views: 58.6ms | ActiveRecord: 2.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:19:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.4ms)

Completed 200 OK in 57ms (Views: 55.0ms | ActiveRecord: 1.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 02:19:47 +0530 Processing by UrlsController#long_to_short as HTML

User Load (3.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:71
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.9ms)

Completed 200 OK in 56ms (Views: 50.1ms | ActiveRecord: 3.1ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 02:19:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CllGysdKI+A065LQn/UHfVXCoj2yd5mg/2hmTgswqJ67EEXgMvIDzS1DsZ+QWzwcewD9qVOnFVgFSV4iDcXvOA==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"efgb", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:7
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["id", 154], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "efgb"], ["id", 154]]
↳ app/controllers/urls_controller.rb:14
 (1.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=efgb&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 40ms (ActiveRecord: 9.5ms)

Started GET “/urls/show?Status=Success&domain=efgb&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-21 02:19:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"efgb", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:85
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 60ms (Views: 55.2ms | ActiveRecord: 1.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:19:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.7ms)

Completed 200 OK in 55ms (Views: 52.2ms | ActiveRecord: 0.8ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:19:59 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 60ms (Views: 53.4ms | ActiveRecord: 3.8ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:20:02 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CEb09zPrdUIvP5KG5ZRJw+/7fFbc8s95TTgvbgNaxWPqFvR54lvf0SM2+ncQPnE7l+giToAGHhIMv0KRsiVFxA==", "short_url"=>"https://www.vg.sw.n/17a68", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:20:02 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (13.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:85
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 65ms (Views: 47.2ms | ActiveRecord: 13.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:20:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (6.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.1ms)

Completed 200 OK in 59ms (Views: 50.4ms | ActiveRecord: 6.4ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:20:06 +0530 Processing by UrlsController#short_to_long as HTML

User Load (8.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 74ms (Views: 62.7ms | ActiveRecord: 8.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:22:37 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9AfO5byrtUjqfuegKNSBzLHuJ3ApDi/tLzxQUtKWNKgWV85rbRsf2+Z3j1Hdfrk0yf15aHX6/oZuuz2tY+m0Dw==", "short_url"=>"https://www.vg.sw.n/17a68", "commit"=>"Generate Short Url"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 9ms (ActiveRecord: 2.6ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:22:37 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.6ms)

Completed 200 OK in 60ms (Views: 36.8ms | ActiveRecord: 9.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:23:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (5.3ms)

Completed 200 OK in 58ms (Views: 54.6ms | ActiveRecord: 1.1ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 02:23:03 +0530 Processing by UrlsController#long_to_short as HTML

User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:73
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 65ms (Views: 59.7ms | ActiveRecord: 2.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 02:23:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0feStSR2sbXknUzr+OZ/oH+ZPlSsil5z9laJznkTgI9gvpGf0c6RmP01b6T3SETBUVthwE1a0osMd7Gif+bHKQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:143
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 10ms (ActiveRecord: 1.8ms)

Started GET “/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 02:23:07 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (1.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 92ms (Views: 87.5ms | ActiveRecord: 1.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:23:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.7ms)

Completed 200 OK in 57ms (Views: 55.2ms | ActiveRecord: 0.6ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:23:18 +0530 Processing by UrlsController#short_to_long as HTML

User Load (4.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.4ms)

Completed 200 OK in 59ms (Views: 51.2ms | ActiveRecord: 4.2ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:23:23 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ic/GmZwSTbKOFysRNvHGI7yjlzcRSDlygIeuMFa9SubDn8YXTaLnIYIeQ+DDW/7bxLDJL0286BnBAMPP58LKQQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:23:23 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (7.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 53.2ms | ActiveRecord: 7.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:24:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.7ms)

Completed 200 OK in 49ms (Views: 44.5ms | ActiveRecord: 3.2ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:24:02 +0530 Processing by UrlsController#short_to_long as HTML

User Load (1.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 94ms (Views: 89.0ms | ActiveRecord: 1.9ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:24:04 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Dt8MmBGud9nFxtsv8aJqBoF6xz3u3E4FuYw5lLnLz/7sjwwWwB7dSsnPs94ECFL++WmZJbIon274C1RrCLRPWQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 10ms (ActiveRecord: 2.5ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 02:24:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (3.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 74ms (Views: 66.3ms | ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:24:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.1ms)

Completed 200 OK in 49ms (Views: 44.6ms | ActiveRecord: 3.2ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:24:43 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.9ms)

Completed 200 OK in 65ms (Views: 57.8ms | ActiveRecord: 3.9ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:24:45 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NRrLJ5uQaS5mDz++H0fLeF8gkJStzCu9jEX/X2xxzhfXSsupSiDDvWoGV0/q7fOAJzPOjPE4+tbNwpKg3Q5OsA==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 11ms (ActiveRecord: 2.6ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:24:45 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (3.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 92ms (Views: 83.0ms | ActiveRecord: 3.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:25:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.9ms)

Completed 200 OK in 56ms (Views: 52.6ms | ActiveRecord: 2.7ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:25:32 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 67.8ms | ActiveRecord: 0.7ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:25:35 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RQrgA4NrJAXsSqWsjPepRcUxqo4PZw1SU2rWc4+HmSinWuCNUtuOluBDzV15XZG9vSL0llOT3DkS7buMPvgZjw==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 9ms (ActiveRecord: 2.4ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:25:35 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (3.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (8.5ms)

Completed 200 OK in 72ms (Views: 64.4ms | ActiveRecord: 3.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:26:54 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (22.4ms)

Completed 200 OK in 356ms (Views: 346.7ms | ActiveRecord: 4.2ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:26:55 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (4.9ms)

Completed 200 OK in 92ms (Views: 85.6ms | ActiveRecord: 0.5ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:26:58 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"j8ym41cM82p7iRYP18bR+HTmOTvGk6W5gEuhe+uhqe9tnKZthrxZ+XeAfv4ibOkADPVnI5pndNLBzMyEWt4pSA==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 5ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:26:58 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (4.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 59ms (Views: 51.2ms | ActiveRecord: 4.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:27:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (13.1ms)

Completed 200 OK in 51ms (Views: 47.1ms | ActiveRecord: 3.4ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:27:23 +0530 Processing by UrlsController#short_to_long as HTML

User Load (6.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (0.9ms)

Completed 200 OK in 60ms (Views: 49.6ms | ActiveRecord: 6.6ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:27:25 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hfEB8aAI+fdRJ37vNIjhg9GLRv7aEa9+Lg9DKgbcN7xnoQF/cbhTZF0uFh7BItl7qZgY5oblfhVviC7Vt6O3Gw==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 11ms (ActiveRecord: 3.5ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:27:25 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (19.2ms)

Completed 200 OK in 72ms (Views: 68.2ms | ActiveRecord: 0.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:28:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (12.8ms)

Completed 200 OK in 49ms (Views: 44.8ms | ActiveRecord: 3.2ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:28:16 +0530 Processing by UrlsController#short_to_long as HTML

User Load (5.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.1ms)

Completed 200 OK in 67ms (Views: 57.2ms | ActiveRecord: 5.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:28:18 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"k61qikiff5R4IoTrN7w/aaoMpSaorRYrKlj6Hta0OSNx/WoEmS/VB3Qr7BrCFgeR0h/7PvRZx0Br35fhZ8u5hA==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."short_url" = $1  [["short_url", "https://www.vg.sw.n/8f876"]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 10ms (ActiveRecord: 3.1ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:28:18 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.0ms)

Completed 200 OK in 54ms (Views: 50.2ms | ActiveRecord: 1.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:28:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (28.1ms)

Completed 200 OK in 69ms (Views: 63.9ms | ActiveRecord: 3.5ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:28:55 +0530 Processing by UrlsController#short_to_long as HTML

User Load (16.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:82
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.5ms)

Completed 200 OK in 74ms (Views: 53.4ms | ActiveRecord: 16.6ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:28:58 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rFK+ZN3J7qTb5G4t8dU2LTrlJYJh5o4dwGCWM5AjH3dOAr7qDHlEN9ftBtwEfw7VQvZ7mj0SX3aB5/vMIVyf0A==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."short_url" = $1  [["short_url", "https://www.vg.sw.n/8f876"]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 10ms (ActiveRecord: 2.8ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:28:58 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (4.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 61ms (Views: 54.0ms | ActiveRecord: 4.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:29:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.9ms)

Completed 200 OK in 65ms (Views: 61.0ms | ActiveRecord: 3.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:29:22 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:82
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.2ms)

Completed 200 OK in 70ms (Views: 62.6ms | ActiveRecord: 3.2ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:29:24 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DK36v5/zIhH3SL/RVYeSf4ZZgLFxaQXki4Fw3uDqD/nu/foxTkOIgvtB1yCgLaqH/kreqS2d1I/KBh0hUZWPXg==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 4ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:29:24 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (9.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)

Completed 200 OK in 74ms (Views: 60.3ms | ActiveRecord: 9.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:29:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.5ms)

Completed 200 OK in 64ms (Views: 59.8ms | ActiveRecord: 2.8ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:29:46 +0530 Processing by UrlsController#short_to_long as HTML

User Load (4.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:82
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 63ms (Views: 53.4ms | ActiveRecord: 4.7ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:29:48 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TVUoouqeAC7Pj+tHgeB/sKRGxShgPPmAtMLzmvjWc+OvBSgsOy6qvcOGg7Z0SkdI3FWbMDzIKOv1RZ5lSanzRA==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 4ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:29:48 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (3.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 60ms (Views: 54.3ms | ActiveRecord: 3.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:30:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (2.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.3ms)

Completed 200 OK in 58ms (Views: 54.3ms | ActiveRecord: 2.7ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:30:08 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:82
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.2ms)

Completed 200 OK in 78ms (Views: 40.9ms | ActiveRecord: 3.3ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:30:10 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JTl/a+3jT0eX6WVzefZk43EdjU9xGUhSgCf9aQKLIVrHaX/lPFPl1JvgDYKMXFwbCQ7TVy3tmTnBoJCWs/Sh/Q==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:30:10 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (6.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)

Completed 200 OK in 56ms (Views: 45.1ms | ActiveRecord: 6.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:30:34 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (16.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:30:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (9.7ms)

Completed 200 OK in 462ms (Views: 451.9ms | ActiveRecord: 4.8ms)

Completed 200 OK in 226ms (Views: 218.8ms | ActiveRecord: 5.6ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:30:36 +0530 Processing by UrlsController#short_to_long as HTML

User Load (5.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:82
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (8.4ms)

Completed 200 OK in 93ms (Views: 82.7ms | ActiveRecord: 5.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:30:38 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4pPtuSG2+WEKkOOIxRhHVUXWyUwR2GHb8cBCrVu1AtAAw+038AZT8gaZi3kwsn+tPcWXVE0ssLCwRy9S6sqCdw==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 5ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:30:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (5.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 61ms (Views: 51.7ms | ActiveRecord: 5.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:30:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (9.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (13.2ms)

Completed 200 OK in 67ms (Views: 54.7ms | ActiveRecord: 9.5ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 02:30:52 +0530 Processing by UrlsController#long_to_short as HTML

User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 73ms (Views: 69.3ms | ActiveRecord: 1.3ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 02:30:56 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3ZvYntB9uoE6TQMEWvIgSHbTLwhMzKfjAV6Dv1asNkBs0tu0JcWarCPlIEtVXBspWBFwnK0cKxv7f7vTUFlx5g==", "long_url"=>"efd", "domain"=>"a", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "efd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "efd"]]
↳ app/controllers/urls_controller.rb:7
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c9ddb"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:145
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "efd"], ["id", 155], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/c9ddb"], ["domain", "a"], ["id", 155]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb Completed 200 OK in 24ms (ActiveRecord: 12.9ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb” for 127.0.0.1 at 2019-01-21 02:30:56 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"efd", "short_url"=>"https://www.vg.sw.n/c9ddb"}
User Load (2.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.7ms)

Completed 200 OK in 83ms (Views: 73.3ms | ActiveRecord: 2.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:31:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.9ms)

Completed 200 OK in 57ms (Views: 55.5ms | ActiveRecord: 0.6ms)

Started DELETE “/users/sign_out” for 127.0.0.1 at 2019-01-21 02:31:01 +0530 Processing by Devise::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"p/oo7r+NGkt42FUSALZvHMUtq4YAf+zDiC9AODZTkbxNoMRAh+zAwFJtMnWxskDqmNWTiXUFNjxXhoEysI0CAA=="}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  COMMIT
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:31:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 49ms (Views: 48.4ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-21 02:31:02 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (14.0ms)

Completed 200 OK in 82ms (Views: 65.1ms | ActiveRecord: 0.0ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-21 02:31:07 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"s4UxUPmnV7y2HqzLhcgAqmNRmPBoqwRhgVr20EGDh8XTMREfltOpxXVIOfLRZIS+7ghaXhHALa5psaYD5fqj4g==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 146ms (ActiveRecord: 1.1ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 02:31:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 65ms (Views: 63.6ms | ActiveRecord: 0.4ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:31:08 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:82
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.4ms)

Completed 200 OK in 70ms (Views: 64.0ms | ActiveRecord: 3.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:31:13 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wJiOuC9JX9RY1lNSVJnwx3wUCa55ieaFzphr63DmGk4WDHXC5QDTmS0e0ARfjocCxlcxCkgr3b7/gvUvjaGyUg==", "short_url"=>"c9ddb", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:31:13 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (3.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 65ms (Views: 57.5ms | ActiveRecord: 3.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:31:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (12.9ms)

Completed 200 OK in 76ms (Views: 70.7ms | ActiveRecord: 4.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:31:49 +0530 Processing by UrlsController#short_to_long as HTML

User Load (2.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:82
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.2ms)

Completed 200 OK in 70ms (Views: 64.2ms | ActiveRecord: 2.8ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:31:51 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cMFeUDDYc1V0io1O9l9JmK/q8a8xiGvjRHkjn1rAOhKmVaUq+pH/GAFCDhj9SD5dFanJCwAqUNh1Y71bp4eSDg==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 4ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:31:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (3.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 63ms (Views: 56.4ms | ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:33:04 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (15.5ms)

Completed 200 OK in 305ms (Views: 295.6ms | ActiveRecord: 4.5ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:33:06 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:82
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (8.9ms)

Completed 200 OK in 68ms (Views: 63.6ms | ActiveRecord: 0.7ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:33:08 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PUGrJ713CRW0ooqBlwqe6TBRQhVYUe0/XZVL7Oex77Hr1VBddz6FWMFqCdecHeksihJ6sWnz1gRsj9UoGvZHrQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 7ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:33:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 59ms (Views: 53.5ms | ActiveRecord: 2.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:34:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.9ms)

Completed 200 OK in 47ms (Views: 42.4ms | ActiveRecord: 3.8ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:34:18 +0530 Processing by UrlsController#short_to_long as HTML

User Load (1.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:82
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.4ms)

Completed 200 OK in 66ms (Views: 60.6ms | ActiveRecord: 1.9ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:34:19 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ANZ+frnfl0Pl9IsetLfzZWzekyNhjRq5vr5K9b+/3E7WQoUEc5YbDpA8CEi/oISg1p2rh1AvIYKPpNQxQvh0Ug==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 11ms (ActiveRecord: 3.2ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:34:19 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (3.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (3.6ms)

Completed 200 OK in 72ms (Views: 63.1ms | ActiveRecord: 3.2ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 11]]
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:36:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.3ms)

Completed 200 OK in 52ms (Views: 48.3ms | ActiveRecord: 2.8ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:36:22 +0530 Processing by UrlsController#short_to_long as HTML

User Load (7.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.2ms)

Completed 200 OK in 66ms (Views: 54.8ms | ActiveRecord: 7.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:36:24 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LhaU2grC4AA71CLNR2luI0WKZeI/av7S/KhVhtLfMy/4gm+gwItsTU4coZtMfhnm/8ldRg7IxenNsstCL5ibMw==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 10ms (ActiveRecord: 2.4ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:36:24 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (11.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 67ms (Views: 51.6ms | ActiveRecord: 11.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:37:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (29.6ms)

Completed 200 OK in 68ms (Views: 63.3ms | ActiveRecord: 3.4ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:37:19 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (3.8ms)

Completed 200 OK in 64ms (Views: 59.9ms | ActiveRecord: 0.8ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:37:21 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gVa1RjvCafaJDUXbEjGU8Q3l0bdgChIdR8paH3C6OtpXwk488Yvlu/zFxo0ZJuM0t6bpE1GoKSZ20MTbjf2Sxg==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:37:21 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (2.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 70ms (Views: 64.0ms | ActiveRecord: 2.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:37:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (12.4ms)

Completed 200 OK in 70ms (Views: 65.8ms | ActiveRecord: 3.7ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:37:39 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.4ms)

Completed 200 OK in 58ms (Views: 53.2ms | ActiveRecord: 0.7ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:37:41 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gMcGAr53yy4eteUCD0UDC8pXw1uhB85Q2XOsHmFLd/5WU/14dD5HY2t9ZlQEUnTOcBT7/5Cl9WvoaTLanAzf4g==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."short_url" = $1  [["short_url", "https://www.vg.sw.n/8f876"]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 12ms (ActiveRecord: 2.5ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:37:41 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (7.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)

Completed 200 OK in 75ms (Views: 64.7ms | ActiveRecord: 7.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:38:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (6.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (9.5ms)

Completed 200 OK in 59ms (Views: 51.0ms | ActiveRecord: 6.6ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:38:44 +0530 Processing by UrlsController#short_to_long as HTML

User Load (6.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (28.5ms)

Completed 200 OK in 80ms (Views: 68.8ms | ActiveRecord: 6.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:38:46 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u72ydrcJyqI8nhqg5pjZz/TVswBv5VH3M65eILTODORtKUkMfUBG70lWmfbtj64KTpaLpF5HaswCtMDkSYmk+A==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."short_url" = $1  [["short_url", "https://www.vg.sw.n/8f876"]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:38:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (6.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 68ms (Views: 57.6ms | ActiveRecord: 6.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:39:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.6ms)

Completed 200 OK in 50ms (Views: 46.1ms | ActiveRecord: 2.8ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 02:39:59 +0530 Processing by UrlsController#long_to_short as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:73
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (27.4ms)

Completed 200 OK in 76ms (Views: 70.0ms | ActiveRecord: 0.7ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:40:02 +0530 Processing by UrlsController#short_to_long as HTML

User Load (1.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.5ms)

Completed 200 OK in 66ms (Views: 60.2ms | ActiveRecord: 1.9ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:40:04 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"E5fTz0ULu5JT5bjCmP5/zslHRBXL1HfKL0aBSsXsInHFAyi1j0I33yYtO5ST6QgLcwR8sfp2TPEeXB+OOKuKbQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 4ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:40:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (5.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 62ms (Views: 51.6ms | ActiveRecord: 5.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:40:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.0ms)

Completed 200 OK in 66ms (Views: 62.5ms | ActiveRecord: 3.1ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:40:25 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.6ms)

Completed 200 OK in 64ms (Views: 58.1ms | ActiveRecord: 3.2ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:40:27 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PJjJJIG+KKhF9ONWxkEJ3+wH5uZ/3YRLJFuhBi8/NEvqDDJeS/ek5TA8YADNVn4aVkTeQk5/v3AVQT/C0nicVw==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 5ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:40:27 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (4.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.0ms)

Completed 200 OK in 65ms (Views: 57.4ms | ActiveRecord: 4.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:41:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (12.1ms)

Completed 200 OK in 52ms (Views: 48.2ms | ActiveRecord: 3.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:41:26 +0530 Processing by UrlsController#short_to_long as HTML

User Load (7.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.1ms)

Completed 200 OK in 70ms (Views: 58.8ms | ActiveRecord: 7.3ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:41:29 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"17yVNxpDvlQNRm+D75t5ldnh5jSqshOP07u6SEoydjQBKG5N0AoyGXiO7NXkjA5QY6LekJsQKLTioSSMt3XeKA==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:41:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (2.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 60ms (Views: 54.3ms | ActiveRecord: 2.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 02:41:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (13.6ms)

Completed 200 OK in 54ms (Views: 50.3ms | ActiveRecord: 3.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 02:41:51 +0530 Processing by UrlsController#short_to_long as HTML

User Load (6.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:80
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.9ms)

Completed 200 OK in 71ms (Views: 60.2ms | ActiveRecord: 6.7ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 02:41:53 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cZ9hNUfzWwT+mrxzf2E6aUHTIEtmNbomFqBlbEvuR1KnC5pPjbrXSYtSPyV0dk2s+5AY71eXgR0nuvuotqnvTg==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 10ms (ActiveRecord: 2.5ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 02:41:53 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (1.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:87
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.0ms)

Completed 200 OK in 67ms (Views: 62.0ms | ActiveRecord: 1.6ms)

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]

Started GET “/” for 127.0.0.1 at 2019-01-21 09:59:21 +0530

 (1.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (4.5ms)

Completed 200 OK in 320ms (Views: 315.3ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-21 09:59:24 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (2.0ms)
Rendered devise/sessions/new.html.erb within layouts/application (22.6ms)

Completed 200 OK in 163ms (Views: 118.9ms | ActiveRecord: 33.0ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-21 09:59:28 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LxgVYP6MbK3Ve8Z5j9Jw1kNKNEQOhZjT7yuas4T2WQ5IfKRu6uqoO86VouVAgrr9SyY9yt2mJyoNNOXLB0NjHA==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (25.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 171ms (ActiveRecord: 25.7ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 09:59:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.0ms)

Completed 200 OK in 59ms (Views: 56.0ms | ActiveRecord: 1.9ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 09:59:31 +0530 Processing by UrlsController#long_to_short as HTML

User Load (9.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 134ms (Views: 119.2ms | ActiveRecord: 9.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 09:59:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yUy2tdmlxfGBxI804d1oTWyxHeF0s900yOsRbAlkwvNVMCsM+rZNxnFQ7EYBdr87cXEvSk6tvhh1QjFJBJzdhA==", "long_url"=>"https://mail.google.com/mail/u/0/?tab=wm&pli=1#", "domain"=>"google", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (13.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/0/?tab=wm&pli=1#"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (2.0ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://mail.google.com/mail/u/0/?tab=wm&pli=1#"]]
↳ app/controllers/urls_controller.rb:7
 (0.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0476c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://mail.google.com/mail/u/0/?tab=wm&pli=1#"], ["id", 156], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/0476c"], ["domain", "google"], ["id", 156]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F%3Ftab%3Dwm%26pli%3D1%23&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0476c Completed 200 OK in 48ms (ActiveRecord: 20.3ms)

Started GET “/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F%3Ftab%3Dwm%26pli%3D1%23&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0476c” for 127.0.0.1 at 2019-01-21 09:59:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google", "long_url"=>"https://mail.google.com/mail/u/0/?tab=wm&pli=1#", "short_url"=>"https://www.vg.sw.n/0476c"}
User Load (2.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.9ms)

Completed 200 OK in 61ms (Views: 54.0ms | ActiveRecord: 2.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 09:59:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.2ms)

Completed 200 OK in 94ms (Views: 92.3ms | ActiveRecord: 0.7ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 09:59:59 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:76
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.9ms)

Completed 200 OK in 65ms (Views: 61.5ms | ActiveRecord: 0.9ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:00:06 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q7kzW7JFVuBUTWN4BB0/ooBQ4OmihFFruWCuZOV7G+YS+rW9mNYpqgCxSX1je4PdOgwcZT9CaWOhpp1m6tSkKw==", "short_url"=>"https://www.vg.sw.n/0476c", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/0476c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=google&long_url=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F%3Ftab%3Dwm%26pli%3D1%23&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0476c Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=google&long_url=https%3A%2F%2Fmail.google.com%2Fmail%2Fu%2F0%2F%3Ftab%3Dwm%26pli%3D1%23&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0476c” for 127.0.0.1 at 2019-01-21 10:00:06 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"google", "long_url"=>"https://mail.google.com/mail/u/0/?tab=wm&pli=1#", "short_url"=>"https://www.vg.sw.n/0476c"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 63ms (Views: 57.2ms | ActiveRecord: 1.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:00:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.1ms)

Completed 200 OK in 70ms (Views: 67.2ms | ActiveRecord: 1.8ms)

Started DELETE “/users/sign_out” for 127.0.0.1 at 2019-01-21 10:00:11 +0530 Processing by Devise::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"IvPolJP/0RqAF/j44poUYsi9iFhq5ZoooqZJkWBUgAhvNJsl9ybdjE43wKhi0IwszOiTZkZpRk5zrfmaaIa/BA=="}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.1ms)  COMMIT
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 9ms (ActiveRecord: 1.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 10:00:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 38ms (Views: 36.6ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url?long_url=mail.google.com/mail/u/0/” for 127.0.0.1 at 2019-01-21 10:01:08 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/0/"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/0/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (1.0ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://mail.google.com/mail/u/0/"]]
↳ app/controllers/urls_controller.rb:7
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (10.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13fa2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (4.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (3.0ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://mail.google.com/mail/u/0/"], ["id", 157], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "https://www.vg.sw.n/13fa2"], ["id", 157]]
↳ app/controllers/urls_controller.rb:14
 (0.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Completed 200 OK in 29ms (Views: 0.3ms | ActiveRecord: 21.1ms)

Started GET “/short-url?short_url=www.vg.sw.n/13fa2” for 127.0.0.1 at 2019-01-21 10:01:57 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/13fa2"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/13fa2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:51

Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.3ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 10:08:50 +0530

 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (6.0ms)

Completed 200 OK in 314ms (Views: 309.6ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-21 10:08:52 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (9.9ms)

Completed 200 OK in 122ms (Views: 97.6ms | ActiveRecord: 8.3ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-21 10:08:57 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nnA5KsYe40gSiHqCd4Q8R537OSHSIkIBj/gqrFrHNagU8Z8eaRG6LRz0tKUPfyMkafq2+qp13pJK54TQ7q1dAg==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (2.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 144ms (ActiveRecord: 2.1ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 10:08:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 56ms (Views: 54.5ms | ActiveRecord: 0.4ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:09:00 +0530 Processing by UrlsController#long_to_short as HTML

User Load (12.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:74
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.3ms)

Completed 200 OK in 148ms (Views: 131.7ms | ActiveRecord: 12.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:09:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V7GPDK6bQGSwoqs2oqbaK38X8fO5n0wh6CT6nil8/u76hcs6brsnKgWGA8PDLBkwSsRhFWX6hLeSYjfq8C4nIw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:144
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 25ms (ActiveRecord: 4.9ms)

Started GET “/urls/show?Status=Already+Exists&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 10:09:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (4.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 70ms (Views: 59.0ms | ActiveRecord: 4.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:09:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (7.0ms)

Completed 200 OK in 73ms (Views: 70.8ms | ActiveRecord: 1.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:09:11 +0530 Processing by UrlsController#short_to_long as HTML

User Load (6.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.1ms)

Completed 200 OK in 62ms (Views: 52.6ms | ActiveRecord: 6.1ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:09:14 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hPkDI1nflhSlT9ZDTTeKldvGyoBISo63E7bZO/uFIDHDHPOY8F5B6hKJ98j0F4NqeIVt0OFCw+okK4cHXCn9Pg==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:53

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 10ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 10:09:15 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 69ms (Views: 63.4ms | ActiveRecord: 2.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:09:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.5ms)

Completed 200 OK in 73ms (Views: 71.0ms | ActiveRecord: 0.6ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:09:17 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 99ms (Views: 91.9ms | ActiveRecord: 3.2ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:10:54 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"N+9886+Mzz4//sTsuMuFHz3jSeR7UwrKlIaQCy3Iu1RwCoxIBg0YwIg45WcB64zgnqDutNJbR5ejG843imRmWw==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:53

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 15ms (ActiveRecord: 3.2ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 10:10:54 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (2.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 64ms (Views: 40.2ms | ActiveRecord: 9.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:14:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.5ms)

Completed 200 OK in 51ms (Views: 47.3ms | ActiveRecord: 3.2ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:14:40 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 58ms (Views: 49.7ms | ActiveRecord: 3.1ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:14:43 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yoS4p1txjp7KuUkopHBnOjAtjALW7xv0TyZbCMBnR7aNYUgc8vBZYH1/aKMdUG7Fk24rUn/nVql4uwU0Z8uauQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 13ms (ActiveRecord: 4.1ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 10:14:43 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (3.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 81ms (Views: 74.5ms | ActiveRecord: 3.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:16:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (12.1ms)

Completed 200 OK in 53ms (Views: 48.9ms | ActiveRecord: 2.9ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:16:56 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 66ms (Views: 57.9ms | ActiveRecord: 3.8ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:16:57 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bd2+1P7vCbhuRpeMBrLIzKoJ9sg23gJlge2I/ZJnEOUqOE5vV27eRtmAtge/ksEzCUpRmJ/WTzi2cNbBNcvN6g==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 11ms (ActiveRecord: 3.9ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 10:16:57 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (2.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 74ms (Views: 67.7ms | ActiveRecord: 2.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:17:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.5ms)

Completed 200 OK in 70ms (Views: 66.8ms | ActiveRecord: 2.8ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:17:15 +0530 Processing by UrlsController#short_to_long as HTML

User Load (4.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.4ms)

Completed 200 OK in 56ms (Views: 46.8ms | ActiveRecord: 4.9ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:17:17 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Yzd7hIYYFX2ORAJdhfosi/RyKgQFBp/c2BQCJ0Ac5+Ak0os/L5nCgzmCI9Y82iV0VzGNVKwO0oHviVwb57A67w==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 10:17:17 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (14.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 67ms (Views: 48.4ms | ActiveRecord: 14.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:19:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.4ms)

Completed 200 OK in 46ms (Views: 41.6ms | ActiveRecord: 3.3ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:19:28 +0530 Processing by UrlsController#short_to_long as HTML

User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.6ms)

Completed 200 OK in 66ms (Views: 60.1ms | ActiveRecord: 1.2ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:19:30 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YyW/MdkXReph7J4K2coE/W1oibXgiRaV4uhHHXl/U8YkwE+KcJaSFNYqv4Fg6g0Czisu5UmBW8jVdRkh3tOOyQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 32ms (ActiveRecord: 2.2ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 10:19:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 66ms (Views: 61.3ms | ActiveRecord: 1.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:19:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.1ms)

Completed 200 OK in 62ms (Views: 59.6ms | ActiveRecord: 0.8ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:19:42 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (0.9ms)

Completed 200 OK in 43ms (Views: 31.5ms | ActiveRecord: 3.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:19:44 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zmrnxSRdtEk4AzS/hqOc1tHt+r90ohquk7fP4UbheEKJjxd+jdxjt4/FFTQ/g5Upcq5d792qV/OkKpHd4U2lTQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 5ms (ActiveRecord: 2.3ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 10:19:44 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 63ms (Views: 58.9ms | ActiveRecord: 0.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:20:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (4.4ms)

Completed 200 OK in 69ms (Views: 65.6ms | ActiveRecord: 1.3ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:20:05 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.1ms)

Completed 200 OK in 67ms (Views: 59.1ms | ActiveRecord: 3.8ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:20:08 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6QlTA/xylNtiv82DIk9j1ao++CSSMfyV/tVO9jBsNKCu7KO4VfNDJdV57Aibb2oqCX1fdDs5scjJSBDKl8Dprw==", "short_url"=>"dsfvfdsa", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fdsfvfdsa Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fdsfvfdsa” for 127.0.0.1 at 2019-01-21 10:20:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/dsfvfdsa"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 63ms (Views: 58.3ms | ActiveRecord: 0.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:20:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (6.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (9.6ms)

Completed 200 OK in 61ms (Views: 52.9ms | ActiveRecord: 6.7ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:20:13 +0530 Processing by UrlsController#short_to_long as HTML

User Load (9.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.6ms)

Completed 200 OK in 72ms (Views: 57.9ms | ActiveRecord: 9.9ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:20:17 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0AsSSMAZF/5DgNhkNLs/d6/XkWVxYIAgKoWghpSECe+X7uLzaZjAAPRG+e+NmzaIDJQ2NdhozX0dGP66MyjU4A==", "short_url"=>"https://www.vg.sw.n/w5QH3cC", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fw5QH3cC Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fw5QH3cC” for 127.0.0.1 at 2019-01-21 10:20:17 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/w5QH3cC"}
User Load (4.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 86ms (Views: 78.7ms | ActiveRecord: 4.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:21:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.7ms)

Completed 200 OK in 49ms (Views: 45.0ms | ActiveRecord: 2.9ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:21:09 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 64ms (Views: 55.6ms | ActiveRecord: 3.8ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:21:31 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FAHSQbe3yno6KDaqfZ2kdHyvPNuvSSSHYJrScyEmzcVT5CL6HjYdhI3uFyHEva2L3+ybiwZBadpXB4xPhooQyg==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 13ms (ActiveRecord: 4.6ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 10:21:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (19.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 86ms (Views: 39.7ms | ActiveRecord: 30.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:21:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.1ms)

Completed 200 OK in 49ms (Views: 44.7ms | ActiveRecord: 3.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:21:45 +0530 Processing by UrlsController#short_to_long as HTML

User Load (3.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 65ms (Views: 57.3ms | ActiveRecord: 3.9ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:21:56 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LgKZb3HCRwEu/om4yqOo07q/VeYPz065qWYCXS6HAZ5p52nU2EOQ/5k4qDNzg6EsGfzytqbHA+Se+1xhiSvckQ==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 11ms (ActiveRecord: 3.1ms)

Started GET “/urls/show?Status=OK+%21&domain=aa&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 10:21:56 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"aa", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 68ms (Views: 63.3ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:21:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (5.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (8.6ms)

Completed 200 OK in 59ms (Views: 50.7ms | ActiveRecord: 5.4ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:21:59 +0530 Processing by UrlsController#short_to_long as HTML

User Load (2.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.6ms)

Completed 200 OK in 86ms (Views: 78.3ms | ActiveRecord: 2.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:22:02 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wfqK6E6BjdEVuSkfdsZCnEtmuOv2LYWp5Kgx0Egi/2uGH3pT5wBaL6J/CJTP5ktj6CUfu18lyPTTNW/s744iZA==", "short_url"=>" https://www.vg.sw.n/w5QH3cC", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/ https://www.vg.sw.n/w5QH3cC"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 4ms (ActiveRecord: 0.4ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 10:22:02 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (15.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)

Completed 200 OK in 75ms (Views: 55.6ms | ActiveRecord: 15.1ms)

Url Load (0.4ms)  SELECT "urls".* FROM "urls"
 (0.2ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 149]]
 (1.0ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 151]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 154]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 150]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 152]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 153]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 155]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 156]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 157]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 148]]
 (0.2ms)  COMMIT

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:22:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (12.4ms)

Completed 200 OK in 53ms (Views: 49.2ms | ActiveRecord: 2.8ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:22:33 +0530 Processing by UrlsController#long_to_short as HTML

User Load (5.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:74
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 69ms (Views: 59.6ms | ActiveRecord: 5.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:22:42 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mAETtqjSIJkeuvLcOQmU5hWZfcwBO3SzaJnhyX95jdQ1NVeAaPJH16ueWilYg1f9IErtKt1evCUS3yy9pitUGQ==", "long_url"=>"https://www.sitepoint.com/rails-model-caching-redis/", "domain"=>"sitepoint", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.sitepoint.com/rails-model-caching-redis/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.sitepoint.com/rails-model-caching-redis/"]]
↳ app/controllers/urls_controller.rb:7
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "799f4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:144
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.sitepoint.com/rails-model-caching-redis/"], ["id", 158], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/799f4"], ["domain", "sitepoint"], ["id", 158]]
↳ app/controllers/urls_controller.rb:14
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=sitepoint&long_url=https%3A%2F%2Fwww.sitepoint.com%2Frails-model-caching-redis%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2F799f4 Completed 200 OK in 22ms (ActiveRecord: 11.2ms)

Started GET “/urls/show?Status=Success&domain=sitepoint&long_url=https%3A%2F%2Fwww.sitepoint.com%2Frails-model-caching-redis%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2F799f4” for 127.0.0.1 at 2019-01-21 10:22:42 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"sitepoint", "long_url"=>"https://www.sitepoint.com/rails-model-caching-redis/", "short_url"=>"https://www.vg.sw.n/799f4"}
User Load (7.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 84ms (Views: 72.2ms | ActiveRecord: 7.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:22:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (2.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (5.3ms)

Completed 200 OK in 55ms (Views: 50.3ms | ActiveRecord: 2.9ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:22:57 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.3ms)

Completed 200 OK in 72ms (Views: 65.0ms | ActiveRecord: 0.7ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:23:00 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yqu8O3BBEu9hoDQU15Hu8LxzGFNOZcWmLQAXNNG9bzSNTkyA2cDFEdZmFZ9usecPHzC/A+dtiPsanUkIdhGyOw==", "short_url"=>"https://apidock.com/rails/ActiveSupport/Cache/MemCacheStore/read", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://apidock.com/rails/ActiveSupport/Cache/MemCacheStore/read"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 4ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 10:23:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
User Load (3.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 64.9ms | ActiveRecord: 3.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:23:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (2.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (7.2ms)

Completed 200 OK in 66ms (Views: 62.1ms | ActiveRecord: 2.7ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:23:03 +0530 Processing by UrlsController#long_to_short as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:74
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.4ms)

Completed 200 OK in 84ms (Views: 80.4ms | ActiveRecord: 0.5ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:23:08 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0NrdHg+tg6cqI8M5FZXqNuAWaIZlXZCYqupLvDTkUnV97pkoz43k6Z8Ha8x0Hykt1cX4YLk4WA7QrIbI7baLuA==", "long_url"=>"https://apidock.com/rails/ActiveSupport/Cache/MemCacheStore/read", "domain"=>"apidock", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://apidock.com/rails/ActiveSupport/Cache/MemCacheStore/read"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://apidock.com/rails/ActiveSupport/Cache/MemCacheStore/read"]]
↳ app/controllers/urls_controller.rb:7
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4a972"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:144
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://apidock.com/rails/ActiveSupport/Cache/MemCacheStore/read"], ["id", 159], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/4a972"], ["domain", "apidock"], ["id", 159]]
↳ app/controllers/urls_controller.rb:14
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=apidock&long_url=https%3A%2F%2Fapidock.com%2Frails%2FActiveSupport%2FCache%2FMemCacheStore%2Fread&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4a972 Completed 200 OK in 22ms (ActiveRecord: 14.3ms)

Started GET “/urls/show?Status=Success&domain=apidock&long_url=https%3A%2F%2Fapidock.com%2Frails%2FActiveSupport%2FCache%2FMemCacheStore%2Fread&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4a972” for 127.0.0.1 at 2019-01-21 10:23:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"apidock", "long_url"=>"https://apidock.com/rails/ActiveSupport/Cache/MemCacheStore/read", "short_url"=>"https://www.vg.sw.n/4a972"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 67ms (Views: 63.0ms | ActiveRecord: 0.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:23:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (5.1ms)

Completed 200 OK in 57ms (Views: 53.7ms | ActiveRecord: 1.4ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:23:20 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.3ms)

Completed 200 OK in 54ms (Views: 48.2ms | ActiveRecord: 0.6ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:23:30 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QF3joqHVirAzQrOP3Sqx9xL9fmvP+8611nzy0nwbHLYHuBMZCFRdToSEkgRkCrgIsb7ZO2bzg+jh4azu27fBuQ==", "short_url"=>"https://www.vg.sw.n/4a972", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/4a972"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=apidock&long_url=https%3A%2F%2Fapidock.com%2Frails%2FActiveSupport%2FCache%2FMemCacheStore%2Fread&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4a972 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=apidock&long_url=https%3A%2F%2Fapidock.com%2Frails%2FActiveSupport%2FCache%2FMemCacheStore%2Fread&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4a972” for 127.0.0.1 at 2019-01-21 10:23:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"apidock", "long_url"=>"https://apidock.com/rails/ActiveSupport/Cache/MemCacheStore/read", "short_url"=>"https://www.vg.sw.n/4a972"}
User Load (12.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)

Completed 200 OK in 66ms (Views: 50.7ms | ActiveRecord: 12.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:23:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (5.0ms)

Completed 200 OK in 70ms (Views: 66.7ms | ActiveRecord: 1.8ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:23:33 +0530 Processing by UrlsController#short_to_long as HTML

User Load (4.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.4ms)

Completed 200 OK in 68ms (Views: 59.7ms | ActiveRecord: 4.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:23:37 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oOI6H2vb27Did0Zj0tRPe/RfWkqvbQNcD9usKXzZs//nB8qkwloMTlWxZ+hr9EaEVxz9GgZlTgE4RvIV23Vu8A==", "short_url"=>"https://www.vg.sw.n/4a972", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=apidock&long_url=https%3A%2F%2Fapidock.com%2Frails%2FActiveSupport%2FCache%2FMemCacheStore%2Fread&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4a972 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=apidock&long_url=https%3A%2F%2Fapidock.com%2Frails%2FActiveSupport%2FCache%2FMemCacheStore%2Fread&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4a972” for 127.0.0.1 at 2019-01-21 10:23:37 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"apidock", "long_url"=>"https://apidock.com/rails/ActiveSupport/Cache/MemCacheStore/read", "short_url"=>"https://www.vg.sw.n/4a972"}
User Load (2.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 56.6ms | ActiveRecord: 2.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:23:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (4.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (7.8ms)

Completed 200 OK in 55ms (Views: 48.7ms | ActiveRecord: 4.9ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:23:44 +0530 Processing by UrlsController#short_to_long as HTML

User Load (2.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.4ms)

Completed 200 OK in 78ms (Views: 71.2ms | ActiveRecord: 2.9ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:23:52 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NMPMnfre1MJMbiRA4XsccEwai4n9HMILsp3MxgTO5iRzJjwmU18DPPuoBctYWxWP71ks2VQUj1aFAJL6o2I7Kw==", "short_url"=>"https://www.vg.sw.n/799f4", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/799f4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:52

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=sitepoint&long_url=https%3A%2F%2Fwww.sitepoint.com%2Frails-model-caching-redis%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2F799f4 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=sitepoint&long_url=https%3A%2F%2Fwww.sitepoint.com%2Frails-model-caching-redis%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2F799f4” for 127.0.0.1 at 2019-01-21 10:23:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"sitepoint", "long_url"=>"https://www.sitepoint.com/rails-model-caching-redis/", "short_url"=>"https://www.vg.sw.n/799f4"}
User Load (2.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)

Completed 200 OK in 89ms (Views: 83.1ms | ActiveRecord: 2.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:24:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (2.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.9ms)

Completed 200 OK in 66ms (Views: 61.5ms | ActiveRecord: 2.4ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:24:06 +0530 Processing by UrlsController#short_to_long as HTML

User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:81
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.9ms)

Completed 200 OK in 71ms (Views: 64.4ms | ActiveRecord: 2.2ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 10:24:09 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AVUbfMlj9i/WeI4JBm+t/L8M0mXHPQSnAIJJDeb49YhGsOvHYOIh0WG+r4K/T6QDHE91NW41Sfo3HxcxQVQohw==", "short_url"=>"https://www.vg.sw.n/799f4", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=sitepoint&long_url=https%3A%2F%2Fwww.sitepoint.com%2Frails-model-caching-redis%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2F799f4 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=sitepoint&long_url=https%3A%2F%2Fwww.sitepoint.com%2Frails-model-caching-redis%2F&short_url=https%3A%2F%2Fwww.vg.sw.n%2F799f4” for 127.0.0.1 at 2019-01-21 10:24:09 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"sitepoint", "long_url"=>"https://www.sitepoint.com/rails-model-caching-redis/", "short_url"=>"https://www.vg.sw.n/799f4"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 62ms (Views: 59.0ms | ActiveRecord: 0.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:24:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (7.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (14.1ms)

Completed 200 OK in 89ms (Views: 79.9ms | ActiveRecord: 7.5ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:26:26 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 343ms (Views: 323.7ms | ActiveRecord: 5.4ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:26:34 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bOKXOJoHW9N6iqF/vt+de2k/RIEaedutRTpk8BsRiFLB1tMOWic8nc+uCYrfVV5gXOzUZ8YcEzs/fKmEwkNRnw==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"]]
↳ app/controllers/urls_controller.rb:8
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:8
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:148
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:16
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["id", 160], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:16
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/660fc"], ["domain", "guides"], ["id", 160]]
↳ app/controllers/urls_controller.rb:16
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:16

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 27ms (ActiveRecord: 10.4ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-21 10:26:34 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
User Load (11.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (3.6ms)

Completed 200 OK in 77ms (Views: 56.5ms | ActiveRecord: 11.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:26:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (10.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (17.3ms)

Completed 200 OK in 67ms (Views: 55.0ms | ActiveRecord: 10.3ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:26:57 +0530 Processing by UrlsController#long_to_short as HTML

User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (45.6ms)

Completed 200 OK in 87ms (Views: 81.8ms | ActiveRecord: 2.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:27:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lBHUIeNbx+uWEttV6unt3PWw7rZKj4KN64ChVrJDAE85JZAXI3ugpSM2c6CLYy7HwGN+UJbqShuRxmwiaxHZgg==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:148
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:16
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["id", 160], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:16
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/660fc"], ["domain", "guides"], ["id", 160]]
↳ app/controllers/urls_controller.rb:16
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:16

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 12ms (ActiveRecord: 6.9ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-21 10:27:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
User Load (6.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 64ms (Views: 53.4ms | ActiveRecord: 6.3ms)

Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls"

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:30:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (10.5ms)

Completed 200 OK in 53ms (Views: 49.2ms | ActiveRecord: 2.7ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 10:30:01 +0530 Processing by UrlsController#short_to_long as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:83
Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (3.4ms)

Completed 200 OK in 72ms (Views: 68.7ms | ActiveRecord: 0.5ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:30:04 +0530 Processing by UrlsController#long_to_short as HTML

User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:76
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 65ms (Views: 59.0ms | ActiveRecord: 1.7ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:30:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FFzfFPyd+7zp6PSIqkurGBPw35UT2FauW6WOXJFZpyG5aJsiPL2c8lzMXH3LwWgDJiNPc8+9njgh40MoSAt+7A==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:146
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14

Completed 500 Internal Server Error in 20ms (ActiveRecord: 4.8ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/controllers/urls_controller.rb:14:in `shorten_url' app/controllers/urls_controller.rb:112:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:30:12 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FFzfFPyd+7zp6PSIqkurGBPw35UT2FauW6WOXJFZpyG5aJsiPL2c8lzMXH3LwWgDJiNPc8+9njgh40MoSAt+7A==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:146
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14

Completed 500 Internal Server Error in 7ms (ActiveRecord: 1.5ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/controllers/urls_controller.rb:14:in `shorten_url' app/controllers/urls_controller.rb:112:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:30:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FFzfFPyd+7zp6PSIqkurGBPw35UT2FauW6WOXJFZpyG5aJsiPL2c8lzMXH3LwWgDJiNPc8+9njgh40MoSAt+7A==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:146
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14

Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.5ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/controllers/urls_controller.rb:14:in `shorten_url' app/controllers/urls_controller.rb:112:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:31:14 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FFzfFPyd+7zp6PSIqkurGBPw35UT2FauW6WOXJFZpyG5aJsiPL2c8lzMXH3LwWgDJiNPc8+9njgh40MoSAt+7A==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:145
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14

Completed 500 Internal Server Error in 21ms (ActiveRecord: 5.0ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/controllers/urls_controller.rb:14:in `shorten_url' app/controllers/urls_controller.rb:111:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:31:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FFzfFPyd+7zp6PSIqkurGBPw35UT2FauW6WOXJFZpyG5aJsiPL2c8lzMXH3LwWgDJiNPc8+9njgh40MoSAt+7A==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:144
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 19ms (ActiveRecord: 4.6ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-21 10:31:54 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:88
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.9ms)

Completed 200 OK in 89ms (Views: 48.2ms | ActiveRecord: 29.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:31:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (2.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.8ms)

Completed 200 OK in 59ms (Views: 54.4ms | ActiveRecord: 2.8ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:32:48 +0530 Processing by UrlsController#long_to_short as HTML

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:77
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 49ms (Views: 38.4ms | ActiveRecord: 2.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:32:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UFincAhEQAzET7NX1m2PSBLcHBnurN64/pQW9B7GZmX9bONGyGQnQnFrG6K350xTJw+M/zLJFi6E0tuAx5S/qA==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:147
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15

Completed 500 Internal Server Error in 16ms (ActiveRecord: 3.7ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/controllers/urls_controller.rb:15:in `shorten_url' app/controllers/urls_controller.rb:113:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:33:40 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UFincAhEQAzET7NX1m2PSBLcHBnurN64/pQW9B7GZmX9bONGyGQnQnFrG6K350xTJw+M/zLJFi6E0tuAx5S/qA==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:146
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:23

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 20ms (ActiveRecord: 5.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-21 10:33:40 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.5ms)

Completed 200 OK in 107ms (Views: 63.4ms | ActiveRecord: 32.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:33:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (12.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (16.6ms)

Completed 200 OK in 69ms (Views: 54.2ms | ActiveRecord: 12.9ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:34:06 +0530 Processing by UrlsController#long_to_short as HTML

User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:77
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 54ms (Views: 40.9ms | ActiveRecord: 2.8ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:34:10 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zu+nRKZfNI5njqZTsvcOmqQdSaHPGUp77Mvtoh9+MUBj2+NyZn9TwNKqDqbTfc2Bkc7ZRxN8gu2WjSDWxizojQ==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:147
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:24

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 34ms (ActiveRecord: 4.8ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-21 10:34:10 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 57ms (Views: 52.3ms | ActiveRecord: 0.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:34:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (2.8ms)

Completed 200 OK in 43ms (Views: 41.3ms | ActiveRecord: 0.4ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:34:25 +0530 Processing by UrlsController#long_to_short as HTML

User Load (2.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:77
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 71ms (Views: 63.7ms | ActiveRecord: 2.4ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:34:34 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yNkG+ztANk5xdGUx2Mxzb9rEM2clCyGf1t7oUwSdBQtl7ULN+2BRAMRQzcS5RrB07xejgflu6QmsmCUn3c/cxg==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:147
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:24

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 11ms (ActiveRecord: 2.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-21 10:34:34 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 76ms (Views: 71.2ms | ActiveRecord: 0.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:34:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (3.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:34:47 +0530 Completed 200 OK in 95ms (Views: 86.7ms | ActiveRecord: 3.8ms)

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (5.7ms)

Completed 200 OK in 44ms (Views: 39.4ms | ActiveRecord: 3.3ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:34:48 +0530 Processing by UrlsController#long_to_short as HTML

User Load (3.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:77
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.0ms)

Completed 200 OK in 92ms (Views: 82.4ms | ActiveRecord: 3.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:34:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DduNFcLkxaH0qNalVor+mOJ8o/u2+vXOhw/eeeez2PCg78kjAsSi70GMflA3AD2D168zHWqfPVj9SRMNPuEBPQ==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:8
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:147
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 18ms (ActiveRecord: 5.4ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-21 10:34:59 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.5ms)

Completed 200 OK in 79ms (Views: 40.0ms | ActiveRecord: 28.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 10:38:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (12.2ms)

Completed 200 OK in 71ms (Views: 66.8ms | ActiveRecord: 3.4ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:38:52 +0530 Processing by UrlsController#long_to_short as HTML

User Load (7.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:38:52 +0530 Processing by UrlsController#long_to_short as HTML

User Load (5.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 133ms (Views: 120.0ms | ActiveRecord: 7.7ms)

Completed 200 OK in 102ms (Views: 93.9ms | ActiveRecord: 5.3ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:38:57 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OeNPXJECMa8Dm3I7HkNB35yRyv1wO7wq2lNEQ82v31CU1wtqUSJW4ba/2s5/yYLEqUJaG6xedLygFYk3FP0GnQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"youtube", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"]]
↳ app/controllers/urls_controller.rb:6
 (5.6ms)  COMMIT
↳ app/controllers/urls_controller.rb:6
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["id", 161], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/8f876"], ["domain", "youtube"], ["id", 161]]
↳ app/controllers/urls_controller.rb:12
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=youtube&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 22ms (ActiveRecord: 8.0ms)

Started GET “/urls/show?Status=Success&domain=youtube&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 10:38:57 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"youtube", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (19.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:105
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 80ms (Views: 58.6ms | ActiveRecord: 19.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:39:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (3.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.3ms)

Completed 200 OK in 58ms (Views: 53.3ms | ActiveRecord: 3.4ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:39:03 +0530 Processing by UrlsController#long_to_short as HTML

User Load (14.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 75ms (Views: 57.7ms | ActiveRecord: 14.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:39:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"q7NK6zfcs5ExZ0oaJni0vS3PoNS668wJMZwppNE8/o8Ghw7d9/zU34RD4u9H8nemGBwwMmaOBJ9L2uTQCG4nQg==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"youtube", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=youtube&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 11ms (ActiveRecord: 2.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=youtube&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 10:39:07 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"youtube", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:105
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 77ms (Views: 71.2ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:39:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (6.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (9.0ms)

Completed 200 OK in 61ms (Views: 52.4ms | ActiveRecord: 6.2ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:39:55 +0530 Processing by UrlsController#long_to_short as HTML

User Load (14.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.5ms)

Completed 200 OK in 64ms (Views: 47.2ms | ActiveRecord: 14.4ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:40:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mF0RG3q+7yKzSEirULqTGPVRWWqv21gGHF6eUR0kkx01aVUtup6IbAZs4F4xMFADwILJjHO+kJBmGFMlxHZK0A==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"overflow", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"]]
↳ app/controllers/urls_controller.rb:6
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:6
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["id", 162], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/17a68"], ["domain", "overflow"], ["id", 162]]
↳ app/controllers/urls_controller.rb:12
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 20ms (ActiveRecord: 13.6ms)

Started GET “/urls/show?Status=Success&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-21 10:40:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"overflow", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
User Load (2.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:105
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 83ms (Views: 77.4ms | ActiveRecord: 2.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:40:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (3.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (7.1ms)

Completed 200 OK in 69ms (Views: 64.5ms | ActiveRecord: 3.2ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:40:22 +0530 Processing by UrlsController#long_to_short as HTML

User Load (11.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 75ms (Views: 57.4ms | ActiveRecord: 11.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:40:32 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Svu4bdt5/EvvvY0PwjCh/eEeGmO8Xpa/+AaZtjnml/Lnz/xbG1mbBVqZJfqjumLm1M2KhWA7XimCQFTC4LROPw==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"overflow", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 11ms (ActiveRecord: 2.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-21 10:40:32 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"overflow", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:105
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 71ms (Views: 68.2ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:40:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (3.1ms)

Completed 200 OK in 70ms (Views: 68.1ms | ActiveRecord: 0.4ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:40:41 +0530 Processing by UrlsController#long_to_short as HTML

User Load (5.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 57ms (Views: 48.3ms | ActiveRecord: 5.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:40:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"45ymPwd/KdtRgrfDxD852mpcFxlFZWzusqpYR6Xg8/xOqOIJx19OleSmHzaltfrBX4+H/5kApHjI7JUzfLIqMQ==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"overflow", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 9ms (ActiveRecord: 1.7ms)

Started GET “/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-21 10:40:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"overflow", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:105
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 62ms (Views: 57.0ms | ActiveRecord: 0.8ms)

Started POST “/shorten-url?long_url=mail.google.com/mail/u/0/” for 127.0.0.1 at 2019-01-21 10:41:21 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/0/"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/0/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://mail.google.com/mail/u/0/"]]
↳ app/controllers/urls_controller.rb:6
 (1.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:6
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13fa2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://mail.google.com/mail/u/0/"], ["id", 163], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "https://www.vg.sw.n/13fa2"], ["id", 163]]
↳ app/controllers/urls_controller.rb:12
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:12

Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 3.6ms)

Started POST “/shorten-url?long_url=mail.google.com/mail/u/0/” for 127.0.0.1 at 2019-01-21 10:41:27 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/0/"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/0/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13fa2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.5ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/0/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12

Completed 500 Internal Server Error in 29ms (ActiveRecord: 2.9ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/controllers/urls_controller.rb:12:in `shorten_url' Started POST “/shorten-url?long_url=mail.google.com/mail/u/0/” for 127.0.0.1 at 2019-01-21 10:41:32 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/0/"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/0/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13fa2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/0/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.4ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12

Completed 500 Internal Server Error in 10ms (ActiveRecord: 2.1ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/controllers/urls_controller.rb:12:in `shorten_url' Started GET “/shorten-url?long_url=mail.google.com/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:42:23 +0530

ActionController::RoutingError (No route matches [GET] “/shorten-url”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/shorten-url?long_url=mail.google.com/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:42:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/1/", "domain"=>"google"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://mail.google.com/mail/u/1/"]]
↳ app/controllers/urls_controller.rb:6
 (5.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:6
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "dfa47"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://mail.google.com/mail/u/1/"], ["id", 164], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/dfa47"], ["domain", "google"], ["id", 164]]
↳ app/controllers/urls_controller.rb:12
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:12

Completed 200 OK in 32ms (Views: 0.3ms | ActiveRecord: 18.5ms)

Started POST “/shorten-url?long_url=mail.google.com/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:42:55 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/1/", "domain"=>"google"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "dfa47"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 200 OK in 11ms (Views: 0.1ms | ActiveRecord: 2.2ms)

Started POST “/shorten-url?long_url=mail.google.com/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:43:01 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/1/", "domain"=>"google"}
 (0.5ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "dfa47"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12

Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 2.3ms)

Started POST “/shorten-url?long_url=mail.google.com/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:43:11 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/1/", "domain"=>"google"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "dfa47"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 1.8ms)

Started POST “/shorten-url?long_url=mail.google.com/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:43:38 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/1/", "domain"=>"google"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "dfa47"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.6ms)

Started POST “/shorten-url?long_url=mail.google.com/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:43:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.google.com/mail/u/1/", "domain"=>"google"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "dfa47"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12

Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 1.8ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:44:39 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://mail.googlom/mail/u/1/"]]
↳ app/controllers/urls_controller.rb:6
 (1.6ms)  COMMIT
↳ app/controllers/urls_controller.rb:6
Url Load (1.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://mail.googlom/mail/u/1/"], ["id", 165], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/c99ab"], ["domain", "google"], ["id", 165]]
↳ app/controllers/urls_controller.rb:12
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:12

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 4.7ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:44:57 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (1.0ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 3.2ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:47:10 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:128
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:12
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:12

Completed 200 OK in 16ms (Views: 0.3ms | ActiveRecord: 4.3ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:47:58 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 4.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:48:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (11.6ms)

Completed 200 OK in 50ms (Views: 46.4ms | ActiveRecord: 3.2ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:48:36 +0530 Processing by UrlsController#long_to_short as HTML

User Load (3.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 84ms (Views: 75.8ms | ActiveRecord: 3.5ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:48:40 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ArKBMBSE1XK49iE5IRTRReLGKlzRVE4kEFsr6sqXm6uvhsUG1KSyPA3SicxAnhJe1xW6ug0xhrJqHeaeE8VCZg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"overflow", "commit"=>"Generate Short Url"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 19ms (ActiveRecord: 4.5ms)

Started GET “/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-21 10:48:40 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"overflow", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
User Load (8.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:105
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 64ms (Views: 50.2ms | ActiveRecord: 8.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 10:48:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.6ms)

Completed 200 OK in 65ms (Views: 60.8ms | ActiveRecord: 2.2ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 10:49:00 +0530 Processing by UrlsController#long_to_short as HTML

User Load (9.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 99ms (Views: 82.4ms | ActiveRecord: 9.4ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 10:49:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3JN/LQIBlng951CU3qqf97wLDManoalE2eiDpMDJX8txpzsbwiHxNojD+GG/IFzsidicIHvEYdKjrk7QGZuGBg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"overflow", "commit"=>"Generate Short Url"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:6
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:6
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:6
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 9ms (ActiveRecord: 1.9ms)

Started GET “/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-21 10:49:11 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"overflow", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
User Load (3.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:105
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.3ms)

Completed 200 OK in 64ms (Views: 57.3ms | ActiveRecord: 3.8ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:50:29 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:14
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:14
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:22

Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 5.7ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 10:50:59 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:8
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:8
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:23

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 4.4ms)

 (0.2ms)  BEGIN
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"
 (0.2ms)  BEGIN
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
Url Exists (1.2ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls"
 (0.2ms)  BEGIN
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:04:32 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:24

Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 7.9ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:05:53 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:24

Completed 200 OK in 36ms (Views: 0.3ms | ActiveRecord: 5.1ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:06:25 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:24

Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 5.5ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:06:39 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:7
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:24

Completed 200 OK in 27ms (Views: 0.2ms | ActiveRecord: 12.1ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:07:20 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:24

Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 6.1ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:07:30 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.5ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:24

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 1.9ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:07:37 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:15
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:15
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:24

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.4ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:08:50 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 200 OK in 26ms (Views: 0.3ms | ActiveRecord: 5.3ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:08:56 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 11:13:21 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (20.3ms)

Completed 200 OK in 413ms (Views: 400.2ms | ActiveRecord: 7.2ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 11:13:26 +0530 Processing by UrlsController#long_to_short as HTML

User Load (3.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (7.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 11:13:26 +0530 Completed 200 OK in 79ms (Views: 70.1ms | ActiveRecord: 3.8ms)

Processing by UrlsController#long_to_short as HTML

User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:92
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 59ms (Views: 46.5ms | ActiveRecord: 7.2ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 11:28:50 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RQo0IeXYAcjpc9tUqKwwEGbpV+7Q4psVzmr5db8fkM3oPnAXJfhmhlxXc6HJJvMLUzrHCAyHU4O0LDQBZk1JAA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=youtube&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 28ms (ActiveRecord: 5.6ms)

Started GET “/urls/show?Status=Already+Exists&domain=youtube&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 11:28:50 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"youtube", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:105
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 434ms (Views: 384.3ms | ActiveRecord: 31.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 11:28:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
User Load (3.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ app/views/home/index.html.erb:2
Rendered home/index.html.erb within layouts/application (6.9ms)

Completed 200 OK in 69ms (Views: 63.7ms | ActiveRecord: 3.6ms)

Started DELETE “/users/sign_out” for 127.0.0.1 at 2019-01-21 11:28:57 +0530 Processing by Devise::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"FIrSp8u3uy5jzPVUY3TF4oNUS/NJoVZDTxkTuLZnry0EpvwPnxNH4QW16TTJlHJlcaFIiLygWm0EZ9QBu+nCAA=="}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (0.2ms)  COMMIT
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redirected to localhost:3000/ Completed 302 Found in 10ms (ActiveRecord: 1.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 11:28:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.1ms)

Completed 200 OK in 51ms (Views: 49.4ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:39:34 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 200 OK in 24ms (Views: 0.3ms | ActiveRecord: 5.2ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-21 11:39:41 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.4ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 1.8ms)

Started GET “/short-url?short_url=www.vg.sw.n/13fa2” for 127.0.0.1 at 2019-01-21 11:39:55 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/13fa2"}
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/13fa2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:65

Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.7ms)

User Exists (0.4ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (0.3ms)  SELECT "users".* FROM "users"
User Exists (0.4ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (0.2ms)  SELECT "users".* FROM "users"
 (6.7ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to DroptableUser (20190121061550)

 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (36.0ms)  DROP TABLE "users"
↳ db/migrate/20190121061550_droptable_user.rb:3
ActiveRecord::SchemaMigration Create (0.4ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190121061550"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (1.9ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (1.1ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to CreateUser (20190121061755)

 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (41.0ms)  CREATE TABLE "users" ("id" bigserial primary key, "username" character varying, "email" character varying, "password" character varying)
↳ db/migrate/20190121061755_create_user.rb:3
ActiveRecord::SchemaMigration Create (0.3ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190121061755"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.6ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (0.3ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
User Exists (0.4ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]

Started GET “/” for 127.0.0.1 at 2019-01-21 12:02:42 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 731ms (Views: 725.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:02:46 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.2ms)

Completed 200 OK in 77ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 12:06:51 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 309ms (Views: 304.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 12:09:11 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 302ms (Views: 297.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:09:12 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.9ms)

Completed 200 OK in 101ms (Views: 97.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-21 12:09:15 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (10.7ms)

Completed 200 OK in 113ms (Views: 111.0ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-21 12:09:45 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DsdShu3dL4MMyLrr4JsFLJeU+zMGbg22+Tf7pFuo3c2xsnhWU1c5MUn+RJt6smz8/NhEZ1g/tgoZrq1cT5plTg==", "name"=>"vipul", "email"=>"bishoo19127@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 4.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:09:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 78ms (Views: 77.0ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-21 12:10:44 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (4.0ms)

Completed 200 OK in 307ms (Views: 301.3ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-21 12:10:58 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EmREQ/WUqKDtKpbX/IK6Fmx1q+AFeINzgCRf4kpvZRG9cz70gBEtIuxql0SK9kZhVYg+S01G2l8UstlFBLRpUA==", "username"=>"bishoo191297@gmail.com", "email"=>"qazmyntra1@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}
 (0.1ms)  BEGIN
↳ app/controllers/users_controller.rb:19
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "qazmyntra1@gmail.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:19
User Create (0.6ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "bishoo191297@gmail.com"], ["email", "qazmyntra1@gmail.com"], ["password", "qazqaz"]]
↳ app/controllers/users_controller.rb:19
 (4.1ms)  COMMIT
↳ app/controllers/users_controller.rb:19

Redirected to localhost:3000/home/index Completed 200 OK in 18ms (ActiveRecord: 8.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:10:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (380.9ms)

Completed 500 Internal Server Error in 390ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `destroy_user_session_path' for #<#<Class:0x00007fa57c2b4818>:0x00007fa57c2bc888>):

 4: Select the Service <br>
 5: <%= link_to "Find Short Url",urls_long_to_short_path%> <br>
 6: <%= link_to "Find Long Url",urls_short_to_long_path%> <br>
 7: <right><%=link_to "SignOut",destroy_user_session_path,method: :delete%></right>
 8: <% else %>
 9: <%= link_to "SignUp",users_signup_path%> or 
10: <%= link_to "Login",users_login_path%> to continue

app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___3059748649004624497_70174364773540' Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:11:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 51ms (Views: 48.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 12:11:26 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.5ms)

Completed 200 OK in 61ms (Views: 59.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 12:11:29 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tJ7CeuySiYvM3AutlOgaik6GMpr9QtdID6r0HjjpBHr6ZQRHwUjUfYYdD7/QKWOrO00yjtWWn/6RlOQagrfEYg==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 18ms (ActiveRecord: 3.9ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-21 12:11:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 62ms (Views: 59.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:11:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.7ms)

Completed 200 OK in 69ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 12:11:31 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (0.9ms)

Completed 200 OK in 66ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 12:11:33 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"y3N0rxKtW/Y36W5Lu+WTMfQtAMheC+FCMdpQPr7ClYXwA717Czcx+vUKsZFRTzyjFMy39YPiTvm0K/IxSp/BtA==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:65

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=youtube&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=youtube&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 12:11:33 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"youtube", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 56ms (Views: 54.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:11:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 63ms (Views: 60.1ms | ActiveRecord: 0.0ms)

User Exists (0.4ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (0.3ms)  SELECT "users".* FROM "users"

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:14:04 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 304ms (Views: 298.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:14:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 53ms (Views: 51.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-21 12:14:17 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (13.3ms)

Completed 200 OK in 107ms (Views: 104.8ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-21 12:14:24 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rhacOxMmOrabajEXc6ihnYXsYRztuPINakh73JN98KPS4mZRtjvDGnn+eDm4vmji4h6sHUwyOL8SBMPfyr7DNg==", "username"=>"iit2015038", "email"=>"sf", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Redirected to localhost:3000/home/index Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:14:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 95ms (Views: 93.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:16:30 +0530

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 318ms (Views: 313.6ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-21 12:16:31 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (12.5ms)

Completed 200 OK in 104ms (Views: 102.9ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-21 12:16:42 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TBCR7Mav+FsxtwG7DCXmQK7mGOWBSYrrUkqvtp/pQH4w5GuGY7IB99MjSJXHMy8/yRTV5CDDQFkqBhe1xipz6w==", "username"=>"vipul", "email"=>"bishoo19127@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}
 (0.2ms)  BEGIN
↳ app/controllers/users_controller.rb:23
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "bishoo19127@gmail.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:23
User Create (0.5ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "vipul"], ["email", "bishoo19127@gmail.com"], ["password", "09cd426c5c8c1d706d88157c4f4061ff"]]
↳ app/controllers/users_controller.rb:23
 (0.4ms)  COMMIT
↳ app/controllers/users_controller.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 27ms (ActiveRecord: 6.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:16:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 106ms (Views: 101.7ms | ActiveRecord: 0.0ms)

User Exists (0.3ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (0.2ms)  SELECT "users".* FROM "users"
 (0.1ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (0.3ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:20:06 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 309ms (Views: 304.5ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-21 12:20:09 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:20:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 82ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:28:28 +0530

ActionController::RoutingError (undefined method `before_filter' for ApplicationController:Class Did you mean? before_action):

app/controllers/application_controller.rb:2:in `<class:ApplicationController>' app/controllers/application_controller.rb:1:in `<main>' app/controllers/users_controller.rb:1:in `<main>' Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:28:45 +0530 Processing by UsersController#login as HTML Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `<' for nil:NilClass):

app/controllers/application_controller.rb:5:in `set_cache_headers' Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:34:01 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.5ms)

Completed 200 OK in 49ms (Views: 48.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:34:09 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"k8yO2a1D/laNRUfP49cVWlQYQcMLkk+C+p1oqOSjGTv8tQi28PmhT9ufmDPcDyvGhNP3k+gbomWV85UVGjZnAQ==", "email"=>"qazmyntra1@gmail.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.5ms)  SELECT "users".* FROM "users" WHERE "users"."email" = $1  [["email", "qazmyntra1@gmail.com"]]
↳ app/controllers/users_controller.rb:41

Completed 500 Internal Server Error in 13ms (ActiveRecord: 5.2ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/users_controller.rb:41:in `check_login' Started GET “/” for 127.0.0.1 at 2019-01-21 12:34:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 90ms (Views: 88.9ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-21 12:34:38 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (10.0ms)

Completed 200 OK in 109ms (Views: 107.1ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-21 12:34:45 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KDLai/j9kpwZ7Yn2jq3XVIsUlMJegQC6VOz0QvoKOqhUxiDhXeBrMPt5wNhFux4r7OZZw/8LyggsoExBo8kJPQ==", "username"=>"iit2015038", "email"=>"qazmyntra1@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}
 (0.2ms)  BEGIN
↳ app/controllers/users_controller.rb:26
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "qazmyntra1@gmail.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:26
 (0.2ms)  ROLLBACK
↳ app/controllers/users_controller.rb:26

Redirected to localhost:3000/home/index Completed 200 OK in 7ms (ActiveRecord: 0.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:34:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 61.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:34:47 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.6ms)

Completed 200 OK in 57ms (Views: 55.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-21 12:34:49 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.5ms)

Completed 200 OK in 71ms (Views: 69.5ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-21 12:34:59 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jwEGr7iPPZ5CZkHhnG6CRxn2Znb5k82ipeVBxDvAMUbz9fzFHZLEMqDyCM9XeEs4fgSrd1gZBxDdqfnHYgMC0w==", "username"=>"vgswn", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}
 (0.1ms)  BEGIN
↳ app/controllers/users_controller.rb:26
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:26
User Create (0.8ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "vgswn"], ["email", "vipul.kumar@proptiger.com"], ["password", "09cd426c5c8c1d706d88157c4f4061ff"]]
↳ app/controllers/users_controller.rb:26
 (6.7ms)  COMMIT
↳ app/controllers/users_controller.rb:26

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 8.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:34:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:17 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:22 +0530 Processing by HomeController#index as HTML Redirected to localhost:3000/home/index Filter chain halted as :set_cache_headers rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:37:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 52ms (Views: 50.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:38:15 +0530 Processing by UsersController#login as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :set_cache_headers rendered or redirected Completed 200 OK in 51ms (Views: 49.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:38:16 +0530 Processing by UsersController#login as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :set_cache_headers rendered or redirected Completed 200 OK in 60ms (Views: 59.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:38:17 +0530 Processing by UsersController#login as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Filter chain halted as :set_cache_headers rendered or redirected Completed 200 OK in 73ms (Views: 71.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:38:18 +0530 Processing by UsersController#login as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :set_cache_headers rendered or redirected Completed 200 OK in 97ms (Views: 95.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:38:25 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 62ms (Views: 59.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:38:35 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LnLo9vqq1J6p4vvAc1O1s00AnPiK9e/3QuTxcAOJV9MVXC7KDlDXbf9/5XlFqzXNZ5QElTNkiJ9z3vPC2iJR2g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT "users".* FROM "users" WHERE "users"."email" = $1  [["email", "vipul.kumar@proptiger.com"]]
↳ app/controllers/users_controller.rb:41

Completed 500 Internal Server Error in 11ms (ActiveRecord: 3.5ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/users_controller.rb:41:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:39:47 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LnLo9vqq1J6p4vvAc1O1s00AnPiK9e/3QuTxcAOJV9MVXC7KDlDXbf9/5XlFqzXNZ5QElTNkiJ9z3vPC2iJR2g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.2ms)  SELECT "users".* FROM "users" WHERE "users"."email" = $1  [["email", "vipul.kumar@proptiger.com"]]
↳ app/controllers/users_controller.rb:41

Completed 500 Internal Server Error in 10ms (ActiveRecord: 3.5ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/users_controller.rb:41:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:39:53 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LnLo9vqq1J6p4vvAc1O1s00AnPiK9e/3QuTxcAOJV9MVXC7KDlDXbf9/5XlFqzXNZ5QElTNkiJ9z3vPC2iJR2g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT "users".* FROM "users" WHERE "users"."email" = $1  [["email", "vipul.kumar@proptiger.com"]]
↳ app/controllers/users_controller.rb:41

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.3ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/users_controller.rb:41:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:40:14 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LnLo9vqq1J6p4vvAc1O1s00AnPiK9e/3QuTxcAOJV9MVXC7KDlDXbf9/5XlFqzXNZ5QElTNkiJ9z3vPC2iJR2g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT "users".* FROM "users" WHERE "users"."email" = $1  [["email", "vipul.kumar@proptiger.com"]]
↳ app/controllers/users_controller.rb:42

Completed 500 Internal Server Error in 10ms (ActiveRecord: 3.0ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/users_controller.rb:42:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:40:34 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LnLo9vqq1J6p4vvAc1O1s00AnPiK9e/3QuTxcAOJV9MVXC7KDlDXbf9/5XlFqzXNZ5QElTNkiJ9z3vPC2iJR2g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT "users".* FROM "users" WHERE "users"."email" = $1  [["email", "vipul.kumar@proptiger.com"]]
↳ app/controllers/users_controller.rb:42

Completed 500 Internal Server Error in 10ms (ActiveRecord: 3.1ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/users_controller.rb:42:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:40:53 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LnLo9vqq1J6p4vvAc1O1s00AnPiK9e/3QuTxcAOJV9MVXC7KDlDXbf9/5XlFqzXNZ5QElTNkiJ9z3vPC2iJR2g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:40

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:40:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 66ms (Views: 61.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:42:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 76ms (Views: 74.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:43:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 46ms (Views: 44.3ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-21 12:44:17 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (1.3ms)

Completed 200 OK in 39ms (Views: 36.7ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-21 12:44:23 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"etYa9KXJt9v4sVKrTngSyM6I4AsRpi7GVQF0BnIKXQIGIuCeANROdxolG4WFbtu3qXotCrAs5HQtTcwFK8lulw==", "username"=>"iit2015038", "email"=>"qazmyntra1@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Redirected to localhost:3000/home/index Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:44:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 63ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:44:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 75ms (Views: 73.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:45:02 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.0ms)

Completed 200 OK in 45ms (Views: 43.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:45:05 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dni9FZM9KtsAzS2PV7tXuAnjvplN700JJhxDgTG/ZnRNVnspZ8cpKFZQMzZhQ9fGI3cm9PR+KmEXJkEz6BRgfQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:41

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:45:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 64ms (Views: 62.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:46:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.0ms)

Completed 200 OK in 39ms (Views: 38.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:46:29 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dvwMihCBiEeNnD/XDaVImUb8hyCul6rSsSxDXIJRS4dN0sq25HuLtNsBIW47XcjnbGgfTRcGzbqAFkHuW/pNjg==", "email"=>"df", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "df"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:42

Completed 500 Internal Server Error in 7ms (ActiveRecord: 3.3ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/users_controller.rb:45:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:47:58 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dvwMihCBiEeNnD/XDaVImUb8hyCul6rSsSxDXIJRS4dN0sq25HuLtNsBIW47XcjnbGgfTRcGzbqAFkHuW/pNjg==", "email"=>"df", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "df"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:42

Redirected to localhost:3000/home/index Completed 500 Internal Server Error in 7ms (ActiveRecord: 3.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/users_controller.rb:52:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:48:25 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dvwMihCBiEeNnD/XDaVImUb8hyCul6rSsSxDXIJRS4dN0sq25HuLtNsBIW47XcjnbGgfTRcGzbqAFkHuW/pNjg==", "email"=>"df", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "df"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:42

Completed 500 Internal Server Error in 9ms (ActiveRecord: 3.6ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/users_controller.rb:51:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:48:40 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dvwMihCBiEeNnD/XDaVImUb8hyCul6rSsSxDXIJRS4dN0sq25HuLtNsBIW47XcjnbGgfTRcGzbqAFkHuW/pNjg==", "email"=>"df", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "df"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:42

Completed 500 Internal Server Error in 11ms (ActiveRecord: 5.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/users_controller.rb:51:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:49:08 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dvwMihCBiEeNnD/XDaVImUb8hyCul6rSsSxDXIJRS4dN0sq25HuLtNsBIW47XcjnbGgfTRcGzbqAFkHuW/pNjg==", "email"=>"df", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "df"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:42

Redirected to localhost:3000/home/index Completed 500 Internal Server Error in 8ms (ActiveRecord: 3.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/users_controller.rb:52:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:49:24 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/users_controller.rb:49: else without rescue is useless

else
^~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/users_controller.rb:70: syntax error, unexpected end, expecting end-of-input):

app/controllers/users_controller.rb:49: else without rescue is useless app/controllers/users_controller.rb:70: syntax error, unexpected end, expecting end-of-input Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:49:32 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dvwMihCBiEeNnD/XDaVImUb8hyCul6rSsSxDXIJRS4dN0sq25HuLtNsBIW47XcjnbGgfTRcGzbqAFkHuW/pNjg==", "email"=>"df", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "df"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:42

Redirected to localhost:3000/home/index Completed 200 OK in 6ms (ActiveRecord: 2.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:49:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 65ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:49:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 54ms (Views: 52.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:49:36 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 200 OK in 99ms (Views: 96.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:49:45 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fJepFtVWR2U3KMLmhCGCZs75rwVFiXHqvku5xbBiRAlHuW8qIaxElmG13F+y2QIY5G03aPwYFoKPcbt3aclCAA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:42

Redirected to localhost:3000/home/index Completed 200 OK in 6ms (ActiveRecord: 0.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:49:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 66ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-21 12:49:49 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:49:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 53ms (Views: 52.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 12:50:05 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.2ms)

Completed 200 OK in 46ms (Views: 43.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 12:50:10 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qNwVreVfbsMj7qfDi01hO1Jq2rrzVnfajRDx4bJf9Y6T8tOREaVtMHVzuXq9teFFeP5C10rHELK8KvNTa/Tzhw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 3.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:50:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 91ms (Views: 88.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-21 12:50:12 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 12:50:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 47ms (Views: 46.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 13:14:46 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.8ms)

Completed 200 OK in 293ms (Views: 285.1ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_in” for 127.0.0.1 at 2019-01-21 13:14:51 +0530 Processing by Devise::SessionsController#new as HTML

Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.8ms)
Rendered devise/sessions/new.html.erb within layouts/application (25.4ms)

Completed 200 OK in 132ms (Views: 112.8ms | ActiveRecord: 6.4ms)

Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-21 13:15:03 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5kW91qWG5NUoF1cAoHiWM5M/VximCw4fIRJt0Koov3F7wVwWSKgftIeoypOuOY5sMQPOhI4e5baQ6eWHBAWa3w==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Completed 401 Unauthorized in 10ms (ActiveRecord: 1.0ms)

Processing by Devise::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5kW91qWG5NUoF1cAoHiWM5M/VximCw4fIRJt0Koov3F7wVwWSKgftIeoypOuOY5sMQPOhI4e5baQ6eWHBAWa3w==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}

Completed 500 Internal Server Error in 153ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `encrypted_password=' for #<User:0x00007ff25ba05e60>):

activemodel (5.2.2) lib/active_model/attribute_methods.rb:430:in `method_missing' devise (4.5.0) lib/devise/models/database_authenticatable.rb:47:in `password=' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:51:in `public_send' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:51:in `_assign_attribute' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:44:in `block in _assign_attributes' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:43:in `each' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:43:in `_assign_attributes' activerecord (5.2.2) lib/active_record/attribute_assignment.rb:23:in `_assign_attributes' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:35:in `assign_attributes' activerecord (5.2.2) lib/active_record/core.rb:314:in `initialize' activerecord (5.2.2) lib/active_record/inheritance.rb:66:in `new' activerecord (5.2.2) lib/active_record/inheritance.rb:66:in `new' devise (4.5.0) app/controllers/devise/sessions_controller.rb:11:in `new' actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action' activesupport (5.2.2) lib/active_support/callbacks.rb:132:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:236:in `block in action' devise (4.5.0) lib/devise/failure_app.rb:75:in `recall' devise (4.5.0) lib/devise/failure_app.rb:41:in `respond' actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:236:in `block in action' devise (4.5.0) lib/devise/failure_app.rb:23:in `call' devise (4.5.0) lib/devise/delegator.rb:7:in `call' warden (1.2.8) lib/warden/manager.rb:143:in `call_failure_app' warden (1.2.8) lib/warden/manager.rb:129:in `process_unauthenticated' warden (1.2.8) lib/warden/manager.rb:44:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/users/sign_in” for 127.0.0.1 at 2019-01-21 13:15:13 +0530 Processing by Devise::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bpd/KT9KuqNxKcFnS69S90nfS4jTf5ttcbC+w88UI0MB7vlGYvDluifzHpt0d2xrmRT92DD2dooe3kN+MYFdeQ==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Completed 401 Unauthorized in 4ms (ActiveRecord: 0.7ms)

Processing by Devise::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bpd/KT9KuqNxKcFnS69S90nfS4jTf5ttcbC+w88UI0MB7vlGYvDluifzHpt0d2xrmRT92DD2dooe3kN+MYFdeQ==", "user"=>{"email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}

Completed 500 Internal Server Error in 156ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `encrypted_password=' for #<User:0x00007ff25937e6e8>):

activemodel (5.2.2) lib/active_model/attribute_methods.rb:430:in `method_missing' devise (4.5.0) lib/devise/models/database_authenticatable.rb:47:in `password=' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:51:in `public_send' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:51:in `_assign_attribute' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:44:in `block in _assign_attributes' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:43:in `each' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:43:in `_assign_attributes' activerecord (5.2.2) lib/active_record/attribute_assignment.rb:23:in `_assign_attributes' activemodel (5.2.2) lib/active_model/attribute_assignment.rb:35:in `assign_attributes' activerecord (5.2.2) lib/active_record/core.rb:314:in `initialize' activerecord (5.2.2) lib/active_record/inheritance.rb:66:in `new' activerecord (5.2.2) lib/active_record/inheritance.rb:66:in `new' devise (4.5.0) app/controllers/devise/sessions_controller.rb:11:in `new' actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action' activesupport (5.2.2) lib/active_support/callbacks.rb:132:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:236:in `block in action' devise (4.5.0) lib/devise/failure_app.rb:75:in `recall' devise (4.5.0) lib/devise/failure_app.rb:41:in `respond' actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:236:in `block in action' devise (4.5.0) lib/devise/failure_app.rb:23:in `call' devise (4.5.0) lib/devise/delegator.rb:7:in `call' warden (1.2.8) lib/warden/manager.rb:143:in `call_failure_app' warden (1.2.8) lib/warden/manager.rb:129:in `process_unauthenticated' warden (1.2.8) lib/warden/manager.rb:44:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-21 13:16:57 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 273ms (Views: 268.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 13:16:58 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (8.3ms)

Completed 200 OK in 102ms (Views: 99.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 13:17:05 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5cMv1zml0/oGFCorHcMQa2IYSQ/IkIeurNLQTt2sLX7e7enrzV/QCVCJNJIrO5AVSIzRYnEB4Mad6NL8BAcrdw==", "email"=>"bishoo19127@gmail.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "bishoo19127@gmail.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 21ms (ActiveRecord: 4.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:17:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (6.4ms)

Completed 200 OK in 116ms (Views: 113.6ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-21 13:17:07 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:17:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 45ms (Views: 43.3ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 13:17:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 68ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 13:17:24 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.2ms)

Completed 200 OK in 58ms (Views: 56.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 13:17:34 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"imuLrlRzY0WCpFIuQgjRW8fyrRnlc8/9MQQ0Xp3FfS+xRU2SoIlgttQ5TJd08FEl7WY1dFziqJUAPjbsRG57Jg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:17:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 80ms (Views: 77.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 13:17:42 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.3ms)

Completed 200 OK in 48ms (Views: 46.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 13:17:56 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"c+0RR6xDU81UVwS3SoDlHjs9JEuZpZwqmmJ/Xte0Y89xzbz4YVtaQo4aseq5zhwDuoPAwjxsksOGE2mm5wA2SQ==", "long_url"=>"vipumar", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4f211"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "vipumar"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "vipumar"], ["short_url", "https://www.vg.sw.n/4f211"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (6.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211 Completed 200 OK in 19ms (ActiveRecord: 9.6ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211” for 127.0.0.1 at 2019-01-21 13:17:56 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"vipumar", "short_url"=>"https://www.vg.sw.n/4f211"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 74ms (Views: 70.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:18:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 58ms (Views: 56.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 13:18:07 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 63ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 13:18:12 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nWgnX0jpgc5pVAMXevnf9SNFcY6G3zOWEiR/xngd6oifSIrghfGIQbMZtkqJtyboovuVByMWPX8OVWk+SKm/Dg==", "long_url"=>"vipumar", "domain"=>"hnfgb", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4f211"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "vipumar"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "vipumar"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211 Completed 200 OK in 22ms (ActiveRecord: 1.1ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211” for 127.0.0.1 at 2019-01-21 13:18:12 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"vipumar", "short_url"=>"https://www.vg.sw.n/4f211"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (5.7ms)

Completed 200 OK in 63ms (Views: 60.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:18:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 57ms (Views: 55.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 13:18:22 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 79ms (Views: 77.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 13:18:25 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ux3trqZ/gTfHDBw1j9XMmyXyDXJ+fduJ/SYJXz2Aa4BS+usellrHLNft/4rL7JC9yyj3l334WN1vBt12NwxTjQ==", "short_url"=>"https://www.vg.sw.n/4f211", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/4f211"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:65

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211” for 127.0.0.1 at 2019-01-21 13:18:25 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"vipumar", "short_url"=>"https://www.vg.sw.n/4f211"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 54ms (Views: 51.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:18:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:18:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 43ms (Views: 41.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:18:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 63ms (Views: 61.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:18:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 51ms (Views: 50.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:18:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 61ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:18:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 89ms (Views: 87.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:19:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 79ms (Views: 77.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:19:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 41ms (Views: 38.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:19:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 52ms (Views: 50.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 13:19:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 43ms (Views: 41.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 14:39:51 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 460ms (Views: 455.3ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-21 14:39:53 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (5.2ms)

Completed 200 OK in 84ms (Views: 80.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 14:39:56 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (9.9ms)

Completed 200 OK in 108ms (Views: 106.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 14:40:01 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wYhN2trAD0+mWkV/vgheIUqL63hsjwY0c2Flab3269n6povmLjoMvPDHW8aI8N5fYB9zFdUeYVxCW2fbZF3t0A==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 4.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 14:40:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 71ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:40:08 +0530 Processing by UrlsController#long_to_short as HTML Completed 500 Internal Server Error in 207ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `long_url' for #<UrlsController:0x00007f824949c370> Did you mean? long_to_short):

app/controllers/urls_controller.rb:99:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:40:42 +0530 Processing by UrlsController#long_to_short as HTML Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `params' for #<Class:0x00007f824c343840>):

app/models/url.rb:7:in `check_url_present' app/controllers/urls_controller.rb:99:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:41:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.5ms)

Completed 200 OK in 52ms (Views: 41.5ms | ActiveRecord: 3.3ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:41:48 +0530 Processing by UrlsController#long_to_short as HTML Completed 500 Internal Server Error in 18ms (ActiveRecord: 3.1ms)

NameError (undefined local variable or method `session' for #<Url:0x00007f824c555840>):

app/models/url.rb:13:in `update_url' app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:42:04 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140

Completed 500 Internal Server Error in 19ms (ActiveRecord: 3.1ms)

NameError (undefined local variable or method `params' for #<Url:0x00007f824c615168>):

app/models/url.rb:14:in `update_url' app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:42:44 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "sadbaksjdksd"], ["short_url", "fc614"], ["domain", "jdlwkdskdskd"]]
↳ app/models/url.rb:15
 (5.9ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/home/index Completed 302 Found in 24ms (ActiveRecord: 12.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 14:42:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 47ms (Views: 46.1ms | ActiveRecord: 0.0ms)

User Exists (0.3ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (1.1ms)  SELECT "users".* FROM "users"
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 14:44:03 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 47ms (Views: 44.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 14:44:08 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MAENlnje6JR9l7RJzss9hv0JK3oqp2ai+qm1Yc2eQmwLL8uqjCTrZysKqvD4M734152zF5M2AcrLk7fTFDVEZQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 4.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 14:44:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 60ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:44:09 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6140"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:15
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 101ms (Views: 65.4ms | ActiveRecord: 15.5ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:45:05 +0530 Processing by UrlsController#long_to_short as HTML

 (0.1ms)  BEGIN
↳ app/models/url.rb:7
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:7
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6140"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:15
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 66ms (Views: 43.6ms | ActiveRecord: 5.3ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:45:44 +0530 Processing by UrlsController#long_to_short as HTML

 (0.4ms)  BEGIN
↳ app/models/url.rb:7
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:7
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6140"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:15
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.2ms)

Completed 200 OK in 75ms (Views: 47.2ms | ActiveRecord: 8.5ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:45:56 +0530 Processing by UrlsController#long_to_short as HTML

 (0.2ms)  BEGIN
↳ app/models/url.rb:7
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:7
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:7
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6140"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
 (1.4ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:15
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 74ms (Views: 56.4ms | ActiveRecord: 4.6ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:46:23 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6140"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:15

Redirected to localhost:3000/home/index Completed 302 Found in 19ms (ActiveRecord: 5.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 14:46:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 65ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 14:46:37 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.4ms)

Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 14:46:43 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fjo1baQ/9SG4q6G7O/3VewUjecCiDY9r29pQPFFkGJVFFPNRUMX20u42vwINBVUFL7fhrRuc6APq4FKOiM8enA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 4.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 14:46:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 71ms (Views: 55.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:46:46 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6140"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (5.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadbaksjdksd"], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:15
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 83ms (Views: 38.5ms | ActiveRecord: 20.1ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:47:07 +0530 Processing by UrlsController#long_to_short as HTML Completed 500 Internal Server Error in 13ms (ActiveRecord: 4.1ms)

NoMethodError (undefined method `update_url' for #<ActiveModel::Errors:0x00007f824c65e1b0>):

app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:47:38 +0530 Processing by UrlsController#long_to_short as HTML Completed 500 Internal Server Error in 15ms (ActiveRecord: 5.9ms)

NoMethodError (undefined method `update_url' for #<ActiveModel::Errors:0x00007f824a47ba70>):

app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:49:09 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjdksd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6140"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "sadbaksjdksd"], ["id", 167], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "c6140"], ["id", 167]]
↳ app/models/url.rb:15
 (6.3ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/home/index Completed 302 Found in 28ms (ActiveRecord: 12.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 14:49:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 41ms (Views: 40.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 14:49:18 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 200 OK in 62ms (Views: 58.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 14:49:23 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tNCVmC00fNRrvQt6LXHDPjwbYwffHqeaGtlSfgHp4ISP/lOk2c5/Jz0gFcMbiUNAFo/7amaPwPIr41DM2ELmjQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 9ms (ActiveRecord: 2.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 14:49:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 97ms (Views: 93.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:49:25 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (9.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjdksd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:139
 (0.3ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "sadbaksjdksd"], ["id", 167], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (1.9ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "fc614"], ["id", 167]]
↳ app/models/url.rb:15
 (5.5ms)  COMMIT
↳ app/models/url.rb:15
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 69ms (Views: 42.6ms | ActiveRecord: 18.1ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:50:05 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjdksd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6140"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "sadbaksjdksd"], ["id", 167], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "c6140"], ["id", 167]]
↳ app/models/url.rb:15
 (5.1ms)  COMMIT
↳ app/models/url.rb:15
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 40.9ms | ActiveRecord: 10.1ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:52:21 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjdksd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:140
 (0.2ms)  BEGIN
↳ app/models/url.rb:18
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "sadbaksjdksd"], ["id", 167], ["LIMIT", 1]]
↳ app/models/url.rb:18
Url Update (1.1ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "fc614"], ["id", 167]]
↳ app/models/url.rb:18
 (5.8ms)  COMMIT
↳ app/models/url.rb:18

Redirected to localhost:3000/home/index Completed 302 Found in 25ms (ActiveRecord: 11.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 14:52:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 51ms (Views: 49.1ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-21 14:52:21 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.0ms)

Completed 200 OK in 90ms (Views: 88.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 14:52:23 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 200 OK in 64ms (Views: 63.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 14:52:29 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wiopEOUCHwAfZCPhSMq2aJ0RaYU4eGGC39WPq4Whdtn5BO8sEfgc80n5PVh+MjYWt4Xx6IHpBuru740ZXApw0A==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 9ms (ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 14:52:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 64ms (Views: 61.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:53:57 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjdksd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fc614"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:145
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6140"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:145
 (0.2ms)  BEGIN
↳ app/models/url.rb:18
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "sadbaksjdksd"], ["id", 167], ["LIMIT", 1]]
↳ app/models/url.rb:18
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "c6140"], ["id", 167]]
↳ app/models/url.rb:18
 (5.8ms)  COMMIT
↳ app/models/url.rb:18
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 38.2ms | ActiveRecord: 10.8ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:54:35 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjsd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 500 Internal Server Error in 36ms (ActiveRecord: 3.0ms)

ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError):

app/models/url.rb:12:in `create_new_url' app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:57:02 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (1.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjsd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 500 Internal Server Error in 14ms (ActiveRecord: 4.9ms)

ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError):

app/models/url.rb:12:in `create_new_url' app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:58:21 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjsd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 400 Bad Request in 10ms (ActiveRecord: 5.3ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:160:in `url_params' app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:58:48 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjsd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 400 Bad Request in 7ms (ActiveRecord: 3.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:160:in `url_params' app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:58:55 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjsd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 400 Bad Request in 10ms (ActiveRecord: 4.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: urls):

app/controllers/urls_controller.rb:160:in `url_params' app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 14:59:34 +0530 Processing by UrlsController#long_to_short as HTML

Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."domain" = $2 ORDER BY "urls"."id" ASC LIMIT $3  [["long_url", "sadbaksjsd"], ["domain", "jdlwkdskdskd"], ["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 400 Bad Request in 7ms (ActiveRecord: 3.5ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:160:in `url_params' app/controllers/urls_controller.rb:101:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 15:02:50 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:102: syntax error, unexpected '='

=begin
^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:111: syntax error, unexpected '=', expecting end

=end
^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:170: syntax error, unexpected end-of-input, expecting end):

app/controllers/urls_controller.rb:102: syntax error, unexpected '=' app/controllers/urls_controller.rb:111: syntax error, unexpected '=', expecting end app/controllers/urls_controller.rb:170: syntax error, unexpected end-of-input, expecting end Started GET “/” for 127.0.0.1 at 2019-01-21 15:04:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 54.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 15:06:44 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 64ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:06:47 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 177ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `url' for #<UrlsController:0x00007f82491644f0> Did you mean? URI):

app/controllers/urls_controller.rb:11:in `shorten_url' app/controllers/urls_controller.rb:142:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:07:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 2ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:172:in `url_params' app/controllers/urls_controller.rb:11:in `shorten_url' app/controllers/urls_controller.rb:142:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:07:15 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:172:in `url_params' app/controllers/urls_controller.rb:11:in `shorten_url' app/controllers/urls_controller.rb:142:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:07:42 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:171:in `url_params' app/controllers/urls_controller.rb:11:in `shorten_url' app/controllers/urls_controller.rb:141:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:09:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 4ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:172:in `url_params' app/controllers/urls_controller.rb:12:in `shorten_url' app/controllers/urls_controller.rb:142:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:10:05 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 2ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: urls):

app/controllers/urls_controller.rb:172:in `url_params' app/controllers/urls_controller.rb:12:in `shorten_url' app/controllers/urls_controller.rb:142:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:11:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 2ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:173:in `url_params' app/controllers/urls_controller.rb:12:in `shorten_url' app/controllers/urls_controller.rb:143:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:15:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 2ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:173:in `url_params' app/controllers/urls_controller.rb:12:in `shorten_url' app/controllers/urls_controller.rb:143:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:16:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 3ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:173:in `url_params' app/controllers/urls_controller.rb:12:in `shorten_url' app/controllers/urls_controller.rb:143:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:17:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 2ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:173:in `url_params' app/controllers/urls_controller.rb:12:in `shorten_url' app/controllers/urls_controller.rb:143:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:17:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 2ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:173:in `url_params' app/controllers/urls_controller.rb:12:in `shorten_url' app/controllers/urls_controller.rb:143:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:18:37 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:174:in `url_params' app/controllers/urls_controller.rb:8:in `shorten_url' app/controllers/urls_controller.rb:144:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:19:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:171:in `url_params' app/controllers/urls_controller.rb:8:in `shorten_url' app/controllers/urls_controller.rb:141:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:21:16 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:172:in `url_params' app/controllers/urls_controller.rb:9:in `shorten_url' app/controllers/urls_controller.rb:142:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:22:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 2ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:172:in `url_params' app/controllers/urls_controller.rb:11:in `shorten_url' app/controllers/urls_controller.rb:142:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:23:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `params' for #<Class:0x00007f824cf51a38>):

app/models/url.rb:8:in `check_url_present' app/controllers/urls_controller.rb:10:in `shorten_url' app/controllers/urls_controller.rb:141:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:23:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:171:in `url_params' app/controllers/urls_controller.rb:8:in `shorten_url' app/controllers/urls_controller.rb:141:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:24:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `params' for #<Class:0x00007f824a7dd880>):

app/models/url.rb:8:in `check_url_present' app/controllers/urls_controller.rb:10:in `shorten_url' app/controllers/urls_controller.rb:141:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:25:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 1, expected 0)):

app/models/url.rb:6:in `check_url_present' app/controllers/urls_controller.rb:10:in `shorten_url' app/controllers/urls_controller.rb:141:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:25:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lCaC92PiVG2cFaDNxod70Q/DdEbdiue7/NU7nTahevOWBi9Irvpd4kZYFZA1yYLMjn2Qz3hD6VLgpC1lBhUvdQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:9

Redirected to localhost:3000/urls/show Completed 200 OK in 11ms (ActiveRecord: 2.9ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 15:25:51 +0530 Processing by UrlsController#show as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 15:25:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 56ms (Views: 53.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 15:26:04 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.9ms)

Completed 200 OK in 58ms (Views: 54.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 15:26:08 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lGcmTdp9+G6i3LwidZMmaltJW3ercWQsrxZ6DEN+kgWvSeBxLof7nfRBoptDa6YUcd3DGhLgA0SeLHi+mtWUDA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 4.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 15:26:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 95ms (Views: 93.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 15:26:10 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 78ms (Views: 75.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:26:16 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"q2s6868Q+izJnrHWwmxUhzOO5F2n8Su5kHGeGlGtjU6pS5dMYgjzoxPTBIsxIq2asjAA1AI4JVCMAIjiYRnYyA==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.9ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:9

Redirected to localhost:3000/urls/show Completed 200 OK in 7ms (ActiveRecord: 0.9ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 15:26:16 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.1ms)

Completed 200 OK in 75ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 15:28:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 41ms (Views: 40.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 15:28:01 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.1ms)

Completed 200 OK in 97ms (Views: 95.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:28:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V+6UiQFyix7/Du63rJWewLRgCLuYPseTTKXXlfNVRjhVzjk2zGqCkSVDW+pf22fdNd7sMj33yXpQ1MFtw+ETvg==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"fdg", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:9

Redirected to localhost:3000/urls/show Completed 200 OK in 10ms (ActiveRecord: 3.4ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 15:28:04 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 61.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 15:39:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 37ms (Views: 36.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 15:39:50 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 71ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:39:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yO5b6gKnhw4ZhWqGd4HdaoTXW4FkGMaNTgDN2oPMzyvKzvZVz7+OgcPI39uEzyR3BWm/CMHRyGRScdsis3iarQ==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"q", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.6ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Redirected to localhost:3000/urls/show Completed 200 OK in 16ms (ActiveRecord: 6.3ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 15:39:53 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.2ms)

Completed 200 OK in 90ms (Views: 89.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 15:51:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 38ms (Views: 37.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 15:51:35 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.4ms)

Completed 200 OK in 64ms (Views: 62.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 15:51:43 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mYSsGKsIDqhSpephKfDi/RsynMJiRqUTnD2VB3uSAmGiqmokX/INWwQ49NgfCGKDMaYEr9vXwnutB5e1ojkEaA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 6.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 15:51:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 55ms (Views: 53.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 15:51:45 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 78ms (Views: 74.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:51:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"o4mW54TfOQ5N8JAH1mXc91XFuGoNXhIwlRcAAh6QzW+hqTtYSccwgZe9JVolKyXq1Htc46iXHNmJZhb6LiSY6Q==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 500 Internal Server Error in 13ms (ActiveRecord: 3.3ms)

NameError (undefined local variable or method `t' for #<Url:0x00007f824c247e50>):

app/models/url.rb:23:in `block in fetch_all' app/models/url.rb:22:in `each' app/models/url.rb:22:in `fetch_all' app/controllers/urls_controller.rb:10:in `shorten_url' app/controllers/urls_controller.rb:137:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:52:21 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"o4mW54TfOQ5N8JAH1mXc91XFuGoNXhIwlRcAAh6QzW+hqTtYSccwgZe9JVolKyXq1Htc46iXHNmJZhb6LiSY6Q==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (1.0ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 500 Internal Server Error in 15ms (ActiveRecord: 5.3ms)

NoMethodError (undefined method `c' for #<Url:0x00007f824c4a8a00>):

app/models/url.rb:23:in `block in fetch_all' app/models/url.rb:22:in `each' app/models/url.rb:22:in `fetch_all' app/controllers/urls_controller.rb:10:in `shorten_url' app/controllers/urls_controller.rb:137:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:53:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"o4mW54TfOQ5N8JAH1mXc91XFuGoNXhIwlRcAAh6QzW+hqTtYSccwgZe9JVolKyXq1Htc46iXHNmJZhb6LiSY6Q==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 500 Internal Server Error in 23ms (ActiveRecord: 4.6ms)

NoMethodError (undefined method `serializeable_hash' for #<Url:0x00007f824c786e70> Did you mean? serializable_hash):

app/controllers/urls_controller.rb:10:in `shorten_url' app/controllers/urls_controller.rb:137:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:54:35 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"o4mW54TfOQ5N8JAH1mXc91XFuGoNXhIwlRcAAh6QzW+hqTtYSccwgZe9JVolKyXq1Htc46iXHNmJZhb6LiSY6Q==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Redirected to localhost:3000/urls/show Completed 200 OK in 12ms (ActiveRecord: 4.5ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 15:54:35 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 59ms (Views: 57.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 15:56:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 15:56:32 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 81ms (Views: 79.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 15:56:36 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/ntemFRnVQmQKXRjgdXH3V0s5yAtDfV4ewQLykxpy+b8W/MnmX9chkpkwT5ymz7A3JIDqYjE+5FndR0yfN2eYA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Completed 500 Internal Server Error in 10ms (ActiveRecord: 3.2ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:10:in `instance_variable_get' app/controllers/urls_controller.rb:10:in `shorten_url' app/controllers/urls_controller.rb:137:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:00:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/ntemFRnVQmQKXRjgdXH3V0s5yAtDfV4ewQLykxpy+b8W/MnmX9chkpkwT5ymz7A3JIDqYjE+5FndR0yfN2eYA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"q", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.2ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Redirected to localhost:3000/urls/show Completed 200 OK in 12ms (ActiveRecord: 3.6ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:00:00 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 58ms (Views: 56.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 16:18:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 81ms (Views: 79.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:22:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 35ms (Views: 34.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 16:22:43 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.1ms)

Completed 200 OK in 50ms (Views: 48.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 16:22:47 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"e4FuVYzhpf91MhaZqqWcP74FS2R40lHjSF/xbWHsYpBAr6hpeBumDCOvCCCcXRxBlJHTCcFDNot5ZfPfuEdkmQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 16ms (ActiveRecord: 7.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:22:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 55ms (Views: 53.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 16:22:49 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.2ms)

Completed 200 OK in 113ms (Views: 109.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:28:28 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 38ms (Views: 37.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:28:32 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8Y/X1UkablkluqKoPJNw8Y2nQFyFDDVl6OkuBgsl6qPzr3pqhAJn1v/3F/XP3YnsDBmk1SDFO4z0mDj+O5G/JQ==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"a", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.8ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Redirected to localhost:3000/urls/show Completed 200 OK in 13ms (ActiveRecord: 4.6ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:28:32 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 54.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:28:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 80ms (Views: 78.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:28:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 78ms (Views: 75.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:28:43 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dKZkUoJN2d9EQNfguN5pVTjMpq6z/jOaPdBHoN5Xrk52hsntT1XQUJ4NYr1LkJBIuXJCJxY3PXMhoVFY7uP7yA==", "long_url"=>"https://apidock.com/rails/Object/instance_values", "domain"=>"dsfwdsf", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Redirected to localhost:3000/urls/show Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:28:43 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 63ms (Views: 60.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:29:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 66ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:29:22 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.6ms)

Completed 200 OK in 71ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:29:32 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eRfnXYhIx6BJchJ5ok0BVBDXRk+YMsHNDuw6h42bFWt7N0riRVDOL5M/pyRRA/hJkWmixj37zyQSnSx/vS9A7Q==", "long_url"=>"https://www.amazon.in/", "domain"=>"amazon", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Redirected to localhost:3000/urls/show Completed 200 OK in 11ms (ActiveRecord: 3.2ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:29:32 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 68ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:30:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 42ms (Views: 40.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:30:39 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 85ms (Views: 83.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:30:44 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5yytCuCcBexEMvMYA0MAQ/bCMrkNdLU87MMAsXwiVwblDAC1LYQMY55/RkXwDfled3zWMKi9u9XwshZJTJYCgA==", "long_url"=>"efdasdsad", "domain"=>"dsad", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 11ms (ActiveRecord: 3.6ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:30:44 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.1ms)

Completed 200 OK in 59ms (Views: 55.8ms | ActiveRecord: 0.0ms)

User Exists (0.3ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (0.3ms)  SELECT "users".* FROM "users"
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 223], ["LIMIT", 1]]

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:35:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 45ms (Views: 44.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:35:56 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 95ms (Views: 92.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:36:02 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CYitmWqSynClf6dC1XOYbHRc8SwXk4ZxFXX64ihkv5ELqAAmp4rD/38yEh8mPWFx9eIVpbJaiJgJBOwaGNDqFw==", "long_url"=>"plmokn", "domain"=>"pojiskndc", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 15ms (ActiveRecord: 6.6ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:36:02 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 85ms (Views: 83.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:36:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:36:35 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.3ms)

Completed 200 OK in 93ms (Views: 91.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:36:39 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rb9SyBw1p6YUP3X+7nHp0MLeVSXaBSg1mfSv7RecLj9Hn/930S2uKc5ywKMdPxDNQ2CxrH/MJtyFhbkVJyh7uQ==", "long_url"=>"wsadfewtgsfd", "domain"=>"dfsm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 24ms (ActiveRecord: 6.9ms)

NoMethodError (undefined method `to_a' for #<Url:0x00007f824ca257f8> Did you mean? to_s):

app/controllers/urls_controller.rb:11:in `shorten_url' app/controllers/urls_controller.rb:145:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:36:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rb9SyBw1p6YUP3X+7nHp0MLeVSXaBSg1mfSv7RecLj9Hn/930S2uKc5ywKMdPxDNQ2CxrH/MJtyFhbkVJyh7uQ==", "long_url"=>"wsadfewtgsfd", "domain"=>"dfsm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.2ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 11ms (ActiveRecord: 3.3ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:36:52 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 61ms (Views: 58.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:37:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 57ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:37:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.5ms)

Completed 200 OK in 72ms (Views: 70.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:37:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"f2tTeBbet5d5kWEdU8PknqcEYppgeYBQwtcdy+LRIrR9S/7H28a+GKPc1ECgjR2DJrqGE8Wwjrnepgsz0mV3Mg==", "long_url"=>"tgb", "domain"=>"d", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.2ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 11ms (ActiveRecord: 3.4ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:37:23 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 70ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:38:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 65ms (Views: 63.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:38:16 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.4ms)

Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:38:21 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WRMgdfmgAYTBvnyXW/rty+iBmulpvBA1nTa/zxdEYHVbM43KNLgICxvzycqotBTWaT9+YMx1HtyBR6k3J/A18w==", "long_url"=>"vipuhcgvjbkn.,mmar", "domain"=>"j", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7
Url Create (0.4ms)  INSERT INTO "urls" DEFAULT VALUES RETURNING "id"
↳ app/models/url.rb:7
 (5.8ms)  COMMIT
↳ app/models/url.rb:7

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 19ms (ActiveRecord: 9.3ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:38:21 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)

Completed 200 OK in 65ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:39:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 63ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:39:25 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 89ms (Views: 87.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:39:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AfT/coAhydv/MgM2fps/gxye9o69hXK0pDTplRFVwNsD1FLNTTnAVCV/tmuN1caenSASBxhMfF24Rf9tIeGVXQ==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:7
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:7

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 6ms (ActiveRecord: 0.8ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:39:28 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 60ms (Views: 57.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:40:08 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 42ms (Views: 40.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:40:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 87ms (Views: 85.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:40:10 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 69ms (Views: 66.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:40:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dMXK1RIu1TRiVUjKEpwSc6X5Qm91p8kVi6EmOLXfTrl25Wdq3zbcu7gY/Zfh0utuJEem5tBux/yX0DDAhWsbPw==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"dfg", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 12ms (ActiveRecord: 3.8ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:40:18 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 67ms (Views: 65.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 16:40:48 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 347ms (Views: 342.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:40:50 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (15.0ms)

Completed 200 OK in 95ms (Views: 93.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:40:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/Wh2vLfMg4ypeIGByZ/FmASi3ZnR/9xwsRbpn+PP3dz/SNsDetSKA3M1NNw60TyFhRw5EHQ20pmtZ/9n03uIWg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"a", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 19ms (ActiveRecord: 4.1ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:40:54 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 114ms (Views: 108.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:42:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 45ms (Views: 41.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:42:01 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 80ms (Views: 78.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:42:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HN2LMofwAdJ/kuCgAzxUquOW+mBjexGa/7HRjJdxJ0ge/SaNSugIXaXfVf3wcq23Yige6cayH3PjwMd0p8Vyzg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"a", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:7
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:7
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:7

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 19ms (ActiveRecord: 4.4ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:42:04 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 74ms (Views: 70.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:43:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 45ms (Views: 44.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 16:43:09 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.8ms)

Completed 200 OK in 64ms (Views: 62.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 16:43:13 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9s5AjvA9Yp/o9e0SjTFQsTI0vMImK0hAJDY+MG7aAaTN4IayBMdhbL5o86u7ydDPGKAkr5+6LygVDDyCt3EHrQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 4.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:43:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 66ms (Views: 64.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:43:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 67ms (Views: 64.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:43:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DtOrviin5RYuEpugy0sWwhU/btAWNEassG/jshchVMYM8wYB5b/smfRfLv04Be/flIGKWbP9SEWsHvVKJ5UBQA==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"a", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:8
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:8
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:8

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show Completed 200 OK in 15ms (ActiveRecord: 3.8ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-21 16:43:19 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.7ms)

Completed 200 OK in 97ms (Views: 91.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 16:47:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 45ms (Views: 43.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 16:47:01 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (10.3ms)

Completed 200 OK in 76ms (Views: 64.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:47:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8J7yWxeiLip5rCroVjYqTsktf9SjRuxkbRw93ytky0fyvl/k2ronpaPhn7WleNNTSJObXQaP4o1xbSsnG9CewQ==", "long_url"=>"vipul kumarsafasfas", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:8
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:8
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:8

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 15ms (ActiveRecord: 4.5ms)

NoMethodError (undefined method `start_with?' for nil:NilClass):

app/controllers/urls_controller.rb:78:in `short_url' app/controllers/urls_controller.rb:17:in `shorten_url' app/controllers/urls_controller.rb:145:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 16:50:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8J7yWxeiLip5rCroVjYqTsktf9SjRuxkbRw93ytky0fyvl/k2ronpaPhn7WleNNTSJObXQaP4o1xbSsnG9CewQ==", "long_url"=>"vipul kumarsafasfas", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:8
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:8
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:8

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.8ms)

NoMethodError (undefined method `start_with?' for nil:NilClass):

app/controllers/urls_controller.rb:78:in `short_url' app/controllers/urls_controller.rb:17:in `shorten_url' app/controllers/urls_controller.rb:145:in `show_shorten'

 (0.2ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to CreateReports (20190121113628)

 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (29.2ms)  CREATE TABLE "reports" ("id" bigserial primary key, "date" character varying, "no_of_urls" integer)
↳ db/migrate/20190121113628_create_reports.rb:3
ActiveRecord::SchemaMigration Create (0.3ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190121113628"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (0.9ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" LIMIT $1  [["LIMIT", 11]]

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:14:44 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-21 17:14:44 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-21 17:14:44 +0530 Started GET “/sidekiq/javascripts/dashboard.js” for 127.0.0.1 at 2019-01-21 17:14:44 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-21 17:14:44 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-21 17:14:44 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:14:44 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:14:49 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:14:54 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:14:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:04 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:09 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:14 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:15:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:16:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:19 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:17:19 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:17:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:24 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:29 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:17:32 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:17:32 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:37 +0530 Started GET “/” for 127.0.0.1 at 2019-01-21 17:17:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (6.8ms)

Completed 200 OK in 400ms (Views: 396.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:17:41 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (8.3ms)

Completed 200 OK in 67ms (Views: 65.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 17:17:43 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mHqqz1hRMSyCmLB4HfeJh/5PDlGozrBcqIMDQkTHRMqjVGzzrKsy39QFrsErDwn51NuWPBFf1zSZuQHwnWxCww==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 6.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:17:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 95ms (Views: 93.3ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:43 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:17:44 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.3ms)

Completed 200 OK in 62ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:48 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:17:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"H4wFCcPg05BxmKDuu+gqRxXmMQNLDHilbkQ/b6HRwSYdrKi2DvjaH6vVFbNIptNalFjViu7FdkxyNSmXkWWUoA==", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90373"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/90373"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.4ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 20ms (ActiveRecord: 4.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:17:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:18:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:19:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:19:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:19:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:19:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:19:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:19:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:19:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:19:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:19:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:13 +0530

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:18 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:23 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:28 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:33 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:38 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:43 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:48 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:53 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:20:58 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:21:03 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:21:08 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:21:13 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:193:in `call_pipelined' redis (4.1.0) lib/redis/client.rb:163:in `block in call_pipeline' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:161:in `call_pipeline' redis (4.1.0) lib/redis.rb:2408:in `block in pipelined' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:2404:in `pipelined' sidekiq (5.2.5) lib/sidekiq/api.rb:68:in `block in fetch_stats!' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq/api.rb:67:in `fetch_stats!' sidekiq (5.2.5) lib/sidekiq/api.rb:23:in `initialize' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `new' sidekiq (5.2.5) lib/sidekiq/web/application.rb:256:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:23:38 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

ActionController::RoutingError (No route matches [GET] “/sidekiq/stats”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:23:43 +0530

ActionController::RoutingError (No route matches [GET] “/sidekiq/stats”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:23:48 +0530

ActionController::RoutingError (No route matches [GET] “/sidekiq/stats”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:23:53 +0530

ActionController::RoutingError (No route matches [GET] “/sidekiq/stats”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-21 17:25:23 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 292ms (Views: 286.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:25:25 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.8ms)

Completed 200 OK in 104ms (Views: 100.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 17:25:27 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WCjFRD2zAw1XKxXr/hFd4F/VXQv+b2MXFwl7MIQCtFxjBgN4yUkA/gG2C1LI6d2edUHFZkf+BH8mM3mCXamyVQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 20ms (ActiveRecord: 3.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:25:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 117ms (Views: 113.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:25:28 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 74ms (Views: 70.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:25:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+goPBebs6muxMr7ddNoO5D+eTsWC/o1pz09H3+mMOr74KqK6K/Tj5Gt/C4CHlPf5viCqTCc3g4DTPlEn2ThvOA==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 25ms (ActiveRecord: 4.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=overflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-21 17:25:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"overflow", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 90ms (Views: 87.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:25:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 58ms (Views: 55.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-21 17:25:33 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.2ms)

Completed 200 OK in 83ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-21 17:25:35 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9Wi9TdcSvxV88s91B6rieAX8HxpBJDwHH9VXWJ6xByYcj7v95zf5DmwTLMpDk75e6ybl/0Khv1ON9YNxlD0/Kw==", "short_url"=>" https://www.vg.sw.n/w5QH3cC", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/ https://www.vg.sw.n/w5QH3cC"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:65

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 8ms (ActiveRecord: 0.4ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-21 17:25:35 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 71ms (Views: 66.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:25:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 76ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 17:27:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 103ms (Views: 101.8ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:27:56 +0530

ActionController::RoutingError (No route matches [GET] “/sidekiq”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:28:23 +0530

LoadError (cannot load such file – sidekiq/web):

config/routes.rb:19:in `block in <main>' config/routes.rb:1:in `<main>' Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:28:36 +0530

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:123:in `call' redis (4.1.0) lib/redis.rb:279:in `block in info' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:278:in `info' sidekiq (5.2.5) lib/sidekiq.rb:115:in `block in redis_info' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq.rb:108:in `redis_info' sidekiq (5.2.5) lib/sidekiq/web/helpers.rb:162:in `redis_info' sidekiq (5.2.5) lib/sidekiq/web/application.rb:47:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:28:51 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:28:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:28:56 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:01 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:29:04 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:29:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 309ms (Views: 307.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:29:05 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (6.4ms)

Completed 200 OK in 82ms (Views: 80.8ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:07 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:29:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 81ms (Views: 79.5ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:12 +0530 Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:29:12 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.7ms)

Completed 200 OK in 68ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 17:29:15 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gp9zLKOqG/+H3TKYUrmOup68f780TNZXtJiqrsg9nFC5sbUQV1AYDNFALCFkQQ7EtCjn0o3dsT+FoqgcEZaaWQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 20ms (ActiveRecord: 6.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:29:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 67ms (Views: 64.1ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:17 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:29:21 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.4ms)

Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:22 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:27 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:29:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PIL046rm6H3ku24tljk7+vOMdLy0CDVcELPclk6Ov8I+ollcZ/7h8j7223Bld8LncjKQNRHBO7UMwspufjrqRA==", "long_url"=>"https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0ebec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["short_url", "https://www.vg.sw.n/0ebec"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 21ms (ActiveRecord: 4.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:32 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:37 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:42 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:47 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:52 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:29:57 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:29:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PIL046rm6H3ku24tljk7+vOMdLy0CDVcELPclk6Ov8I+ollcZ/7h8j7223Bld8LncjKQNRHBO7UMwspufjrqRA==", "long_url"=>"https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0ebec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["short_url", "https://www.vg.sw.n/0ebec"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 17ms (ActiveRecord: 4.1ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:30:02 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:30:07 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:30:12 +0530

Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:32:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PIL046rm6H3ku24tljk7+vOMdLy0CDVcELPclk6Ov8I+ollcZ/7h8j7223Bld8LncjKQNRHBO7UMwspufjrqRA==", "long_url"=>"https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0ebec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["short_url", "https://www.vg.sw.n/0ebec"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 15ms (ActiveRecord: 1.4ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten'

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"
Url Load (0.4ms)  SELECT "urls".* FROM "urls"
 (0.2ms)  BEGIN
Url Destroy (0.6ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 158]]
 (1.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 159]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 164]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 165]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 167]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 160]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 161]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 162]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 163]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 166]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 168]]
 (0.3ms)  COMMIT

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:32:23 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PIL046rm6H3ku24tljk7+vOMdLy0CDVcELPclk6Ov8I+ollcZ/7h8j7223Bld8LncjKQNRHBO7UMwspufjrqRA==", "long_url"=>"https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0ebec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["short_url", "https://www.vg.sw.n/0ebec"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 7ms (ActiveRecord: 1.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten'

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:32:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PIL046rm6H3ku24tljk7+vOMdLy0CDVcELPclk6Ov8I+ollcZ/7h8j7223Bld8LncjKQNRHBO7UMwspufjrqRA==", "long_url"=>"https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0ebec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["short_url", "https://www.vg.sw.n/0ebec"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 16ms (ActiveRecord: 4.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:33:26 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PIL046rm6H3ku24tljk7+vOMdLy0CDVcELPclk6Ov8I+ollcZ/7h8j7223Bld8LncjKQNRHBO7UMwspufjrqRA==", "long_url"=>"https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0ebec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["short_url", "https://www.vg.sw.n/0ebec"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 18ms (ActiveRecord: 4.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:34:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PIL046rm6H3ku24tljk7+vOMdLy0CDVcELPclk6Ov8I+ollcZ/7h8j7223Bld8LncjKQNRHBO7UMwspufjrqRA==", "long_url"=>"https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0ebec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (1.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16"], ["short_url", "https://www.vg.sw.n/0ebec"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fdocs.google.com%2Fpresentation%2Fd%2F1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo%2Fedit%23slide%3Did.g4d855ec66c_0_16&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0ebec Completed 200 OK in 21ms (ActiveRecord: 11.2ms)

Started GET “/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fdocs.google.com%2Fpresentation%2Fd%2F1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo%2Fedit%23slide%3Did.g4d855ec66c_0_16&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0ebec” for 127.0.0.1 at 2019-01-21 17:34:27 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google", "long_url"=>"https://docs.google.com/presentation/d/1LySvqHuDDmFlyvxFuVhZ3klWBvyCFsujJfEAvsUdMyo/edit#slide=id.g4d855ec66c_0_16", "short_url"=>"https://www.vg.sw.n/0ebec"}

Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:34:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 46ms (Views: 42.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:34:29 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.2ms)

Completed 200 OK in 72ms (Views: 70.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 17:34:30 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"beYCudYmktKlOncj5AVfchoMaI2MdI3Ah9UEq/FFf9JWyMSFItyRIfOnaZrS/d8MMJjw4DXl6qi27wYZKO552w==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 2.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:34:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 74ms (Views: 71.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-21 17:34:32 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:34:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 52ms (Views: 50.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:34:35 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:34:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 75ms (Views: 72.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:34:38 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 66ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 17:34:40 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cDtGR+QH5sLROnA2OJOjiTH+rYpYDWyaTfgB7Lg/M79LFYB7EP3lMYenbo8OayP3G2o15+GcC/J8wgNeYZQ1tg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:34:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 67ms (Views: 65.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:34:41 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 91ms (Views: 89.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:34:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Mz4T08W1+gc2qn/24r+VoVO4u9kyIjEmY5AIEp6hfU4xHr5sCK3ziOznyqsR8Wy80gZfUJfrP89/4R7qrhUoyA==", "long_url"=>"efd", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c9ddb"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "efd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "efd"], ["short_url", "https://www.vg.sw.n/c9ddb"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb Completed 200 OK in 12ms (ActiveRecord: 7.4ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb” for 127.0.0.1 at 2019-01-21 17:34:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"efd", "short_url"=>"https://www.vg.sw.n/c9ddb"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 79ms (Views: 75.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:34:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 57ms (Views: 53.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:35:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 67ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:35:08 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.7ms)

Completed 200 OK in 67ms (Views: 65.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:35:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qFNMw3C8pcV3gQAtW3cJXlhB4cnEzy6OzvjrV8QMDHWqc+F8vaSsSq3MtXCoOfBD2f8FQGEGIGfSif2v9LhZ8w==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/660fc"], ["domain", "a"]]
↳ app/controllers/urls_controller.rb:13
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 21ms (ActiveRecord: 10.0ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-21 17:35:11 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 67ms (Views: 65.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:35:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 62ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:35:19 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 42ms (Views: 41.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:35:43 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90373"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/90373"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 24ms (ActiveRecord: 4.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:35:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90373"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/90373"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 15ms (ActiveRecord: 3.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:36:57 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90373"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (1.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/90373"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 18ms (ActiveRecord: 5.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:39:15 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90373"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/90373"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 15ms (ActiveRecord: 4.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:39:36 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90373"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/90373"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 16ms (ActiveRecord: 3.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:40:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90373"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/90373"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 19ms (ActiveRecord: 4.6ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:42:14 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90373"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/90373"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 20ms (ActiveRecord: 4.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:42:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "05a84"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/05a84"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 10ms (ActiveRecord: 2.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:43:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "05a84"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/05a84"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 18ms (ActiveRecord: 4.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:45:41 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HOb0k6cL3cq0f0a+SFN4mS9IMikH5P2KjRMuO2FYcnQexlksahPURW4y8+O7HYGErvbWoKIt82ORYjjDUewn8g==", "long_url"=>"https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "05a84"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/05a84"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwwwgle.com%2Fsearch%3Fq%3Ddate%2Bformat%2Brails%2B5%26oq%3Ddate%2Bformat%2Brail%26aqs%3Dchrome.2.0j69i57j0l4.7049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=https%3A%2F%2Fwww.vg.sw.n%2F05a84 Completed 200 OK in 40ms (ActiveRecord: 10.0ms)

Started GET “/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwwwgle.com%2Fsearch%3Fq%3Ddate%2Bformat%2Brails%2B5%26oq%3Ddate%2Bformat%2Brail%26aqs%3Dchrome.2.0j69i57j0l4.7049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=https%3A%2F%2Fwww.vg.sw.n%2F05a84” for 127.0.0.1 at 2019-01-21 17:45:41 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google", "long_url"=>"https://wwwgle.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"https://www.vg.sw.n/05a84"}

Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:45:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 59ms (Views: 56.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:45:42 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.4ms)

Completed 200 OK in 52ms (Views: 50.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 17:45:44 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"r5sgSL+Rky+QWVr6or96ug2adWD661cE5EpB9OXxw4GUteZ0S2uQ3MbEREOUR/rEJw7tDUN6MGzVcENGPFrFiA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:45:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 73ms (Views: 70.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:45:45 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.5ms)

Completed 200 OK in 58ms (Views: 52.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:45:50 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TQItsOZKS4io4QMHPqH8kWPF5S4mrI8hyHkfgFJhqupPIoAPK1JCB3KstlrN7wWM4nsBp4NlgcjUCAl4YtX/bA==", "long_url"=>"https://stackosdfsdfdverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9dbc7"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackosdfsdfdverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://stackosdfsdfdverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["short_url", "https://www.vg.sw.n/9dbc7"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstackosdfsdfdverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F9dbc7 Completed 200 OK in 13ms (ActiveRecord: 7.3ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstackosdfsdfdverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F9dbc7” for 127.0.0.1 at 2019-01-21 17:45:50 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://stackosdfsdfdverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/9dbc7"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.6ms)

Completed 200 OK in 65ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-21 17:46:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 77ms (Views: 74.7ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:46:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:46:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:46:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:46:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:46:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:46:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:46:35 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:46:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 71ms (Views: 68.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:46:40 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 54ms (Views: 50.5ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:46:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:46:46 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:46:48 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CKab40HOQ3NwAcc1RbNJucy1DHTpl71FG1cSfxleNVUKhjZcjNZK/KpMcmi2/bCkTQvo/Uxes6wHJgSHKepg0w==", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"adfsv", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90373"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/90373"], ["domain", "adfsv"]]
↳ app/controllers/urls_controller.rb:13
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=adfsv&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Ddate%2Bformat%2Brails%2B5%26oq%3Ddate%2Bformat%2Brail%26aqs%3Dchrome.2.0j69i57j0l4.7049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=https%3A%2F%2Fwww.vg.sw.n%2F90373 Completed 200 OK in 23ms (ActiveRecord: 10.3ms)

Started GET “/urls/show?Status=Success&domain=adfsv&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Ddate%2Bformat%2Brails%2B5%26oq%3Ddate%2Bformat%2Brail%26aqs%3Dchrome.2.0j69i57j0l4.7049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=https%3A%2F%2Fwww.vg.sw.n%2F90373” for 127.0.0.1 at 2019-01-21 17:46:48 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"adfsv", "long_url"=>"https://www.google.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"https://www.vg.sw.n/90373"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 71ms (Views: 68.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:46:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 59.1ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:46:51 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:46:54 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:46:54 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:46:57 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-21 17:47:00 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:47:19 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 55ms (Views: 54.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:47:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FjuH5XyTl0KeLS941sZ6JEfkwGC58tVsBZvDJL/gzosUGypasYuezURgmiUliIM5xlok6Rw724UZ6tXcj1SbDQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["short_url", "https://www.vg.sw.n/8f876"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 23ms (ActiveRecord: 10.7ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 17:47:22 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 65ms (Views: 64.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:47:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 71ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:47:25 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 63ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:47:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nu5QhNtp77544rGGozLGaaTYsq9sYOYHw+3Uk/zRnO6czv07FnHmMaKvBNtQfD90JWZWJsmp6O7fnMJrzGXJaA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 8ms (ActiveRecord: 0.9ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 17:47:27 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.7ms)

Completed 200 OK in 64ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:47:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (6.5ms)

Completed 200 OK in 67ms (Views: 64.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:47:31 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 64ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:47:37 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZW1APPO0DRTZ//Fvke9GfDNMoIX6t/GH7zfVi/LDFilnTe2DPqwEmwOyRDJiob9hsvJEDF9+/27zRsNzwndDrw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 4ms (ActiveRecord: 0.8ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 17:47:37 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 79ms (Views: 78.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:48:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 66ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:48:04 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 54ms (Views: 50.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 17:48:06 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kX/FTl5GNaowalHIxovnJTGiCKwQaCs7m1MspHUcssuqUQNyqrw2WWb3T3Hwc2dbGzaQwan5TFOqaS4WrLe0wg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 9ms (ActiveRecord: 2.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:48:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (40.5ms)

Completed 200 OK in 94ms (Views: 90.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:48:06 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.1ms)

Completed 200 OK in 67ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:48:10 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mgH3UjQ8cnssLs9VJzNf/JKUblENZGViVA8iY5VJaZmYIVrt+SR79PZjegjUfabhEyqK2Kita4tIfjSbpf08Hw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 5ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 17:48:10 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 88ms (Views: 86.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:48:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 71ms (Views: 68.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:48:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 78ms (Views: 75.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:48:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+tal7S+/PvHlf5VLDlQJwZo0QYCpo0DjtMozckV/hNv49ghS4qc3fj8yIBb9GvDcG4qlCQxqTgqouyWKdcvRXQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 6ms (ActiveRecord: 0.9ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 17:48:19 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.5ms)

Completed 200 OK in 69ms (Views: 67.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:48:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 124ms (Views: 121.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:48:27 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.3ms)

Completed 200 OK in 99ms (Views: 95.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:48:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dALUbepRvsV/ssBRmLis6YigVBo19njD7fvH57trlJV2InnSJ0m3SqX/dQxr9lX0CR6wk5A/dirxitEfi9/BEw==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["short_url", "https://www.vg.sw.n/17a68"], ["domain", "a"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 12ms (ActiveRecord: 7.4ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-21 17:48:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 71ms (Views: 69.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:48:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:48:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 78ms (Views: 75.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:48:39 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yu3rfFKuP1KtNr8rP/aj5hckhNGSyG7RUjEilJ3TrkrIzUbDn7Y23Xd7CnbMuFr7lppgWDcBYDhOQDRsrWf7zA==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 6ms (ActiveRecord: 1.1ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-21 17:48:39 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 65ms (Views: 63.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:48:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 52ms (Views: 51.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:48:54 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 70ms (Views: 67.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:48:56 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JM81Z2XAKSafvWvJEs3U9Rnx6d2f0Y2xj0piQLwIJb4m75jYqNggqUXw3pThgy3omE8NVDoYg1iTO3S4jLxwOA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 18ms (ActiveRecord: 4.5ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 17:48:56 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 70ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:48:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 78ms (Views: 76.0ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-21 17:49:03 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:49:04 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-21 17:49:06 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:49:07 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-21 17:49:11 +0530 Started POST “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-21 17:49:17 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-21 17:49:17 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:49:18 +0530 Started POST “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-21 17:49:21 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:49:21 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:49:31 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 71ms (Views: 66.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:49:36 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ijh79fQ55R//0SgPKAadRPaQhzGvFMGkIZYBTgPZvdYgGNZKOSHskCWcnVLbSGRZdy5juArdz0095xe2M23oUA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 9ms (ActiveRecord: 1.4ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-21 17:49:36 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 90ms (Views: 88.7ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:49:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:49:46 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:49:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 67ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:49:48 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 66ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:49:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PDQ89GkGSyAAQ/5DN4lcxsiKdnBCvUWa47r0vHCbpko+FJFLpB5Cr9oOSx7Ex6XbSTSS+ed0S3P/y+JEQC/zzA==", "long_url"=>"vipumar", "domain"=>"sda", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4f211"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "vipumar"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "vipumar"], ["short_url", "https://www.vg.sw.n/4f211"], ["domain", "sda"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=sda&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211 Completed 200 OK in 19ms (ActiveRecord: 7.3ms)

Started GET “/urls/show?Status=Success&domain=sda&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211” for 127.0.0.1 at 2019-01-21 17:49:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"sda", "long_url"=>"vipumar", "short_url"=>"https://www.vg.sw.n/4f211"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (3.3ms)

Completed 200 OK in 81ms (Views: 78.9ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-21 17:49:52 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:49:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 58ms (Views: 55.4ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:49:55 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:53:34 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:53:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 60ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:53:35 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 200 OK in 58ms (Views: 55.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 17:53:37 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/ha+l7S/Yd5Imd7+2vZiscnch94Mj1WZ/31LmW1FqFnFOHirQEViLR4EwEfsDuLP40gfs7UeMvHOR0krtO6uUA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:53:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 70ms (Views: 66.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:53:38 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (5.5ms)

Completed 200 OK in 80ms (Views: 75.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:53:43 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"E0pq0C5gB2NRt/04nlZLO6f8gE1Q8p6cZxFgtjmUM1sRasdv43gO7Iv6SGVtGLImJkJkxPU7kHV7YHZOCSBm3Q==", "long_url"=>"efd", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c9ddb"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "efd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "efd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb Completed 200 OK in 17ms (ActiveRecord: 4.5ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb” for 127.0.0.1 at 2019-01-21 17:53:43 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"efd", "short_url"=>"https://www.vg.sw.n/c9ddb"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.8ms)

Completed 200 OK in 66ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:53:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 58ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:53:46 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 80ms (Views: 78.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:53:50 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EFsWlCSp5VMZYF0JokzqsQmigOmLVWwc7UmCwhnGzSoSe7sr6bHs3MMt6FRRAhOsiBxkYC6cYvXxOJQ6KXKYrA==", "long_url"=>"edfsdsa", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "fe006"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "edfsdsa"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "edfsdsa"], ["short_url", "https://www.vg.sw.n/fe006"], ["domain", "a"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=edfsdsa&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ffe006 Completed 200 OK in 15ms (ActiveRecord: 7.1ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=edfsdsa&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ffe006” for 127.0.0.1 at 2019-01-21 17:53:50 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"edfsdsa", "short_url"=>"https://www.vg.sw.n/fe006"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 66ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:53:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 58ms (Views: 54.3ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 17:54:01 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:54:04 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:54:21 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:54:21 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:54:24 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:54:24 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:54:26 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:54:27 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:54:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 75ms (Views: 70.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:54:40 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4f8UdUoQrhyi1t5eriSa+is8WparjmqvU0x+8DTM1Zrj37nKhwink3ibawNdamPnqoK+Hw5HZEZPPWgIBHiAHA==", "long_url"=>"aaaaa", "domain"=>"aaa", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "594f8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "aaaaa"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "aaaaa"], ["short_url", "https://www.vg.sw.n/594f8"], ["domain", "aaa"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=aaa&long_url=aaaaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F594f8 Completed 200 OK in 12ms (ActiveRecord: 7.3ms)

Started GET “/urls/show?Status=Success&domain=aaa&long_url=aaaaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F594f8” for 127.0.0.1 at 2019-01-21 17:54:40 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"aaa", "long_url"=>"aaaaa", "short_url"=>"https://www.vg.sw.n/594f8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 57ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:54:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.9ms)

Completed 200 OK in 81ms (Views: 76.3ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:54:44 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:54:44 +0530 Started POST “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-21 17:54:47 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:54:47 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:54:50 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.6ms)

Completed 200 OK in 70ms (Views: 68.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:54:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Knnb9WdukFLqZJn+rNyGQRZ9R3kVF9ccweP1kKcWSewoWXZKqnaZ3TApLKNfkn9cl8Oj8LDe2fXdkuNol6Icag==", "long_url"=>"ppp", "domain"=>"ppp", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f27f6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ppp"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ppp"], ["short_url", "https://www.vg.sw.n/f27f6"], ["domain", "ppp"]]
↳ app/controllers/urls_controller.rb:13
 (5.6ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=ppp&long_url=ppp&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff27f6 Completed 200 OK in 11ms (ActiveRecord: 6.6ms)

Started GET “/urls/show?Status=Success&domain=ppp&long_url=ppp&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff27f6” for 127.0.0.1 at 2019-01-21 17:54:54 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"ppp", "long_url"=>"ppp", "short_url"=>"https://www.vg.sw.n/f27f6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 71ms (Views: 68.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:54:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 58ms (Views: 55.6ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:54:58 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:54:58 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:55:02 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:55:03 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:55:04 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:55:04 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:55:05 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:55:05 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:55:50 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:55:50 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:55:51 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:55:51 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-21 17:55:54 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-21 17:56:13 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:56:24 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:56:37 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 17:56:37 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-21 17:56:46 +0530 Started GET “/sidekiq/retries” for 127.0.0.1 at 2019-01-21 17:56:47 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 17:56:48 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-21 17:56:52 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:58:29 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:58:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 40ms (Views: 38.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 17:58:31 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.9ms)

Completed 200 OK in 78ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 17:58:32 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DSsChQko9kZ+xQzS2JBicBMG1HU5M7YjfKw8E+nbIg82BcS5/dL1tShYEmvuaOIOOZJMGICi0UtNlj6hMHAkBg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 17:58:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 58ms (Views: 56.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 17:58:33 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.5ms)

Completed 200 OK in 83ms (Views: 79.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 17:58:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bcw7gmbdafTe+NQz5DYC9VfnfO0aVrGq5U3ypsOZpTxv7JY9q8VgewS1YW4XePvo1lmYZL+fv0P5PORe8y3wug==", "long_url"=>"stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a7a8b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["short_url", "https://www.vg.sw.n/a7a8b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (6.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=stackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fa7a8b Completed 200 OK in 23ms (ActiveRecord: 10.6ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=stackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fa7a8b” for 127.0.0.1 at 2019-01-21 17:58:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/a7a8b"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 70ms (Views: 65.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 18:02:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 52ms (Views: 50.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-21 18:02:54 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.7ms)

Completed 200 OK in 56ms (Views: 53.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-21 18:02:55 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cTgSnJzq7ofYaEgM7avl7we47+/mhXWDmWtmluqN961KFtSgaBDtdI71VrXbU2WRLSx3gl8UEuuoUWQkMybxpA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-21 18:02:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 58ms (Views: 55.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-21 18:02:57 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 77ms (Views: 72.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-21 18:03:02 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+7IOIj2ZUiNZxtV+/6T6cC/rZpFvjz8RIYWzjpgWJj75kqOd8IFbrIOLYCMM6gNtrlWCGMpGMfg99KV2qKJzuA==", "long_url"=>"asadsdd", "domain"=>"adsda", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "7f14f"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "asadsdd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "asadsdd"], ["short_url", "https://www.vg.sw.n/7f14f"], ["domain", "adsda"]]
↳ app/controllers/urls_controller.rb:13
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=adsda&long_url=asadsdd&short_url=https%3A%2F%2Fwww.vg.sw.n%2F7f14f Completed 200 OK in 19ms (ActiveRecord: 8.6ms)

Started GET “/urls/show?Status=Success&domain=adsda&long_url=asadsdd&short_url=https%3A%2F%2Fwww.vg.sw.n%2F7f14f” for 127.0.0.1 at 2019-01-21 18:03:02 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"adsda", "long_url"=>"asadsdd", "short_url"=>"https://www.vg.sw.n/7f14f"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-21 18:03:32 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 18:03:35 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-21 18:12:02 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-21 18:12:02 +0530 Started GET “/” for 127.0.0.1 at 2019-01-22 10:21:33 +0530

 (2.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 312ms (Views: 307.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 10:21:35 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (8.8ms)

Completed 200 OK in 92ms (Views: 90.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 10:21:37 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"a/liwxTXHZNr1uygMgGUd0DSgpAw/3MYU0w6/yqgscjK5Sae8tJNk5lAJwssJYYcXnVtot9MTywI1lwdscLovw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (14.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 53ms (ActiveRecord: 41.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:21:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 54ms (Views: 51.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:21:38 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 72ms (Views: 69.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:21:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (18.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (1.9ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 50ms (ActiveRecord: 24.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:22:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.9ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 16ms (ActiveRecord: 4.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:23:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 16ms (ActiveRecord: 4.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:23:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:24:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 15ms (ActiveRecord: 4.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:25:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 7ms (ActiveRecord: 1.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:26:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 7ms (ActiveRecord: 1.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 10:27:23 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-22 10:27:23 +0530 Started GET “/sidekiq/javascripts/dashboard.js” for 127.0.0.1 at 2019-01-22 10:27:23 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-22 10:27:23 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:27:25 +0530 Started POST “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:27:28 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:27:28 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:27:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (1.6ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 14ms (ActiveRecord: 6.1ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:27:33 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:27:33 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:30:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 16ms (ActiveRecord: 4.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:32:23 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 16ms (ActiveRecord: 4.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:32:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.8ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:32:55 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:33:02 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:34:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8G7vtnFHC9hzU26Bg8M5WbTnk8nO9NcPhV4qMS9OyBP44cQZTjmmWlYh3qhidPJpTm9QfcfCj9LbXXTcODoU2w==", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "13b1b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/13b1b"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=ides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F13b1b Completed 200 OK in 23ms (ActiveRecord: 10.4ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=ides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F13b1b” for 127.0.0.1 at 2019-01-22 10:34:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"ides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/13b1b"}

Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:34:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 43ms (Views: 42.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 10:34:04 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 200 OK in 72ms (Views: 70.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 10:34:05 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"I4/zoSY8zMDPnnQ6Ur0j62KuHdT/iioAfhTFvrWrA9CCk7f8wDmcwD0Iv5FMmTGAfAny5hA5FjQljqNcLslapw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:34:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 62ms (Views: 59.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:34:19 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 55ms (Views: 54.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:34:21 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uQzOQF+wVIQpQht89U1v92MvgArcIelOcnC39IwRbouxg+XvYM75Bgwwq1UU+qTHmadDvtUXsZMsc+kZm2WyQw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 19ms (ActiveRecord: 4.4ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-22 10:34:21 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 63ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:34:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 65ms (Views: 62.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:34:49 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 71ms (Views: 69.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:34:55 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Dh7OcWLr+qwSNXPCdJibdFXfzxXi4h2egI3zvaA+3cgGkeXeXZVXLjdHw+uVL1BEr1cMoevURUPejq1Qt0oBAA==", "long_url"=>"h.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a2d82"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "h.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "h.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8"], ["short_url", "https://www.vg.sw.n/a2d82"], ["domain", "a"]]
↳ app/controllers/urls_controller.rb:13
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=h.com%2Fsearch%3Fq%3Ddate%2Bformat%2Brails%2B5%26oq%3Ddate%2Bformat%2Brail%26aqs%3Dchrome.2.0j69i57j0l4.7049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fa2d82 Completed 200 OK in 15ms (ActiveRecord: 7.5ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=h.com%2Fsearch%3Fq%3Ddate%2Bformat%2Brails%2B5%26oq%3Ddate%2Bformat%2Brail%26aqs%3Dchrome.2.0j69i57j0l4.7049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fa2d82” for 127.0.0.1 at 2019-01-22 10:34:55 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"h.com/search?q=date+format+rails+5&oq=date+format+rail&aqs=chrome.2.0j69i57j0l4.7049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"https://www.vg.sw.n/a2d82"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 68ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 10:35:31 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:35:34 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:35:37 +0530 Started POST “/sidekiq/queues/post_queue/delete” for 127.0.0.1 at 2019-01-22 10:35:39 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:35:39 +0530 Started POST “/sidekiq/queues/post_queue/delete” for 127.0.0.1 at 2019-01-22 10:35:41 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:35:41 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:35:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 54ms (Views: 51.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:35:52 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 81ms (Views: 78.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:36:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i45wI/03pI6Owfcpa6QtUWMn4M+9Yn5P1qdSQEUGSayDAVuMwkkJDKuzRwCKE+Zhma8je7RUJpKIpAytUnKVZA==", "long_url"=>"https://stackoverf", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1aea2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverf"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://stackoverf"], ["short_url", "https://www.vg.sw.n/1aea2"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (5.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstackoverf&short_url=https%3A%2F%2Fwww.vg.sw.n%2F1aea2 Completed 200 OK in 13ms (ActiveRecord: 7.0ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstackoverf&short_url=https%3A%2F%2Fwww.vg.sw.n%2F1aea2” for 127.0.0.1 at 2019-01-22 10:36:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://stackoverf", "short_url"=>"https://www.vg.sw.n/1aea2"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 65ms (Views: 62.5ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 10:36:26 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:36:31 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:36:52 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:36:53 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:36:54 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:36:55 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:36:55 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:36:56 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:36:57 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:36:59 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:37:21 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:37:25 +0530 Started GET “/sidekiq/” for 127.0.0.1 at 2019-01-22 10:37:27 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:37:30 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:37:33 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:37:58 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:37:58 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:40:14 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:40:16 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:40:16 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:40:28 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:40:28 +0530 Started GET “/sidekiq/” for 127.0.0.1 at 2019-01-22 10:40:32 +0530 Started GET “/sidekiq/” for 127.0.0.1 at 2019-01-22 10:40:33 +0530 Started GET “/sidekiq/” for 127.0.0.1 at 2019-01-22 10:40:35 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-22 10:40:38 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:40:40 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:40:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 76ms (Views: 72.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 10:41:01 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.6ms)

Completed 200 OK in 88ms (Views: 86.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 10:41:03 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4UHva1//nQgSrlBPVPY3lf/fKsqXjlNwG0wXgqZdwkdAXas2ufrNCOA4m+RK0iX+4XjF+Hg9b0RA1nFgPT+bMA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 4.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:41:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 59.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:41:04 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 76ms (Views: 74.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:41:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UKS5ehIQAWOn3NaIOCRB4+b3BzamWZyu2VdaqtfBZPdYK5LVLW6s4YKuZqHZk4rTHH/Egq9vxHOHVARHwLW4Pw==", "long_url"=>"verflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4e73b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "verflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "verflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["short_url", "https://www.vg.sw.n/4e73b"], ["domain", "a"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=verflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4e73b Completed 200 OK in 20ms (ActiveRecord: 9.6ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=verflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4e73b” for 127.0.0.1 at 2019-01-22 10:41:11 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"verflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/4e73b"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (16.4ms)

Completed 200 OK in 81ms (Views: 79.5ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:41:16 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:41:16 +0530 Started GET “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:41:19 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-22 10:41:23 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:41:24 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:41:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 55ms (Views: 54.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:41:58 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (7.5ms)

Completed 200 OK in 69ms (Views: 65.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:42:03 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TjpRqP9yBbP9OXPLYL8Jkn5/cWJn1O8ZC6eoqj49W8pGtXoHwAyoMdhLw+KBCMKihPey1m7it8RVpPZHKUmHAg==", "long_url"=>"rflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "27cbf"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "rflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "rflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["short_url", "https://www.vg.sw.n/27cbf"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (6.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=rflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F27cbf Completed 200 OK in 21ms (ActiveRecord: 10.2ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=rflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F27cbf” for 127.0.0.1 at 2019-01-22 10:42:03 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"rflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/27cbf"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 80ms (Views: 77.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:42:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 76ms (Views: 74.7ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:42:06 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:42:06 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:42:13 +0530 Started GET “/sidekiq/queues/default” for 127.0.0.1 at 2019-01-22 10:42:15 +0530 Started GET “/sidekiq/retries” for 127.0.0.1 at 2019-01-22 10:42:21 +0530 Started GET “/sidekiq/morgue” for 127.0.0.1 at 2019-01-22 10:42:22 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-22 10:42:23 +0530 Started GET “/sidekiq/retries” for 127.0.0.1 at 2019-01-22 10:42:24 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:42:43 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 42ms (Views: 40.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:42:50 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q8DeItLvOVs8LO+k7bQ1HBdq0Hg34x3lgK+0CANJOBtLT/WN7ZGU2RleX40MA/4s7eITzD7VRTjerOrlFD3k0w==", "long_url"=>"https://stackoverflow.co", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9c2a8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.co"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://stackoverflow.co"], ["short_url", "https://www.vg.sw.n/9c2a8"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (5.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstackoverflow.co&short_url=https%3A%2F%2Fwww.vg.sw.n%2F9c2a8 Completed 200 OK in 22ms (ActiveRecord: 9.1ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstackoverflow.co&short_url=https%3A%2F%2Fwww.vg.sw.n%2F9c2a8” for 127.0.0.1 at 2019-01-22 10:42:50 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://stackoverflow.co", "short_url"=>"https://www.vg.sw.n/9c2a8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 82ms (Views: 79.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:42:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 72ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/retries” for 127.0.0.1 at 2019-01-22 10:42:54 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:42:54 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:42:56 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:43:14 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:43:15 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:43:16 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:43:16 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:47:04 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 49ms (Views: 47.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:47:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mD0u7n3CNRUSmTq3je5yBblx6TgJZglV+g4oah2kz8qQsgVBQryYlzfrip5sWbk1Q/kqjABQUYikDXaHCtATAg==", "long_url"=>"bgbgbgbgbgbg", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "56694"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "bgbgbgbgbgbg"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "bgbgbgbgbgbg"], ["short_url", "https://www.vg.sw.n/56694"], ["domain", "q"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "bgbgbgbgbgbg"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 17ms (ActiveRecord: 5.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:47:44 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mD0u7n3CNRUSmTq3je5yBblx6TgJZglV+g4oah2kz8qQsgVBQryYlzfrip5sWbk1Q/kqjABQUYikDXaHCtATAg==", "long_url"=>"bgbgbgbgbgbg", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "56694"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "bgbgbgbgbgbg"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "bgbgbgbgbgbg"], ["short_url", "https://www.vg.sw.n/56694"], ["domain", "q"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=q&long_url=bgbgbgbgbgbg&short_url=https%3A%2F%2Fwww.vg.sw.n%2F56694 Completed 200 OK in 20ms (ActiveRecord: 9.6ms)

Started GET “/urls/show?Status=Success&domain=q&long_url=bgbgbgbgbgbg&short_url=https%3A%2F%2Fwww.vg.sw.n%2F56694” for 127.0.0.1 at 2019-01-22 10:47:44 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"q", "long_url"=>"bgbgbgbgbgbg", "short_url"=>"https://www.vg.sw.n/56694"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 95ms (Views: 91.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:47:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 143ms (Views: 140.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:48:08 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:48:14 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Tq2IG6NRRK2Is+u9lIoqIvHKqX3C0hFUYQKA9G6BtAJGIqO0nC/pL63BW5R1PeESC0JqycvkSYk/Ad4ZefVoyg==", "long_url"=>"qazqaz", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "09cd4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qazqaz"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "qazqaz"], ["short_url", "https://www.vg.sw.n/09cd4"], ["domain", "q"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "qazqaz"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Completed 500 Internal Server Error in 17ms (ActiveRecord: 5.3ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:48:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Tq2IG6NRRK2Is+u9lIoqIvHKqX3C0hFUYQKA9G6BtAJGIqO0nC/pL63BW5R1PeESC0JqycvkSYk/Ad4ZefVoyg==", "long_url"=>"qazqaz", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "09cd4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qazqaz"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.8ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "qazqaz"], ["short_url", "https://www.vg.sw.n/09cd4"], ["domain", "q"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 17ms (ActiveRecord: 4.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:48:47 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Tq2IG6NRRK2Is+u9lIoqIvHKqX3C0hFUYQKA9G6BtAJGIqO0nC/pL63BW5R1PeESC0JqycvkSYk/Ad4ZefVoyg==", "long_url"=>"qazqaz", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "09cd4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qazqaz"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "qazqaz"], ["short_url", "https://www.vg.sw.n/09cd4"], ["domain", "q"]]
↳ app/controllers/urls_controller.rb:13
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:49:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Tq2IG6NRRK2Is+u9lIoqIvHKqX3C0hFUYQKA9G6BtAJGIqO0nC/pL63BW5R1PeESC0JqycvkSYk/Ad4ZefVoyg==", "long_url"=>"qazqaz", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "09cd4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qazqaz"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "qazqaz"], ["short_url", "https://www.vg.sw.n/09cd4"], ["domain", "q"]]
↳ app/controllers/urls_controller.rb:13
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13

Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:28:in `rescue in shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:115:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:49:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Tq2IG6NRRK2Is+u9lIoqIvHKqX3C0hFUYQKA9G6BtAJGIqO0nC/pL63BW5R1PeESC0JqycvkSYk/Ad4ZefVoyg==", "long_url"=>"qazqaz", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "09cd4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qazqaz"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "qazqaz"], ["short_url", "https://www.vg.sw.n/09cd4"], ["domain", "q"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=q&long_url=qazqaz&short_url=https%3A%2F%2Fwww.vg.sw.n%2F09cd4 Completed 200 OK in 21ms (ActiveRecord: 9.9ms)

Started GET “/urls/show?Status=Success&domain=q&long_url=qazqaz&short_url=https%3A%2F%2Fwww.vg.sw.n%2F09cd4” for 127.0.0.1 at 2019-01-22 10:49:19 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"q", "long_url"=>"qazqaz", "short_url"=>"https://www.vg.sw.n/09cd4"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.7ms)

Completed 200 OK in 71ms (Views: 69.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:49:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 70ms (Views: 68.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:49:58 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 63ms (Views: 62.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:50:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/UB8HLENqKFLlP4OKaeXz17UJsmXgS9re1GQ6wV3lz71z1ezjnMFI27mTifIEFz/pFzlfZ63d7YlUs4GEgNL9g==", "long_url"=>"outube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "845d0"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "outube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "outube.com/watch?v=4HRC6c5-2lQ"], ["short_url", "https://www.vg.sw.n/845d0"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=outube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F845d0 Completed 200 OK in 29ms (ActiveRecord: 10.1ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=outube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F845d0” for 127.0.0.1 at 2019-01-22 10:50:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"outube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/845d0"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.9ms)

Completed 200 OK in 134ms (Views: 130.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:50:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 62ms (Views: 60.6ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:50:09 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:50:09 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:50:29 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.0ms)

Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:50:33 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EUEqJrsW/2/KhIjHmza0ePM4t6S35Smepia/GV3JdMQZzgGJhGhS7e/2OO56gX9ICbB0EL7TcUP4JeH0Sr2oDA==", "long_url"=>"eeeee", "domain"=>"e", "commit"=>"Generate Short Url"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "86871"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "eeeee"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "eeeee"], ["short_url", "https://www.vg.sw.n/86871"], ["domain", "e"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=e&long_url=eeeee&short_url=https%3A%2F%2Fwww.vg.sw.n%2F86871 Completed 200 OK in 23ms (ActiveRecord: 10.3ms)

Started GET “/urls/show?Status=Success&domain=e&long_url=eeeee&short_url=https%3A%2F%2Fwww.vg.sw.n%2F86871” for 127.0.0.1 at 2019-01-22 10:50:33 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"e", "long_url"=>"eeeee", "short_url"=>"https://www.vg.sw.n/86871"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.9ms)

Completed 200 OK in 71ms (Views: 68.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:50:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 73ms (Views: 71.2ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:50:36 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:50:36 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:50:40 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:50:49 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:50:49 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:50:51 +0530 Started GET “/sidekiq/queues/default” for 127.0.0.1 at 2019-01-22 10:50:52 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:50:54 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:51:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 75ms (Views: 73.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:51:08 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"y7ZuHegXeTbsViyI5YpzIeQpqhUGGp+0iXZ4K3f5I97DOUWy12nUtMkknKEEPbgRHqFpoQ8sx2nXdSbGYI3/Fg==", "long_url"=>"ppp", "domain"=>"ppp", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f27f6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ppp"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "ppp"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=ppp&long_url=ppp&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff27f6 Completed 200 OK in 7ms (ActiveRecord: 1.3ms)

Started GET “/urls/show?Status=Already+Exists&domain=ppp&long_url=ppp&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff27f6” for 127.0.0.1 at 2019-01-22 10:51:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"ppp", "long_url"=>"ppp", "short_url"=>"https://www.vg.sw.n/f27f6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 54ms (Views: 52.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:51:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 58ms (Views: 55.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:51:13 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 73ms (Views: 48.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:51:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WdApWkvBS9REU4OrWMX09/YdFNOBJ9nVX+mCiWUQc2RRXwL1dL/mVmEhM4K5cj/HDJXXZ4gRgQgB6txkcmSvrA==", "long_url"=>"qaaaaaa", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b9dd0"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qaaaaaa"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "qaaaaaa"], ["short_url", "https://www.vg.sw.n/b9dd0"], ["domain", "a"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=qaaaaaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fb9dd0 Completed 200 OK in 11ms (ActiveRecord: 7.2ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=qaaaaaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fb9dd0” for 127.0.0.1 at 2019-01-22 10:51:18 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"qaaaaaa", "short_url"=>"https://www.vg.sw.n/b9dd0"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 55ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:51:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 66ms (Views: 63.6ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:51:23 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:51:23 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:51:30 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:51:30 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:51:40 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.1ms)

Completed 200 OK in 113ms (Views: 110.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:51:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7ayfaADp1rHrMSHyNuNQt/rkj7rlXW+dQuQyOukJcLTlI7THP5d7M85DkdvXVJuHAGxMDuxrN0Ac52zX/n2sfA==", "long_url"=>"vvipvio", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f06e1"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "vvipvio"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "vvipvio"], ["short_url", "https://www.vg.sw.n/f06e1"], ["domain", "a"]]
↳ app/controllers/urls_controller.rb:13
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=vvipvio&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff06e1 Completed 200 OK in 23ms (ActiveRecord: 10.2ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=vvipvio&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff06e1” for 127.0.0.1 at 2019-01-22 10:51:45 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"vvipvio", "short_url"=>"https://www.vg.sw.n/f06e1"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 67ms (Views: 65.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:51:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 70ms (Views: 68.7ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:51:49 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:51:49 +0530

 (7.0ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (1.4ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
Report Load (1.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:14
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:14
Report Create (0.8ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-22"], ["no_of_urls", 1]]
↳ app/helpers/url_worker.rb:14
 (0.4ms)  COMMIT
↳ app/helpers/url_worker.rb:14
Report Load (0.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 1], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 2], ["id", 1]]
↳ app/helpers/url_worker.rb:12
 (0.4ms)  COMMIT
↳ app/helpers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]
Report Load (0.3ms)  SELECT "reports".* FROM "reports"
Report Load (1.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 1], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 3], ["id", 1]]
↳ app/helpers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/helpers/url_worker.rb:12
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
Report Load (1.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.3ms)  BEGIN
↳ app/helpers/url_worker.rb:12
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.6ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 1], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Exists (0.7ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 1], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.7ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 4], ["id", 1]]
↳ app/helpers/url_worker.rb:12
 (0.4ms)  COMMIT
↳ app/helpers/url_worker.rb:12
Report Update (0.9ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 4], ["id", 1]]
↳ app/helpers/url_worker.rb:12
 (0.4ms)  COMMIT
↳ app/helpers/url_worker.rb:12
Report Load (0.6ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 1], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 5], ["id", 1]]
↳ app/helpers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started POST “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:53:47 +0530 Started GET “/sidekiq/busy” for 127.0.0.1 at 2019-01-22 10:53:48 +0530

Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 1], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 6], ["id", 1]]
↳ app/helpers/url_worker.rb:12
 (1.2ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/sidekiq/retries” for 127.0.0.1 at 2019-01-22 10:53:54 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:53:56 +0530 Started POST “/sidekiq/queues/post_queue” for 127.0.0.1 at 2019-01-22 10:53:59 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:53:59 +0530 Started POST “/sidekiq/queues/default” for 127.0.0.1 at 2019-01-22 10:54:00 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:54:00 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 10:54:02 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 10:54:02 +0530

Url Load (0.5ms)  SELECT "urls".* FROM "urls"
 (0.2ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 188]]
 (1.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 189]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 190]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 191]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.5ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 192]]
 (0.9ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 193]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 194]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 195]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 196]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 197]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 198]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 212]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 213]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 214]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 215]]
 (0.4ms)  COMMIT
 (0.4ms)  BEGIN
Url Destroy (0.6ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 216]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 217]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 219]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 224]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 225]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 226]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 227]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 228]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 176]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 177]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 178]]
 (0.3ms)  COMMIT
Report Load (0.3ms)  SELECT "reports".* FROM "reports"
 (0.1ms)  BEGIN
Report Destroy (0.3ms)  DELETE FROM "reports" WHERE "reports"."id" = $1  [["id", 1]]
 (1.3ms)  COMMIT

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:54:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 63ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:54:49 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 48ms (Views: 46.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:54:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2Cxg9EFR7jXRu9H7jHxLOTQV9Anzrj2knx6X/tj7Cp7Qo0tbfi9Dt/TJYdJty4AJzp03vfqYZXnBHckTz4/WVg==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["short_url", "https://www.vg.sw.n/17a68"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 21ms (ActiveRecord: 10.1ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-22 10:54:53 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 54ms (Views: 51.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:54:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 60ms (Views: 57.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:54:56 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 64ms (Views: 62.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:54:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0KOLstt211pH/OWm8fbHvFsiyH1QFANZFyAHpLuJFeDYLKAd5Ah62GKOVY8QQQyMoaoLyVkiW4RJI1lJrP3JKA==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"overflow", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "17a68"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:25

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 8ms (ActiveRecord: 1.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-22 10:54:59 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 59ms (Views: 57.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:55:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 82ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 10:55:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.2ms)

Completed 200 OK in 64ms (Views: 62.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 10:55:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0jiL0l5O3PYouXzo1dwLkkK6ebDzgcbljEURLOUlJbvat6B9YTBxdA3LzME0a8CiuDK6BPq3njjSRk/B8lH5cw==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fc"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/660fc"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc Completed 200 OK in 14ms (ActiveRecord: 7.4ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2F660fc” for 127.0.0.1 at 2019-01-22 10:55:06 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/660fc"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 54ms (Views: 52.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 10:55:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 61.0ms | ActiveRecord: 0.0ms)

Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
 (0.5ms)  BEGIN
↳ app/helpers/url_worker.rb:14
Report Exists (3.9ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:14
Report Create (0.5ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-22"], ["no_of_urls", 1]]
↳ app/helpers/url_worker.rb:14
 (1.2ms)  COMMIT
↳ app/helpers/url_worker.rb:14
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 2], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (0.4ms)  COMMIT
↳ app/helpers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]
Report Load (0.3ms)  SELECT "reports".* FROM "reports"

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:01:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 40ms (Views: 39.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 11:01:10 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.2ms)

Completed 200 OK in 87ms (Views: 84.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 11:01:12 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7vNFLYa5v48qC17B1yjsrsKCPLfVOXLKj/ZbDrzXRglP7wFwYLzvj9idlWrJDP7F3CXThTqKTv7UbD3sJ7Uffg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 5.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:01:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 47ms (Views: 45.3ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:01:14 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Rendered home/generate_report.html.erb within layouts/application (0.4ms)

Completed 200 OK in 59ms (Views: 55.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:03:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 46ms (Views: 45.4ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:03:38 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Rendered home/generate_report.html.erb within layouts/application (4.3ms)

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

3:     <th>Date</th>
4:     <th>Number of Urls Generated</th> 
5:   </tr>
6:   <%= @table.each do |t| %>
7:   <tr>
8:     <td>t.date</td>
9:     <td>t.no_of_urls</td>

app/views/home/generate_report.html.erb:6:in `_app_views_home_generate_report_html_erb___3851783593648764785_70158843958020' Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:06:22 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Rendered home/generate_report.html.erb within layouts/application (1.7ms)

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

3:     <th>Date</th>
4:     <th>Number of Urls Generated</th> 
5:   </tr>
6:   <% @table.each do |t| %>
7:   <tr>
8:     <td>t.date</td>
9:     <td>t.no_of_urls</td>

app/views/home/generate_report.html.erb:6:in `_app_views_home_generate_report_html_erb___3851783593648764785_70158862664980' Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:06:33 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (9.0ms)

Completed 200 OK in 47ms (Views: 41.5ms | ActiveRecord: 4.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:07:27 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (2.3ms)

Completed 200 OK in 44ms (Views: 41.7ms | ActiveRecord: 0.6ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 11:08:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 45ms (Views: 43.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-22 11:08:22 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:08:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 70ms (Views: 68.5ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:08:29 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 54ms (Views: 50.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 11:08:32 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 49ms (Views: 47.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 11:08:33 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"stk/cwRqaFD5K8/aXPvlH7knAOKbnzB0n/aVrAtuHkUTxXsu4m84UAu9BHFC3/d0p4Dv0HQsDEDEbPNOkAxHMg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 3.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:08:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 59ms (Views: 54.9ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:08:34 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.3ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (21.0ms)

Completed 200 OK in 66ms (Views: 51.6ms | ActiveRecord: 13.1ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:08:59 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (1.7ms)

Completed 200 OK in 42ms (Views: 39.8ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:09:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 37ms (Views: 35.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 11:09:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.9ms)

Completed 200 OK in 47ms (Views: 44.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 11:09:08 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tv9ND0pac8Bs+NmmaWM2CV2jyv0bXm9EaW0TJUblUIi+cGagdSTeQkmKaY+I1P05pysJSRJoN5k3bk3IUZGMQA==", "long_url"=>"rflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "27cbf"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "rflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "rflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["short_url", "https://www.vg.sw.n/27cbf"], ["domain", "a"]]
↳ app/controllers/urls_controller.rb:13
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=rflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F27cbf Completed 200 OK in 19ms (ActiveRecord: 9.6ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=rflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F27cbf” for 127.0.0.1 at 2019-01-22 11:09:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"rflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/27cbf"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)
Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 3], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.5ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 55ms (Views: 53.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:09:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 60ms (Views: 58.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:09:10 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.9ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (3.7ms)

Completed 200 OK in 62ms (Views: 55.8ms | ActiveRecord: 1.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:09:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.7ms)

Completed 200 OK in 93ms (Views: 90.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 11:09:54 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.9ms)

Completed 200 OK in 62ms (Views: 58.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 11:09:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HFOJ2nVi6UB4cpZ8jSg8Fcbn4sO+C2zOk7fQgyGQqy4U3KJ1ShxEwl0AJlVsn/clPG8hd7c9NBPNtI5uNuR35g==", "long_url"=>"https://gbyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d86d7"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://gbyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://gbyonrails.org/caching_with_rails.html"], ["short_url", "https://www.vg.sw.n/d86d7"], ["domain", "guides"]]
↳ app/controllers/urls_controller.rb:13
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 4], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (7.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fgbyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fd86d7 Completed 200 OK in 13ms (ActiveRecord: 7.9ms)

 (7.1ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fgbyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fd86d7” for 127.0.0.1 at 2019-01-22 11:09:59 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://gbyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/d86d7"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 58.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:10:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 61ms (Views: 59.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 11:10:05 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.3ms)

Completed 200 OK in 64ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 11:10:19 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1Wn4+HuYvRkEYYvX8sFsyQbr+SFSNRxrDeHfd/wxc2a1po9eoI1nRlQHIXPmPAHHOQ8U4PDNsOLByYcGVwJ43g==", "short_url"=>"https://www.vg.sw.n/d86d7", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/d86d7"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:65

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fgbyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fd86d7 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fgbyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fd86d7” for 127.0.0.1 at 2019-01-22 11:10:19 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://gbyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/d86d7"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 57ms (Views: 55.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:10:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.0ms)

Completed 200 OK in 81ms (Views: 79.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 11:10:26 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.4ms)

Completed 200 OK in 71ms (Views: 69.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 11:10:29 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zRZtZnauah46bCh5mQQH3u42E4Sz9zDHQhXr4M1jyxyt2RrArbuwQWoKgt2N+WrQ0dL+RREPnE6OPbORZlDApA==", "short_url"=>"https://www.vg.sw.n/d86d7", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fgbyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fd86d7 Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fgbyonrails.org%2Fcaching_with_rails.html&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fd86d7” for 127.0.0.1 at 2019-01-22 11:10:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://gbyonrails.org/caching_with_rails.html", "short_url"=>"https://www.vg.sw.n/d86d7"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 55ms (Views: 51.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:11:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 55ms (Views: 54.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-22 11:11:52 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:11:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 45ms (Views: 43.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 11:11:53 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 200 OK in 91ms (Views: 89.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 11:11:55 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"C+HrlIVnLKVr5aY62VYONsTmOSPaxxzAfHN9t/RDM++q/a/JY2J8pZlzbZHHchxd2kHWETV0IPQn6RtVbyFqmA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:11:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 57ms (Views: 55.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:14:47 +0530

 (0.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 39ms (Views: 37.5ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=www.vg.sw.n/13fa2” for 127.0.0.1 at 2019-01-22 11:15:47 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/13fa2"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/13fa2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:65

Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 6.2ms)

Started POST “/shorten-url?long_url=mail.googlom/mail/u/1/&domain=google” for 127.0.0.1 at 2019-01-22 11:15:52 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlom/mail/u/1/", "domain"=>"google"}
Url Load (1.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.7ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlom/mail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://mail.googlom/mail/u/1/"], ["short_url", "https://www.vg.sw.n/c99ab"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
 (13.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Completed 200 OK in 33ms (Views: 0.2ms | ActiveRecord: 16.3ms)

Report Load (1.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (1.7ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 5], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.5ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/short-url?short_url=www.vg.sw.n/c99ab” for 127.0.0.1 at 2019-01-22 11:16:12 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/c99ab"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/c99ab"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:65

Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)

Started GET “/short-url?short_url=www.vg.sw.n/c99ab” for 127.0.0.1 at 2019-01-22 11:16:22 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/c99ab"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=www.vg.sw.n/c99ab” for 127.0.0.1 at 2019-01-22 11:16:27 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/c99ab"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=www.vg.sw.n/c99ab” for 127.0.0.1 at 2019-01-22 11:16:28 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/c99ab"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=www.vg.sw.n/c99ab” for 127.0.0.1 at 2019-01-22 11:16:29 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/c99ab"}

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url?long_url=mail.googlomail/u/1/&domain=google” for 127.0.0.1 at 2019-01-22 11:16:44 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.googlomail/u/1/", "domain"=>"google"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "03401"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.googlomail/u/1/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://mail.googlomail/u/1/"], ["short_url", "https://www.vg.sw.n/03401"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:13
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.3ms)  BEGIN
 (4.7ms)  COMMIT
↳ app/helpers/url_worker.rb:12
↳ app/controllers/urls_controller.rb:13

Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 6.4ms)

Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 6], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (0.3ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/short-url?short_url=www.vg.sw.n/03401” for 127.0.0.1 at 2019-01-22 11:17:04 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/03401"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/03401"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:65

Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started GET “/short-url?short_url=www.vg.sw.n/03401” for 127.0.0.1 at 2019-01-22 11:17:07 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/03401"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=www.vg.sw.n/03401” for 127.0.0.1 at 2019-01-22 11:17:08 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/03401"}

Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=www.vg.sw.n/03401” for 127.0.0.1 at 2019-01-22 11:17:09 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/03401"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:17:15 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (10.6ms)

Completed 200 OK in 71ms (Views: 47.9ms | ActiveRecord: 4.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:17:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 86ms (Views: 84.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 11:18:10 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 67ms (Views: 65.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:18:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 66ms (Views: 64.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 11:18:12 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 64ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:18:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 73ms (Views: 71.6ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-22 11:18:37 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:18:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 42ms (Views: 40.6ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-22 11:22:29 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (36.6ms)

Completed 200 OK in 77ms (Views: 75.2ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-22 11:22:47 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ASdXY0PS0RR42iDVC5MjUoOySmqfjT+OWg8OPgeoBoh/K2X3CJJMwoCJ/maTJAudupmdWoS2/p4B9lma42D74g==", "username"=>"naveen", "email"=>"naveen@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}
 (0.1ms)  BEGIN
↳ app/controllers/users_controller.rb:29
User Exists (0.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naveen@gmail.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:29
User Create (6.7ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "naveen"], ["email", "naveen@gmail.com"], ["password", "e691cb702f5d25642aa87009ef1948f8"]]
↳ app/controllers/users_controller.rb:29
 (0.3ms)  COMMIT
↳ app/controllers/users_controller.rb:29

Redirected to localhost:3000/home/index Completed 200 OK in 24ms (ActiveRecord: 10.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:22:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 60ms (Views: 58.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 11:22:51 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 50ms (Views: 48.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 11:23:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"z2rHBxmcoF4NnxZCI4AfTKqyKU/Zn02UBpViwCbewv3H5eyoJuIN3CjtpmvCN9R8UDrq+9CpFUlYljwtMaoeNQ==", "long_url"=>"www.proptiger.com/rentals", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "faad8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:130
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com/rentals"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "www.proptiger.com/rentals"], ["short_url", "https://www.vg.sw.n/faad8"], ["domain", "proptiger.com"]]
↳ app/controllers/urls_controller.rb:13
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=proptiger.com&long_url=www.proptiger.com%2Frentals&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ffaad8 Completed 200 OK in 12ms (ActiveRecord: 7.1ms)

Started GET “/urls/show?Status=Success&domain=proptiger.com&long_url=www.proptiger.com%2Frentals&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ffaad8” for 127.0.0.1 at 2019-01-22 11:23:06 +0530

Report Load (3.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9

Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"proptiger.com", "long_url"=>"www.proptiger.com/rentals", "short_url"=>"https://www.vg.sw.n/faad8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 7], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.4ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 58ms (Views: 54.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:23:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 53ms (Views: 51.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 11:23:17 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.5ms)

Completed 200 OK in 74ms (Views: 71.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 11:23:20 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1QEaMhQfdjN4YB7HZEGe39Am6e7O/G6Mxt8ZoiMhOL61zm2UzwqsbCgGtGNwvPPR78IEL2wEwgUK90HTiBIzBg==", "short_url"=>"https://www.vg.sw.n/faad8", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/faad8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:65

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=proptiger.com&long_url=www.proptiger.com%2Frentals&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ffaad8 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=proptiger.com&long_url=www.proptiger.com%2Frentals&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ffaad8” for 127.0.0.1 at 2019-01-22 11:23:20 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"proptiger.com", "long_url"=>"www.proptiger.com/rentals", "short_url"=>"https://www.vg.sw.n/faad8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 54ms (Views: 51.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:23:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.8ms)

Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 11:23:23 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 60ms (Views: 58.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 11:23:33 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 54ms (Views: 51.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 11:23:38 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xWtveCfYeroDiBnMDStEP05L1Gc20fSNJ4yRhx2/0AWlpBje/M2g5VPus2gZ1ikxca85ppQpWATrpMn2tozbvQ==", "short_url"=>"faad8", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=proptiger.com&long_url=www.proptiger.com%2Frentals&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ffaad8 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=proptiger.com&long_url=www.proptiger.com%2Frentals&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ffaad8” for 127.0.0.1 at 2019-01-22 11:23:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"proptiger.com", "long_url"=>"www.proptiger.com/rentals", "short_url"=>"https://www.vg.sw.n/faad8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 81ms (Views: 80.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:23:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 62ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:23:50 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.5ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (5.5ms)

Completed 200 OK in 55ms (Views: 48.1ms | ActiveRecord: 3.5ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 11:23:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 11:24:04 +0530 Started POST “/shorten-url?long_url=mail.gmail/u/1/&domain=google” for 127.0.0.1 at 2019-01-22 11:49:08 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.gmail/u/1/", "domain"=>"google"}
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b7d7e"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:94
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://mail.gmail/u/1/"], ["LIMIT", 1]]
↳ app/models/url.rb:21

Completed 500 Internal Server Error in 18ms (ActiveRecord: 7.6ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:6:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url?long_url=mail.gmail/u/1/&domain=google” for 127.0.0.1 at 2019-01-22 11:50:02 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.gmail/u/1/", "domain"=>"google"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b7d7e"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:94

Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:6:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url?long_url=mail.gmail/u/1/&domain=google” for 127.0.0.1 at 2019-01-22 11:51:24 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.gmail/u/1/", "domain"=>"google"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b7d7e"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:94

Completed 500 Internal Server Error in 16ms (ActiveRecord: 5.1ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:25:in `rescue in shorten_url' app/models/url.rb:6:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url?long_url=mail.gmail/u/1/&domain=google” for 127.0.0.1 at 2019-01-22 11:51:34 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.gmail/u/1/", "domain"=>"google"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b7d7e"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:94

Completed 500 Internal Server Error in 18ms (ActiveRecord: 5.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:26:in `rescue in shorten_url' app/models/url.rb:6:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url?long_url=mail.gmail/u/1/&domain=google” for 127.0.0.1 at 2019-01-22 11:51:57 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://mail.gmail/u/1/", "domain"=>"google"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b7d7e"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:94
 (0.2ms)  BEGIN
↳ app/models/url.rb:19
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.gmail/u/1/"], ["LIMIT", 1]]
↳ app/models/url.rb:19
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://mail.gmail/u/1/"], ["short_url", "https://www.vg.sw.n/b7d7e"], ["domain", "google"]]
↳ app/models/url.rb:19
 (5.9ms)  COMMIT
↳ app/models/url.rb:19

Completed 200 OK in 25ms (Views: 0.5ms | ActiveRecord: 11.8ms)

Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 8], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (0.4ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/short-url?short_url=www.vg.sw.n/b7d7e” for 127.0.0.1 at 2019-01-22 11:56:00 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/b7d7e"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/b7d7e"], ["LIMIT", 1]]
↳ app/models/url.rb:50

Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.3ms)

Started GET “/short-url?short_url=www.vg.sw.n/b7d7e” for 127.0.0.1 at 2019-01-22 11:56:07 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/b7d7e"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:56:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 54ms (Views: 52.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 11:56:47 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 59ms (Views: 57.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 11:56:49 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"VMyFC5Z3200G2JD8yAF5V2wQ1YBN2qKRDrXdoRdQdnX10MFWcHKLTfROW1fWJWs8crc6sqJpnqVVL7tDjDIvAg==", "email"=>"naveen", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "naveen"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 9ms (ActiveRecord: 4.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:56:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 71ms (Views: 69.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 11:56:51 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 85ms (Views: 83.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 11:56:57 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CItHr70llxbOxJQedlHag1hpE0SbMjLRsxVsNYSN8YSplwPyWyDHFjxSX7VodcjoRs78dnSBDuXojwrXH++o8w==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 7ms (ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:56:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 69ms (Views: 66.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 11:56:58 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 64ms (Views: 61.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 11:57:03 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u/4cwjK8LdL+xt/JnNOIHscsXFjgdX3ZadvHznPvFsWzcTdtDcKAUNu0b+B9ZEMuPaSf7OlDJQQ32JkjZJvKDQ==", "long_url"=>"https://g", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f4d2c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:62
 (0.1ms)  BEGIN
↳ app/models/url.rb:18
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://g"], ["LIMIT", 1]]
↳ app/models/url.rb:18
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://g"], ["short_url", "https://www.vg.sw.n/f4d2c"], ["domain", "q"]]
↳ app/models/url.rb:18
 (6.1ms)  COMMIT
↳ app/models/url.rb:18

Redirected to localhost:3000/urls/show?Status=Success&domain=q&long_url=https%3A%2F%2Fg&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff4d2c Completed 200 OK in 22ms (ActiveRecord: 10.4ms)

Started GET “/urls/show?Status=Success&domain=q&long_url=https%3A%2F%2Fg&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff4d2c” for 127.0.0.1 at 2019-01-22 11:57:03 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"q", "long_url"=>"https://g", "short_url"=>"https://www.vg.sw.n/f4d2c"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.8ms)
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 9], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (0.9ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 59ms (Views: 55.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:57:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 63ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 11:57:06 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (2.4ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (13.6ms)

Completed 200 OK in 77ms (Views: 68.2ms | ActiveRecord: 5.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:57:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 65ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 11:57:08 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 65ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 11:57:12 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 59ms (Views: 54.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 11:57:15 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.9ms)

Completed 200 OK in 54ms (Views: 52.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 11:57:16 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i3dCNmo21HLNvsRbMTXbF8Vr5ublkdksGX8+5plEGQ7ruDWQsSMOLZ3Ybv8lyLYZ+o8LJ0dpdaXVV2aXMncStg==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/models/url.rb:49

Redirected to Completed 500 Internal Server Error in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:55:in `show_short' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 11:58:22 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i3dCNmo21HLNvsRbMTXbF8Vr5ublkdksGX8+5plEGQ7ruDWQsSMOLZ3Ybv8lyLYZ+o8LJ0dpdaXVV2aXMncStg==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-22 11:58:22 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 61ms (Views: 54.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 11:58:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 62ms (Views: 59.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 12:00:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 36ms (Views: 35.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 12:00:53 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 74ms (Views: 72.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:00:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 47ms (Views: 43.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 12:00:56 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 58ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 12:02:58 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:03:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mcCne/eZsmS2jbYhDF8+Qa1WFFLiw07e5b7oaQJGFKCr4Wu6HaqVMJXtvXhxmz90eZL70EIEP6qx+vIHFUj4Hg==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d41d8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:68
 (0.1ms)  BEGIN
↳ app/models/url.rb:18
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", ""], ["LIMIT", 1]]
↳ app/models/url.rb:18
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", ""], ["short_url", "https://www.vg.sw.n/d41d8"], ["domain", ""]]
↳ app/models/url.rb:18
 (6.1ms)  COMMIT
↳ app/models/url.rb:18

Redirected to localhost:3000/urls/show?Status=Success&domain=&long_url=&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fd41d8 Completed 200 OK in 21ms (ActiveRecord: 10.3ms)

Started GET “/urls/show?Status=Success&domain=&long_url=&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fd41d8” for 127.0.0.1 at 2019-01-22 12:03:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"", "long_url"=>"", "short_url"=>"https://www.vg.sw.n/d41d8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)
Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 10], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.2ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 76ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:03:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 58ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 12:03:20 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 39ms (Views: 38.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:03:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6xsYWSosCBhmPwXKMo/mxHsPM6fVyc2iu5VXnGrvq0zjlDP2FVKlmkNNtePTOC30gYfwE9z/lX/llglxfZt3hA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

ActionView::MissingTemplate (Missing template url/long_to_short with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/urls_controller.rb:7:in `shorten_url' app/controllers/urls_controller.rb:54:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:04:37 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6xsYWSosCBhmPwXKMo/mxHsPM6fVyc2iu5VXnGrvq0zjlDP2FVKlmkNNtePTOC30gYfwE9z/lX/llglxfZt3hA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}
Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Redirected to Completed 500 Internal Server Error in 67ms (Views: 64.3ms | ActiveRecord: 0.0ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:05:05 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6xsYWSosCBhmPwXKMo/mxHsPM6fVyc2iu5VXnGrvq0zjlDP2FVKlmkNNtePTOC30gYfwE9z/lX/llglxfZt3hA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}
Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Redirected to Completed 500 Internal Server Error in 43ms (Views: 40.3ms | ActiveRecord: 0.0ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:06:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6xsYWSosCBhmPwXKMo/mxHsPM6fVyc2iu5VXnGrvq0zjlDP2FVKlmkNNtePTOC30gYfwE9z/lX/llglxfZt3hA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

ActionView::MissingTemplate (Missing template url/long_to_short with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/urls_controller.rb:52:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:13:19 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6xsYWSosCBhmPwXKMo/mxHsPM6fVyc2iu5VXnGrvq0zjlDP2FVKlmkNNtePTOC30gYfwE9z/lX/llglxfZt3hA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:20:41 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6xsYWSosCBhmPwXKMo/mxHsPM6fVyc2iu5VXnGrvq0zjlDP2FVKlmkNNtePTOC30gYfwE9z/lX/llglxfZt3hA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}
Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 41ms (Views: 39.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:21:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6xsYWSosCBhmPwXKMo/mxHsPM6fVyc2iu5VXnGrvq0zjlDP2FVKlmkNNtePTOC30gYfwE9z/lX/llglxfZt3hA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_to_short Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 12:21:30 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:21:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 73ms (Views: 71.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 12:25:18 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 200 OK in 48ms (Views: 47.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 12:25:20 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"86SZm/55HFIIwxI6Y+FIbarAXZmN/uO/zF3CQXn4PBJSuN3GGHxMUvpV2ZF9xVoGtGeyq2JN34uXx6Sj4pplZQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:44

Redirected to localhost:3000/home/index Completed 200 OK in 21ms (ActiveRecord: 6.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:25:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (7.5ms)

Completed 200 OK in 94ms (Views: 90.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 12:25:21 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.0ms)

Completed 200 OK in 105ms (Views: 102.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:25:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1HsKba+zS1Fo8KaEGzdh4sSYb1VeVfRGXPNIbcLMdJfc9CHCkM3m002CFq36gKrSPhCs4VdjrJsC8BaA1bioXw==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_to_short Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 12:25:22 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (54.4ms)

Completed 200 OK in 102ms (Views: 100.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 12:25:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ScfKmi5V4HYM2hCjHh8Jm+QApCZS+zx3L7DOj3RVBT5BSOE1EStN9CmooIr/qMKrHohnklvNZKpxs5BiYyHZ9g==", "long_url"=>"sdfg", "domain"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_to_short Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 12:25:28 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.8ms)

Completed 200 OK in 60ms (Views: 57.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:25:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 56ms (Views: 54.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 12:26:00 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.1ms)

Completed 200 OK in 43ms (Views: 41.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 12:26:01 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7oJibBc0EBOjeBtZChvGtKqCw4pYh3nDc6GRXXMvCaaOTRXKzCHKTPMesf0e5qu6lWYuS/p/1Uq/icks2BwCHg==", "short_url"=>"", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/"], ["LIMIT", 1]]
↳ app/models/url.rb:48

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 9ms (ActiveRecord: 4.2ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-22 12:26:01 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.1ms)

Completed 200 OK in 68ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:26:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 93ms (Views: 90.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 12:26:25 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.0ms)

Completed 200 OK in 36ms (Views: 34.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 12:26:27 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UWfgyu4sJbHka5tVCBFn/oxVaBUv0M0VouaXySeshroxqJdsNTn/7rQNMfEc7Arws7GF1I0oYZxuzs+4jJ+NAg==", "short_url"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/short_to_long Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 12:26:27 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.6ms)

Completed 200 OK in 64ms (Views: 62.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 12:26:29 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qcmHYmbZnIiyebjxeYJWldU+91WW4iSLJGV62igAV8nJBvDEvcxG1+IfElVtfzub6toalDQaiALoTSKrgzNccQ==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/models/url.rb:48

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 8ms (ActiveRecord: 3.2ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-22 12:26:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:26:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 63ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-22 12:26:38 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:26:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 68ms (Views: 66.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 12:26:39 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.4ms)

Completed 200 OK in 73ms (Views: 71.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 12:29:31 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 200 OK in 40ms (Views: 37.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 12:29:35 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UZmW+nB2Jg8fx/RskiN1Jjzq+wgDz+WDm9pJOSHvnM1juFo7mkUBWzyn/zXv53QT6C4UiqMIlPfPnlNXNuFwcw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/users/login Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 12:29:35 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.6ms)

Completed 200 OK in 55ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 12:29:42 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QjF1ex7ZXfOYhXpthzioo9oLGkfTRQcF4csQ4MvcnbnjLTEm+NwN82oTscaZHLrIxKz1dTz2OzG6UXYCUL7Ezg==", "email"=>"", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/users/login Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 12:29:42 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 61ms (Views: 59.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 12:29:44 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vyDdHB0WAwBcUD2l7gS+uAperSzeiHGHe+5hTqEI//0ePJlB+xNTAK7G9g7wIKzTFPlCHjE7TbMgdAesOmqmig==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 3.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:29:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 65ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-22 12:29:45 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:29:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 53ms (Views: 50.3ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-22 12:29:47 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (1.7ms)

Completed 200 OK in 73ms (Views: 71.0ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-22 12:29:48 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JaozLzzBNr8DzlSkXvkcX6ysDC8ESJLgveLXlaxvcj1bpgG7d4GrafudihfGTjSQlYfbHx9zU/DmG4AxSKePVw==", "username"=>"", "email"=>"", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Redirected to localhost:3000/users/signup Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-22 12:29:48 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.8ms)

Completed 200 OK in 63ms (Views: 62.1ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-22 12:30:00 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+sFMg75YIgTlqVmLNdvVOaOPz9U2LDkuvA5s1Nyz+96EzX4X9Ri/0h36hzitbP32mqQY5S0X+D7n9ztwOHsGtA==", "username"=>"vipul.kumar@proptiger.com", "email"=>"", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Redirected to localhost:3000/users/signup Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-22 12:30:00 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (3.0ms)

Completed 200 OK in 58ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-22 12:30:08 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.6ms)

Completed 200 OK in 80ms (Views: 77.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:33:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 41ms (Views: 39.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 12:33:50 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.4ms)

Completed 200 OK in 62ms (Views: 60.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 12:33:52 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Mjer17RYsge6YJjqA74HTQiuaE8xMKBHdPAPcePHFVGTK++KUl3iB0j2U0EdmhUmFgmHfd6DnHMvammTeKVMJg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 4.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:33:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 59ms (Views: 57.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 12:33:53 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.1ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (20.0ms)

Completed 200 OK in 100ms (Views: 79.7ms | ActiveRecord: 13.2ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 12:35:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 12:35:44 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 12:35:49 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 12:35:54 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 12:35:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 12:36:04 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:36:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 69ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 12:36:11 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.2ms)

Completed 200 OK in 52ms (Views: 49.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 12:36:13 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.6ms)

Completed 200 OK in 50ms (Views: 46.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-22 12:36:14 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"z1sfED4jgwspB7QnlD0SNtkKEhlVaNjB2isiEE/lCbP9etPR1BCkXwpnv37p+RMDDc79m/WvqbWObzh+WOvlDQ==", "short_url"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/short_to_long Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 12:36:14 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:36:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 84ms (Views: 81.5ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-22 12:36:18 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:36:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 40ms (Views: 38.7ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-22 12:36:19 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (5.9ms)

Completed 200 OK in 59ms (Views: 57.6ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-22 12:36:48 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aa/+u4d3rFMs9bgzAy0qa+9Db45unbSLGlhkuiqkatEXo8wvzDcxhdSmZoCbmgKk1mi4vnWmdZtBoTMezmyXuw==", "username"=>"vipul", "email"=>"vipul.kumarproptiger.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}
 (0.2ms)  BEGIN
↳ app/controllers/users_controller.rb:34
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "vipul.kumarproptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:34
 (0.2ms)  ROLLBACK
↳ app/controllers/users_controller.rb:34

Redirected to localhost:3000/home/index Completed 200 OK in 4ms (ActiveRecord: 0.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 12:36:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 59ms (Views: 56.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 12:56:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 500 Internal Server Error in 124ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (Missing partial home/_footer, application/_footer with {:locale=>, :formats=>, :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

15:       <% end %>
16:     
17:     <%= yield %>
18:     <%= render 'footer'%>
19:   </body>
20: </html>

app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb___4203605550091689026_70158817590220' Started GET “/” for 127.0.0.1 at 2019-01-22 12:57:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 500 Internal Server Error in 55ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (Missing partial home/_footer, application/_footer with {:locale=>, :formats=>, :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

15:       <% end %>
16:     
17:     <%= yield %>
18:     <% render 'footer'%>
19:   </body>
20: </html>

app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb___4203605550091689026_70158861475760' Started GET “/” for 127.0.0.1 at 2019-01-22 12:57:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.2ms)
Rendered layouts/_footer.html.erb (0.9ms)

Completed 200 OK in 83ms (Views: 81.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 12:58:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)
Rendered layouts/_footer.html.erb (0.4ms)

Completed 200 OK in 46ms (Views: 40.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 12:58:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)
Rendered layouts/_footer.html.erb (0.4ms)

Completed 200 OK in 54ms (Views: 53.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 12:58:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)
Rendered layouts/_footer.html.erb (1.1ms)

Completed 200 OK in 63ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 12:59:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)
Rendered layouts/_footer.html.erb (0.7ms)

Completed 200 OK in 59ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 12:59:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)
Rendered layouts/_footer.html.erb (0.8ms)

Completed 200 OK in 82ms (Views: 79.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 12:59:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)
Rendered layouts/_footer.html.erb (0.6ms)

Completed 200 OK in 48ms (Views: 45.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 12:59:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)
Rendered layouts/_footer.html.erb (0.4ms)

Completed 200 OK in 58ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 13:01:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)
Rendered layouts/_footer.html.erb (0.7ms)

Completed 200 OK in 333ms (Views: 331.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 13:01:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)
Rendered layouts/_footer.html.erb (0.5ms)

Completed 200 OK in 83ms (Views: 80.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 13:01:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)
Rendered layouts/_footer.html.erb (0.5ms)

Completed 200 OK in 358ms (Views: 356.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 13:03:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)
Rendered layouts/_footer.html.erb (0.6ms)

Completed 200 OK in 328ms (Views: 325.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 13:04:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/layouts/application.html.erb:21: syntax error, unexpected '<'

</footer>
^

/Users/vipul/Intern/Url_Shortner/app/views/layouts/application.html.erb:22: unknown regexp options - bdy /Users/vipul/Intern/Url_Shortner/app/views/layouts/application.html.erb:24: syntax error, unexpected '<' </html> ^ /Users/vipul/Intern/Url_Shortner/app/views/layouts/application.html.erb:29: unterminated regexp meets end of file

end
    ^

/Users/vipul/Intern/Url_Shortner/app/views/layouts/application.html.erb:29: syntax error, unexpected end-of-input, expecting ')'):

app/views/layouts/application.html.erb:21: syntax error, unexpected '<' app/views/layouts/application.html.erb:22: unknown regexp options - bdy app/views/layouts/application.html.erb:24: syntax error, unexpected '<' app/views/layouts/application.html.erb:29: unterminated regexp meets end of file app/views/layouts/application.html.erb:29: syntax error, unexpected end-of-input, expecting ')' Started GET “/short-url/?short_url=ahjfkba” for 127.0.0.1 at 2019-01-22 13:07:55 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"ahjfkba"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/ahjfkba"], ["LIMIT", 1]]
↳ app/models/url.rb:48

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 8.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 13:09:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 93ms (Views: 90.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-22 13:09:47 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (1.7ms)

Completed 200 OK in 75ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 13:09:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (4.8ms)

Completed 200 OK in 62ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 13:09:49 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 58ms (Views: 54.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 13:09:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 55ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 13:10:25 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 62ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 13:18:35 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 60ms (Views: 58.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 13:18:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 70.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 13:22:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)
Rendered layouts/_header.html.erb (0.7ms)

Completed 200 OK in 56ms (Views: 55.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 13:22:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)
Rendered layouts/_header.html.erb (1.3ms)

Completed 200 OK in 59ms (Views: 56.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 13:22:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)
Rendered layouts/_header.html.erb (0.4ms)

Completed 200 OK in 45ms (Views: 43.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:04:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 47ms (Views: 46.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 14:06:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 42ms (Views: 40.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 14:06:54 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.7ms)

Completed 200 OK in 53ms (Views: 50.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 14:06:56 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kBenlXos2DFwM4tUvEvuXmHmV1n1pQ4A05Jm6U8yuAYxC+PInCmIMYKlQP+ib/w1f0G4axoWMjSICAAL1FDhcQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 5.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:06:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 76ms (Views: 73.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:06:57 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 54ms (Views: 50.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:07:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:12: syntax error, unexpected '!', expecting end

@entry.update(params)!
                     ^

/Users/vipul/Intern/Url_Shortner/app/models/url.rb:13: void value expression …url],“domain”=>params} …^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~):

app/models/url.rb:12: syntax error, unexpected '!', expecting end app/models/url.rb:13: void value expression app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:07:17 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75
 (0.3ms)  BEGIN
↳ app/models/url.rb:12
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:12
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:18

Completed 500 Internal Server Error in 16ms (ActiveRecord: 4.6ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:08:26 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6e1a"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75
 (0.1ms)  BEGIN
↳ app/models/url.rb:12
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:12
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "be.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:19

Completed 500 Internal Server Error in 17ms (ActiveRecord: 5.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:08:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6e1a"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75
 (0.1ms)  BEGIN
↳ app/models/url.rb:14
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:14

Completed 500 Internal Server Error in 16ms (ActiveRecord: 5.3ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:23:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:09:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6e1a"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75

Completed 500 Internal Server Error in 12ms (ActiveRecord: 3.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:09:44 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6e1a"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75

Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:12:42 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:12: syntax error, unexpected '!', expecting end .…update_attributes(url_params)! … ^):

app/models/url.rb:12: syntax error, unexpected '!', expecting end app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:12:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6e1a"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75

Completed 500 Internal Server Error in 25ms (ActiveRecord: 5.1ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:13:15 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c6e1a"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75

Completed 500 Internal Server Error in 21ms (ActiveRecord: 2.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:23:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:13:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4e754"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "be.com/watch?v=-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:20

Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.6ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:23:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:14:16 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3a8f3"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "be.com/watch?v=lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:21

Completed 500 Internal Server Error in 23ms (ActiveRecord: 3.3ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:14:32 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3a8f3"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75

Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.3ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:15:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3a8f3"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75

Completed 500 Internal Server Error in 23ms (ActiveRecord: 2.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:26:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:16:39 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3a8f3"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75

Completed 500 Internal Server Error in 22ms (ActiveRecord: 3.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:27:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:17:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3a8f3"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75

Completed 500 Internal Server Error in 21ms (ActiveRecord: 2.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:27:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:18:17 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "191f6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "be.com/watch?v="], ["LIMIT", 1]]
↳ app/models/url.rb:24

Completed 500 Internal Server Error in 21ms (ActiveRecord: 3.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:27:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:18:39 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "191f6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:75

Completed 500 Internal Server Error in 23ms (ActiveRecord: 3.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:27:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:20:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oz5rJR3C2RbkTQr+1NKfMNgsJLevT2ON0P+N2ty1O54zsUCKIrx0lME/utc1ZVQAIqTnA6Z5O1CO/NM3y8HnVg==", "long_url"=>"be.com/watch?v=", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "191f6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "be.com/watch?v="], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "be.com/watch?v="], ["short_url", "https://www.vg.sw.n/191f6"], ["domain", "guides"]]
↳ app/models/url.rb:15
 (6.1ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=be.com%2Fwatch%3Fv%3D&short_url=https%3A%2F%2Fwww.vg.sw.n%2F191f6 Completed 200 OK in 24ms (ActiveRecord: 9.8ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=be.com%2Fwatch%3Fv%3D&short_url=https%3A%2F%2Fwww.vg.sw.n%2F191f6” for 127.0.0.1 at 2019-01-22 14:20:58 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"be.com/watch?v=", "short_url"=>"https://www.vg.sw.n/191f6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.2ms)
Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 11], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 109ms (Views: 96.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:20:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 106ms (Views: 102.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:22:58 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.4ms)

Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:23:05 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LbolEaM3BjKGkaRJ+IdZTvvoTgRDVmIF5etqyw38FiolNQ6+nEmrsKPjFGAZMJJ+AWCNsEpgOti76DQmGojK4g==", "long_url"=>"https://stackoer", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6a85c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoer"], ["LIMIT", 1]]
↳ app/models/url.rb:20

Completed 500 Internal Server Error in 25ms (ActiveRecord: 3.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:23:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:24:57 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LbolEaM3BjKGkaRJ+IdZTvvoTgRDVmIF5etqyw38FiolNQ6+nEmrsKPjFGAZMJJ+AWCNsEpgOti76DQmGojK4g==", "long_url"=>"https://stackoer", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6a85c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 28ms (ActiveRecord: 4.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:25:34 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LbolEaM3BjKGkaRJ+IdZTvvoTgRDVmIF5etqyw38FiolNQ6+nEmrsKPjFGAZMJJ+AWCNsEpgOti76DQmGojK4g==", "long_url"=>"https://stackoer", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6a85c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:25:47 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LbolEaM3BjKGkaRJ+IdZTvvoTgRDVmIF5etqyw38FiolNQ6+nEmrsKPjFGAZMJJ+AWCNsEpgOti76DQmGojK4g==", "long_url"=>"https://stacko", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b727f"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stacko"], ["LIMIT", 1]]
↳ app/models/url.rb:21

Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.6ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:26:21 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LbolEaM3BjKGkaRJ+IdZTvvoTgRDVmIF5etqyw38FiolNQ6+nEmrsKPjFGAZMJJ+AWCNsEpgOti76DQmGojK4g==", "long_url"=>"https://stacko", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b727f"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stacko"], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://stacko"], ["short_url", "https://www.vg.sw.n/b727f"], ["domain", "guides"]]
↳ app/models/url.rb:15
 (5.6ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstacko&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fb727f Completed 200 OK in 23ms (ActiveRecord: 10.0ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fstacko&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fb727f” for 127.0.0.1 at 2019-01-22 14:26:21 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://stacko", "short_url"=>"https://www.vg.sw.n/b727f"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.8ms)
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 12], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 90ms (Views: 58.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:26:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 61ms (Views: 56.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:26:51 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 68ms (Views: 40.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:26:57 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"D/cXjD7Ul3+Bbo7JFRgzskxfjPRY5my1Bzsjx4ng8mgHeDwjAao6/aQcPuD0r/iCttdPQFHQNGhZOH0qnpQuoA==", "long_url"=>"ackover", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c5a88"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ackover"], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ackover"], ["short_url", "https://www.vg.sw.n/c5a88"], ["domain", "a"]]
↳ app/models/url.rb:15
 (6.1ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=ackover&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc5a88 Completed 200 OK in 29ms (ActiveRecord: 9.5ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=ackover&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc5a88” for 127.0.0.1 at 2019-01-22 14:26:57 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"ackover", "short_url"=>"https://www.vg.sw.n/c5a88"}

Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Report Load (1.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:26:57 +0530 Processing by HomeController#index as HTML

CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (5.9ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Rendering home/index.html.erb within layouts/application
Report Exists (3.9ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Rendered home/index.html.erb within layouts/application (1.9ms)
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 13], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (6.7ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 59ms (Views: 53.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 14:26:59 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.3ms)

Completed 200 OK in 59ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 14:27:01 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zprFDYZ+dNCcHJeaS1A7MtzkSmu5117sRj5ahEmvdzNvhoFQYHsk0G6KXDFVdClZwkOlWVZkYtgdpDxm0s0uRA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 9ms (ActiveRecord: 2.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:27:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 62ms (Views: 60.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:27:01 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.3ms)

Completed 200 OK in 84ms (Views: 82.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:27:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"icMBKVgPTO1hR2R7G1WtY32xNLtZO7hSl31e4D38fbmBTCqGZ3Hhb0Q11FL64mZThzn3D1AN4I/JfgANKoihcQ==", "long_url"=>"efd", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c9ddb"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "efd"], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "efd"], ["short_url", "https://www.vg.sw.n/c9ddb"], ["domain", "a"]]
↳ app/models/url.rb:15
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 14], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (6.4ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb Completed 200 OK in 13ms (ActiveRecord: 7.4ms)

 (7.5ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=a&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb” for 127.0.0.1 at 2019-01-22 14:27:07 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"efd", "short_url"=>"https://www.vg.sw.n/c9ddb"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.2ms)

Completed 200 OK in 66ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:27:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 41ms (Views: 40.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:27:30 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (8.5ms)

Completed 200 OK in 65ms (Views: 62.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:27:33 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NfIqMsFh/Fw99m1TN6B2s1scVlTNvDHpsXvM3lMWvis9fQGd/h9R3hiE3XrWF72DoZSV4MSKaTTveJIzRGJi4w==", "long_url"=>"vipumar", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4f211"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "vipumar"], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "vipumar"], ["short_url", "https://www.vg.sw.n/4f211"], ["domain", "guides"]]
↳ app/models/url.rb:15
 (6.4ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211 Completed 200 OK in 23ms (ActiveRecord: 11.3ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211” for 127.0.0.1 at 2019-01-22 14:27:33 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"vipumar", "short_url"=>"https://www.vg.sw.n/4f211"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.4ms)
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.3ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 15], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 94ms (Views: 85.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:28:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 40ms (Views: 39.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:28:10 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.6ms)

Completed 200 OK in 69ms (Views: 66.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:28:14 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pdI5O/QxAMGXu+pwUn6LYMxJ0rzbvCGTX2UU2cXbA4ytXRKUy0+tQ7LJWlmzyUBQNsERCNKKeU4BZko00q/fRA==", "long_url"=>"efd", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c9ddb"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "efd"], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:15
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "efd"], ["LIMIT", 1]]
↳ app/models/url.rb:20

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=a&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb Completed 200 OK in 17ms (ActiveRecord: 4.9ms)

Started GET “/urls/show?Status=Already+Exists&domain=a&long_url=efd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fc9ddb” for 127.0.0.1 at 2019-01-22 14:28:14 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"a", "long_url"=>"efd", "short_url"=>"https://www.vg.sw.n/c9ddb"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.2ms)

Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:28:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.1ms)

Completed 200 OK in 87ms (Views: 85.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:28:19 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.9ms)

Completed 200 OK in 66ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:28:23 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LGKvCwlDfm+Gxzb4ufAUhPYAXJN8CII5CrsHdBGW5HYk7YSkNj3T7aO1htFYR9+0DIifJ3U+2uRUuFmZBuI4vg==", "long_url"=>"ppp", "domain"=>"a", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f27f6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.3ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ppp"], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ppp"], ["short_url", "https://www.vg.sw.n/f27f6"], ["domain", "a"]]
↳ app/models/url.rb:15
 (6.1ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=ppp&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff27f6 Completed 200 OK in 14ms (ActiveRecord: 7.4ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=ppp&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff27f6” for 127.0.0.1 at 2019-01-22 14:28:23 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"ppp", "short_url"=>"https://www.vg.sw.n/f27f6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.4ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 16], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 73ms (Views: 71.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 14:33:20 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 200 OK in 41ms (Views: 40.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 14:33:22 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QzFO/Hort7apvG4f6yGD1AiRqjPNa2ioCgmEceEDp1niLQqhnC7ntlsqpbT1BZG/FjZFASLYVJxRk+KTemH+Lg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 4.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:33:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 94ms (Views: 90.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:33:23 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (7.6ms)

Completed 200 OK in 65ms (Views: 63.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:33:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i6ZsGIjzGbBbD4GWne0VmC9D7sgGebpBZqcQIuPaKLWDKUe3t420Mn59Mb98Wt6o1cstfA9P4pw4pE7P9K70fQ==", "long_url"=>"vipumarjhvbj", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "aebb9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "vipumarjhvbj"], ["LIMIT", 1]]
↳ app/models/url.rb:18

Completed 500 Internal Server Error in 13ms (ActiveRecord: 3.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:33:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i6ZsGIjzGbBbD4GWne0VmC9D7sgGebpBZqcQIuPaKLWDKUe3t420Mn59Mb98Wt6o1cstfA9P4pw4pE7P9K70fQ==", "long_url"=>"vipumarjhvbj", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "aebb9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.6ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:34:13 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i6ZsGIjzGbBbD4GWne0VmC9D7sgGebpBZqcQIuPaKLWDKUe3t420Mn59Mb98Wt6o1cstfA9P4pw4pE7P9K70fQ==", "long_url"=>"vipumarjhvbj", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "aebb9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 12ms (ActiveRecord: 2.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:34:32 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i6ZsGIjzGbBbD4GWne0VmC9D7sgGebpBZqcQIuPaKLWDKUe3t420Mn59Mb98Wt6o1cstfA9P4pw4pE7P9K70fQ==", "long_url"=>"vipumarjhvbj", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "aebb9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:34:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i6ZsGIjzGbBbD4GWne0VmC9D7sgGebpBZqcQIuPaKLWDKUe3t420Mn59Mb98Wt6o1cstfA9P4pw4pE7P9K70fQ==", "long_url"=>"vipumarjhvbj", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "aebb9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 14ms (ActiveRecord: 2.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:35:12 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i6ZsGIjzGbBbD4GWne0VmC9D7sgGebpBZqcQIuPaKLWDKUe3t420Mn59Mb98Wt6o1cstfA9P4pw4pE7P9K70fQ==", "long_url"=>"vipumarjhvbj", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "aebb9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:37:20 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:37:26 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sNt/Klbq36QJixoAHUyM/i5lMnfUdqHxs9luXVhPLTeC+rPrvNn48CrrEVlgiI3L+qHd9XSx0IXnnXQzT0HBiQ==", "long_url"=>"vipumarqe", "domain"=>"qe", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74126"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "vipumarqe"], ["LIMIT", 1]]
↳ app/models/url.rb:18

Completed 500 Internal Server Error in 14ms (ActiveRecord: 4.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:38:35 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sNt/Klbq36QJixoAHUyM/i5lMnfUdqHxs9luXVhPLTeC+rPrvNn48CrrEVlgiI3L+qHd9XSx0IXnnXQzT0HBiQ==", "long_url"=>"vipumarqe", "domain"=>"qe", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74126"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 10ms (ActiveRecord: 2.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:38:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sNt/Klbq36QJixoAHUyM/i5lMnfUdqHxs9luXVhPLTeC+rPrvNn48CrrEVlgiI3L+qHd9XSx0IXnnXQzT0HBiQ==", "long_url"=>"vipumarqe", "domain"=>"qe", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74126"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 12ms (ActiveRecord: 2.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:39:17 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sNt/Klbq36QJixoAHUyM/i5lMnfUdqHxs9luXVhPLTeC+rPrvNn48CrrEVlgiI3L+qHd9XSx0IXnnXQzT0HBiQ==", "long_url"=>"vipumarqe", "domain"=>"qe", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74126"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 12ms (ActiveRecord: 3.3ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:40:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 43ms (Views: 42.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:40:57 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.9ms)

Completed 200 OK in 75ms (Views: 73.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:41:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WM+0lmR9ZspSbftgcEhoQ+snzYQgaDIm4wdcSg+mfd1QQJ85WwPLSHcfS0mR/6NzEa8OMCleavu9BAKnGNKhFQ==", "long_url"=>"vipumarasda", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90a28"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "vipumarasda"], ["LIMIT", 1]]
↳ app/models/url.rb:18

Completed 500 Internal Server Error in 15ms (ActiveRecord: 3.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:41:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WM+0lmR9ZspSbftgcEhoQ+snzYQgaDIm4wdcSg+mfd1QQJ85WwPLSHcfS0mR/6NzEa8OMCleavu9BAKnGNKhFQ==", "long_url"=>"vipumarasda", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90a28"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:41:48 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WM+0lmR9ZspSbftgcEhoQ+snzYQgaDIm4wdcSg+mfd1QQJ85WwPLSHcfS0mR/6NzEa8OMCleavu9BAKnGNKhFQ==", "long_url"=>"vipumarasda", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90a28"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:42:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WM+0lmR9ZspSbftgcEhoQ+snzYQgaDIm4wdcSg+mfd1QQJ85WwPLSHcfS0mR/6NzEa8OMCleavu9BAKnGNKhFQ==", "long_url"=>"vipumarasda", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90a28"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "vipumarasda"], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "vipumarasda"]]
↳ app/models/url.rb:67
 (6.2ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=vipumarasda&short_url=https%3A%2F%2Fwww.vg.sw.n%2F90a28 Completed 200 OK in 22ms (ActiveRecord: 9.9ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=vipumarasda&short_url=https%3A%2F%2Fwww.vg.sw.n%2F90a28” for 127.0.0.1 at 2019-01-22 14:42:49 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"vipumarasda", "short_url"=>"https://www.vg.sw.n/90a28"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 17], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (0.4ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 97ms (Views: 86.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:42:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 64ms (Views: 60.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:44:04 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 40ms (Views: 38.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:44:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P19WfrbTBgvfOoZ7caX/ps+Khc1gju7Q4OiUsUJI+rE30H3Ria2rifpINlKQEjSWNQJGeWm4tg2+68pcVTwmeQ==", "long_url"=>"ww.yo", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74224"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "ww.yo"], ["LIMIT", 1]]
↳ app/models/url.rb:18

Completed 500 Internal Server Error in 25ms (ActiveRecord: 4.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:44:24 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P19WfrbTBgvfOoZ7caX/ps+Khc1gju7Q4OiUsUJI+rE30H3Ria2rifpINlKQEjSWNQJGeWm4tg2+68pcVTwmeQ==", "long_url"=>"ww.yo", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74224"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 21ms (ActiveRecord: 2.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:44:48 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P19WfrbTBgvfOoZ7caX/ps+Khc1gju7Q4OiUsUJI+rE30H3Ria2rifpINlKQEjSWNQJGeWm4tg2+68pcVTwmeQ==", "long_url"=>"ww.yo", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74224"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 24ms (ActiveRecord: 2.8ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:45:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P19WfrbTBgvfOoZ7caX/ps+Khc1gju7Q4OiUsUJI+rE30H3Ria2rifpINlKQEjSWNQJGeWm4tg2+68pcVTwmeQ==", "long_url"=>"ww.yo", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74224"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.3ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:52:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P19WfrbTBgvfOoZ7caX/ps+Khc1gju7Q4OiUsUJI+rE30H3Ria2rifpINlKQEjSWNQJGeWm4tg2+68pcVTwmeQ==", "long_url"=>"ww.yo", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74224"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "ww.yo"], ["LIMIT", 1]]
↳ app/models/url.rb:19

Completed 500 Internal Server Error in 26ms (ActiveRecord: 5.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:53:15 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P19WfrbTBgvfOoZ7caX/ps+Khc1gju7Q4OiUsUJI+rE30H3Ria2rifpINlKQEjSWNQJGeWm4tg2+68pcVTwmeQ==", "long_url"=>"ww.yo", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74224"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 23ms (ActiveRecord: 3.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:53:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P19WfrbTBgvfOoZ7caX/ps+Khc1gju7Q4OiUsUJI+rE30H3Ria2rifpINlKQEjSWNQJGeWm4tg2+68pcVTwmeQ==", "long_url"=>"ww.yo", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74224"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 22ms (ActiveRecord: 2.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:53:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P19WfrbTBgvfOoZ7caX/ps+Khc1gju7Q4OiUsUJI+rE30H3Ria2rifpINlKQEjSWNQJGeWm4tg2+68pcVTwmeQ==", "long_url"=>"ww.yo", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74224"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ww.yo"], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "ww.yo"]]
↳ app/models/url.rb:64
 (5.9ms)  COMMIT
↳ app/models/url.rb:64

Redirected to localhost:3000/urls/show?Status=Success&domain=q&long_url=ww.yo&short_url=https%3A%2F%2Fwww.vg.sw.n%2F74224 Completed 200 OK in 22ms (ActiveRecord: 9.8ms)

Started GET “/urls/show?Status=Success&domain=q&long_url=ww.yo&short_url=https%3A%2F%2Fwww.vg.sw.n%2F74224” for 127.0.0.1 at 2019-01-22 14:53:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"q", "long_url"=>"ww.yo", "short_url"=>"https://www.vg.sw.n/74224"}

Redirected to localhost:3000/home/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:53:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.1ms)
Report Load (1.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.6ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 18], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (5.9ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 90ms (Views: 87.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 14:53:53 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.2ms)

Completed 200 OK in 75ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 14:53:55 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SCx/6BongqZXu1J6fX+zLa0KNRFo1lhf2l2/7S/MuJ3pMDu1/CLSpqUtmdFjW6FGs63aI4dlZGuBx9kPtK7h6g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 3.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:53:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 72ms (Views: 70.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:53:56 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.0ms)

Completed 200 OK in 98ms (Views: 94.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:54:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NwOfH75bcSVwAF63m81Tel5g1ZPa9woy5aqXVH2dqQQ/jLSwgSXcp1Vy7p56ephKpOgWJ9PBUu+7qcm5aul1zA==", "long_url"=>"asdf", "domain"=>"as", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "912ec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "asdf"], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "asdf"]]
↳ app/models/url.rb:64
Report Load (0.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 19], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (6.4ms)  COMMIT
↳ app/models/url.rb:64

Redirected to localhost:3000/urls/show?Status=Success&domain=as&long_url=asdf&short_url=https%3A%2F%2Fwww.vg.sw.n%2F912ec Completed 200 OK in 13ms (ActiveRecord: 7.5ms)

 (8.0ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=as&long_url=asdf&short_url=https%3A%2F%2Fwww.vg.sw.n%2F912ec” for 127.0.0.1 at 2019-01-22 14:54:01 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"as", "long_url"=>"asdf", "short_url"=>"https://www.vg.sw.n/912ec"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:54:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 43ms (Views: 42.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-22 14:54:24 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 88ms (Views: 84.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:54:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 74ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:54:26 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.0ms)

Completed 200 OK in 86ms (Views: 82.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:54:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iq3Iw0A3+qLP+AJIoAgOG7V5gd0a59gpvoBfT4e9VPeCIuNsf0lXIOqKsmFBv8UrT/FCaRPRgPTggwGikMmIPw==", "long_url"=>"efdsdfasd", "domain"=>"guides", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e0cf9"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "efdsdfasd"], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Create (0.2ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "efdsdfasd"]]
↳ app/models/url.rb:64
 (6.1ms)  COMMIT
↳ app/models/url.rb:64

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=efdsdfasd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fe0cf9 Completed 200 OK in 23ms (ActiveRecord: 10.8ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=efdsdfasd&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fe0cf9” for 127.0.0.1 at 2019-01-22 14:54:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"efdsdfasd", "short_url"=>"https://www.vg.sw.n/e0cf9"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 20], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 80ms (Views: 77.9ms | ActiveRecord: 0.0ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 14:58:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 44ms (Views: 42.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 14:58:11 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.5ms)

Completed 200 OK in 61ms (Views: 59.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:58:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GPlL11IXLYEONdXMiYDNnrBfg1JDcKn0sP1lax2JSzUQdmB4bWmAAytHZeVoNwauStdA5kpG8Snu/juGCv2X/Q==", "long_url"=>"wedswe", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e5805"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:66
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:66
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "wedswe"], ["LIMIT", 1]]
↳ app/models/url.rb:18

Completed 500 Internal Server Error in 17ms (ActiveRecord: 5.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:58:39 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GPlL11IXLYEONdXMiYDNnrBfg1JDcKn0sP1lax2JSzUQdmB4bWmAAytHZeVoNwauStdA5kpG8Snu/juGCv2X/Q==", "long_url"=>"wedswe", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e5805"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:66
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:66

Completed 500 Internal Server Error in 13ms (ActiveRecord: 3.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 14:58:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GPlL11IXLYEONdXMiYDNnrBfg1JDcKn0sP1lax2JSzUQdmB4bWmAAytHZeVoNwauStdA5kpG8Snu/juGCv2X/Q==", "long_url"=>"wedswe", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e5805"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:67
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:67

Completed 500 Internal Server Error in 12ms (ActiveRecord: 3.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:21:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:00:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GPlL11IXLYEONdXMiYDNnrBfg1JDcKn0sP1lax2JSzUQdmB4bWmAAytHZeVoNwauStdA5kpG8Snu/juGCv2X/Q==", "long_url"=>"wedswe", "domain"=>"q", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e5805"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "wedswe"], ["LIMIT", 1]]
↳ app/models/url.rb:14
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "wedswe"], ["short_url", "https://www.vg.sw.n/e5805"], ["domain", "q"]]
↳ app/models/url.rb:14
 (6.3ms)  COMMIT
↳ app/models/url.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=q&long_url=wedswe&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fe5805 Completed 200 OK in 21ms (ActiveRecord: 9.9ms)

Started GET “/urls/show?Status=Success&domain=q&long_url=wedswe&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fe5805” for 127.0.0.1 at 2019-01-22 15:00:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"q", "long_url"=>"wedswe", "short_url"=>"https://www.vg.sw.n/e5805"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.8ms)
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 21], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (6.2ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 88ms (Views: 78.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 15:00:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 62ms (Views: 60.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 15:00:48 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.5ms)

Completed 200 OK in 48ms (Views: 45.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:00:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aCtSRw76Qzny5UWT0wj50dQGoc4PnIcPktg7a/n+WsRgpHnoMYTuu9eX9boyvzLhLo5iegaq39LM22WG7oqGDA==", "long_url"=>"plmko", "domain"=>"plm", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f117"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "plmko"], ["LIMIT", 1]]
↳ app/models/url.rb:21

Completed 500 Internal Server Error in 24ms (ActiveRecord: 3.4ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:01:08 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aCtSRw76Qzny5UWT0wj50dQGoc4PnIcPktg7a/n+WsRgpHnoMYTuu9eX9boyvzLhLo5iegaq39LM22WG7oqGDA==", "long_url"=>"plmko", "domain"=>"plm", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f117"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78

Completed 500 Internal Server Error in 22ms (ActiveRecord: 3.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:05:08 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aCtSRw76Qzny5UWT0wj50dQGoc4PnIcPktg7a/n+WsRgpHnoMYTuu9eX9boyvzLhLo5iegaq39LM22WG7oqGDA==", "long_url"=>"plmko", "domain"=>"plm", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f117"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "plmko"], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "plmko"], ["short_url", "https://www.vg.sw.n/8f117"], ["domain", "plm"]]
↳ app/models/url.rb:15
 (6.1ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=plm&long_url=plmko&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f117 Completed 200 OK in 20ms (ActiveRecord: 9.5ms)

Started GET “/urls/show?Status=Success&domain=plm&long_url=plmko&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f117” for 127.0.0.1 at 2019-01-22 15:05:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"plm", "long_url"=>"plmko", "short_url"=>"https://www.vg.sw.n/8f117"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.8ms)
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.3ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 22], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 140ms (Views: 138.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 15:05:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 132ms (Views: 128.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 15:05:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 73ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:05:23 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2c8U4khkcvxqnn4pk/iOfRFXFK1ioohNhdGdBebKNujRQD9Ndxrffk/szgByT0VN69/XGWuU0JDb0sPo8b7qIA==", "long_url"=>"plm", "domain"=>"w", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f1f50"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "plm"], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "plm"], ["short_url", "https://www.vg.sw.n/f1f50"], ["domain", "w"]]
↳ app/models/url.rb:15
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 23], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (6.2ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=w&long_url=plm&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff1f50 Completed 200 OK in 12ms (ActiveRecord: 7.3ms)

 (7.7ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=w&long_url=plm&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff1f50” for 127.0.0.1 at 2019-01-22 15:05:23 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"w", "long_url"=>"plm", "short_url"=>"https://www.vg.sw.n/f1f50"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.7ms)

Completed 200 OK in 62ms (Views: 60.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 15:05:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 61ms (Views: 59.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 15:05:28 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.7ms)

Completed 200 OK in 96ms (Views: 93.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:05:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fX7n2JK0bep0Gf4DoH8PefuaH+h9LWRnWJCHI/0kb0B18cx3rcrAaFFrTipByMRJARLcXHQbPLoGk9nO6lCziA==", "long_url"=>"plm", "domain"=>"wef", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f1f50"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "plm"], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:15
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "plm"], ["LIMIT", 1]]
↳ app/models/url.rb:21

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=w&long_url=plm&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff1f50 Completed 200 OK in 9ms (ActiveRecord: 1.3ms)

Started GET “/urls/show?Status=Already+Exists&domain=w&long_url=plm&short_url=https%3A%2F%2Fwww.vg.sw.n%2Ff1f50” for 127.0.0.1 at 2019-01-22 15:05:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"w", "long_url"=>"plm", "short_url"=>"https://www.vg.sw.n/f1f50"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 15:10:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 41ms (Views: 40.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 15:10:55 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.1ms)

Completed 200 OK in 91ms (Views: 89.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:11:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:92:in `url_params' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:11:24 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:92:in `url_params' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:11:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:93:in `url_params' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:11:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:93:in `url_params' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:12:39 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:91:in `url_params' app/controllers/urls_controller.rb:4:in `shorten_url' app/controllers/urls_controller.rb:54:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:13:34 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:91:in `url_params' app/controllers/urls_controller.rb:4:in `shorten_url' app/controllers/urls_controller.rb:54:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:13:56 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:91:in `url_params' app/controllers/urls_controller.rb:4:in `shorten_url' app/controllers/urls_controller.rb:54:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:15:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:92:in `url_params' app/controllers/urls_controller.rb:4:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:15:39 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:95:in `url_params' app/controllers/urls_controller.rb:4:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:16:24 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:94:in `url_params' app/controllers/urls_controller.rb:4:in `shorten_url' app/controllers/urls_controller.rb:55:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:16:44 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:95:in `url_params' app/controllers/urls_controller.rb:5:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:17:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: urls):

app/controllers/urls_controller.rb:95:in `url_params' app/controllers/urls_controller.rb:5:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:17:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: urls):

app/controllers/urls_controller.rb:95:in `url_params' app/controllers/urls_controller.rb:5:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:18:09 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms)

ActionController::ParameterMissing (param is missing or the value is empty: url):

app/controllers/urls_controller.rb:95:in `url_params' app/controllers/urls_controller.rb:5:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:18:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

ArgumentError (wrong number of arguments (given 0, expected 1)):

app/controllers/urls_controller.rb:95:in `url_params' app/controllers/urls_controller.rb:5:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:18:40 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8zzq1BdLHVAMGTRffAYaWEq7PLZZ+Hu0J0Y/s4+pZjT7s8F7KDWw0ilrhHadsdFosDP/AlDOI2l5RWFemN26/A==", "long_url"=>"ijkl", "domain"=>"plo", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "09a08"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ijkl"], ["LIMIT", 1]]
↳ app/models/url.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ijkl"], ["short_url", "https://www.vg.sw.n/09a08"], ["domain", "plo"]]
↳ app/models/url.rb:13
 (6.1ms)  COMMIT
↳ app/models/url.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=plo&long_url=ijkl&short_url=https%3A%2F%2Fwww.vg.sw.n%2F09a08 Completed 200 OK in 20ms (ActiveRecord: 9.6ms)

Started GET “/urls/show?Status=Success&domain=plo&long_url=ijkl&short_url=https%3A%2F%2Fwww.vg.sw.n%2F09a08” for 127.0.0.1 at 2019-01-22 15:18:40 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"plo", "long_url"=>"ijkl", "short_url"=>"https://www.vg.sw.n/09a08"}

Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 15:18:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)
Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 24], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.0ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 41ms (Views: 39.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 15:18:41 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 200 OK in 39ms (Views: 37.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 15:18:43 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aaFuf5HPIzahw5/zgHLWEK5YFCGQmrJZBuwd460LEJ3IvSoid8pzNlNVVFieVsR7sP/7E38pjm1ddnsBNmlJ6g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 2.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 15:18:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 60ms (Views: 58.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 15:18:44 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 75ms (Views: 73.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 15:18:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2FKSdMQGNHCksTZglJBAwovj6402veoyh4agcRXB+PLQ3bnb+3iZ8oHDhkl1J4vycWsoOT+Lsu/Zhf6cArUkOg==", "long_url"=>"ygvty", "domain"=>"uhjn", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "667e2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:13
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ygvty"], ["LIMIT", 1]]
↳ app/models/url.rb:13
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ygvty"], ["short_url", "https://www.vg.sw.n/667e2"], ["domain", "uhjn"]]
↳ app/models/url.rb:13
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 25], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (5.8ms)  COMMIT
↳ app/models/url.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=uhjn&long_url=ygvty&short_url=https%3A%2F%2Fwww.vg.sw.n%2F667e2 Completed 200 OK in 13ms (ActiveRecord: 6.8ms)

 (7.4ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=uhjn&long_url=ygvty&short_url=https%3A%2F%2Fwww.vg.sw.n%2F667e2” for 127.0.0.1 at 2019-01-22 15:18:49 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"uhjn", "long_url"=>"ygvty", "short_url"=>"https://www.vg.sw.n/667e2"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.0ms)

Completed 200 OK in 78ms (Views: 76.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 15:18:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 68ms (Views: 66.6ms | ActiveRecord: 0.0ms)

Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/.side” for 127.0.0.1 at 2019-01-22 15:39:19 +0530

ActionController::RoutingError (No route matches [GET] “/.side”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 15:39:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:39:29 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:39:34 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:39:39 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:39:44 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:39:49 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:39:54 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:39:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:04 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:09 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:14 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:24 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:29 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:34 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:39 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:44 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:49 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:54 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:40:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:04 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:09 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:14 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:24 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:29 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:34 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:39 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:44 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:49 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:54 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:41:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:04 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:09 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:14 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:24 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:29 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:34 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:39 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:44 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:49 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:54 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:42:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:04 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:09 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:14 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:34 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 15:43:38 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 15:43:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:43:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:44:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:45:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:46:04 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:46:09 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:46:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:46:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:46:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:47:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:48:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:11 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:16 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:21 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:31 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:36 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:49:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:50:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:51:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:52:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:53:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:54:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:55:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:56:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:57:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:58:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 15:59:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:00:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:01:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:02:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:02:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:02:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:02:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:02:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:02:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:02:31 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 16:10:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:10:24 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:10:29 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:10:34 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:10:39 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:10:44 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:10:49 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:10:54 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:10:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:04 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:09 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:14 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:24 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:29 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:34 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:39 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:44 +0530 Started GET “/” for 127.0.0.1 at 2019-01-22 16:11:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 75ms (Views: 71.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 16:11:49 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.7ms)

Completed 200 OK in 74ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:50 +0530 Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 16:11:50 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gEVgbE8LpBBVStVw7oDCtLyyxNkjoJMeb2RvcDgWDx0hWSQxqQ70EKfcHtvwpNDfohUr68wTryo0/gmSo3RWag==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 19ms (ActiveRecord: 8.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 16:11:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 70ms (Views: 67.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 16:11:51 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (7.9ms)

Completed 200 OK in 71ms (Views: 69.7ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:11:59 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 16:12:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G/zzE9e8wraNzJgbfKkvswfQSwEnEVHcjNAcqUjBeMATc9i86MJvNKi+KDKdHuSD/ViItS4nCQHS00JEX7WkCA==", "long_url"=>"plplp", "domain"=>"plp", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3d555"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "plplp"], ["LIMIT", 1]]
↳ app/models/url.rb:12
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "plplp"], ["short_url", "https://www.vg.sw.n/3d555"], ["domain", "plp"]]
↳ app/models/url.rb:12
 (6.1ms)  COMMIT
↳ app/models/url.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=plp&long_url=plplp&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3d555 Completed 200 OK in 22ms (ActiveRecord: 10.1ms)

Started GET “/urls/show?Status=Success&domain=plp&long_url=plplp&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3d555” for 127.0.0.1 at 2019-01-22 16:12:01 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"plp", "long_url"=>"plplp", "short_url"=>"https://www.vg.sw.n/3d555"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.5ms)
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.4ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 26], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (1.3ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Completed 200 OK in 83ms (Views: 79.9ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 16:12:03 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 16:12:03 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 16:12:05 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 16:12:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:12:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:12:15 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-22 16:12:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 59ms (Views: 57.6ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-22 16:12:19 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.3ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (8.7ms)

Completed 200 OK in 67ms (Views: 46.4ms | ActiveRecord: 3.5ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:12:21 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-22 16:12:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 81ms (Views: 78.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 16:12:24 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.6ms)

Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:12:26 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 16:12:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zgqDx3C+UR0+Ifj0jzm7SziRVlrj/qeCsxzdIkMOhX7GhahoT8D8nxtTSN1ujnB7whmV7urI/1/tH4PPVHpZtg==", "long_url"=>"yhy", "domain"=>"7", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "75fbd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.3ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "yhy"], ["LIMIT", 1]]
↳ app/models/url.rb:12
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "yhy"], ["short_url", "https://www.vg.sw.n/75fbd"], ["domain", "7"]]
↳ app/models/url.rb:12
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/helpers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/helpers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 27], ["id", 2]]
↳ app/helpers/url_worker.rb:12
 (6.1ms)  COMMIT
↳ app/models/url.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=7&long_url=yhy&short_url=https%3A%2F%2Fwww.vg.sw.n%2F75fbd Completed 200 OK in 13ms (ActiveRecord: 7.3ms)

 (8.2ms)  COMMIT
↳ app/helpers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=7&long_url=yhy&short_url=https%3A%2F%2Fwww.vg.sw.n%2F75fbd” for 127.0.0.1 at 2019-01-22 16:12:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"7", "long_url"=>"yhy", "short_url"=>"https://www.vg.sw.n/75fbd"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.1ms)

Completed 200 OK in 60ms (Views: 57.2ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:12:31 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 16:12:33 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 16:12:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:12:38 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 16:12:40 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 16:12:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:12:46 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:12:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:12:56 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:01 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:06 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:11 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:16 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:21 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:31 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:36 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:46 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:13:56 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:14:01 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:14:06 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:14:11 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:14:16 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:14:21 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:14:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:14:31 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:14:36 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 16:14:40 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 16:24:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:24:24 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:24:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:24:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:24:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:24:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:24:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:24:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:25:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:26:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:27:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:28:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:29:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:30:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:31:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:40 +0530

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:32:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:33:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:34:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:35:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:36:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:37:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:38:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:39:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:39:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:39:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:39:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:39:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:40:24 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:40:29 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:40:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:40:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:40:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:40:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:40:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:40:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:41:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:42:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:43:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:43 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-22 16:44:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 59ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 16:44:46 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.5ms)

Completed 200 OK in 84ms (Views: 79.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 16:44:48 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Kq1X6oqnL/LPLiFN985O9nrO350a0xMQzDa1lh8ML0qLsRO3bKJ/8j246ubp6lydZGkwr/VgLySXrNN0hG52PQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 6.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 16:44:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:48 +0530 Completed 200 OK in 66ms (Views: 64.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 16:44:49 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:44:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:03 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 16:45:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9fPwdJzaDe9lBU3OEXatZmPjZtZJ3TgJV8PNaNLa0WT9fNvbo6SgbUB3/efwwWZWmWulYkDrYNQJwJOFxa4NrA==", "long_url"=>"rtrtrrtrt", "domain"=>"p[psoc", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e38d2"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "rtrtrrtrt"], ["LIMIT", 1]]
↳ app/models/url.rb:12
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "rtrtrrtrt"], ["short_url", "https://www.vg.sw.n/e38d2"], ["domain", "p[psoc"]]
↳ app/models/url.rb:12
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:12
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "rtrtrrtrt"], ["LIMIT", 1]]
↳ app/models/url.rb:19

Completed 500 Internal Server Error in 18ms (ActiveRecord: 5.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:22:in `rescue in shorten_url' app/models/url.rb:5:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:24 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:45:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:24 +0530

 (6.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 16:46:25 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (5.7ms)

Completed 200 OK in 357ms (Views: 354.5ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:33 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 16:46:34 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rz2nnBgzLFq5Ire4+IDb0oFsEa7UDVYaEPE1Yhmdoul1HGtd8gALDppCvOGFRNrnVaj+LHTKJ25EtS8MDpNOVw==", "long_url"=>"ttttt", "domain"=>"t", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6cee4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "ttttt"], ["LIMIT", 1]]
↳ app/models/url.rb:12
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "ttttt"], ["short_url", "https://www.vg.sw.n/6cee4"], ["domain", "t"]]
↳ app/models/url.rb:12
 (6.2ms)  COMMIT
↳ app/models/url.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=t&long_url=ttttt&short_url=https%3A%2F%2Fwww.vg.sw.n%2F6cee4 Completed 200 OK in 27ms (ActiveRecord: 11.4ms)

Started GET “/urls/show?Status=Success&domain=t&long_url=ttttt&short_url=https%3A%2F%2Fwww.vg.sw.n%2F6cee4” for 127.0.0.1 at 2019-01-22 16:46:34 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"t", "long_url"=>"ttttt", "short_url"=>"https://www.vg.sw.n/6cee4"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)
Report Load (2.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 28], ["id", 2]]
↳ app/workers/url_worker.rb:12
 (1.0ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 60ms (Views: 56.9ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-22 16:46:37 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 16:46:37 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:46:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:47:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:48:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:04 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:19 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:34 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:49:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:50:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:50:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:50:14 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:50:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:50:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:50:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:50:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:50:59 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:04 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 16:51:07 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-22 16:51:07 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:12 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:17 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:22 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:27 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:32 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:37 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:42 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:47 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:52 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:51:57 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:02 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:07 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:12 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:17 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:52:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:53:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:54:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:55:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:38 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:48 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:53 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:56:58 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:57:03 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:57:08 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:57:13 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:57:18 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:57:23 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:57:28 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 16:57:33 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:14:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:14:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:01 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:11 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:21 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:15:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:21 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:31 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:46 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:16:56 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:01 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:16 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:36 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:46 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:17:56 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:18:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:01 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:16 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:19:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:36 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:20:46 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:21:16 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:21:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:21:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:21:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:21:36 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:21:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:21:46 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:21:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:21:56 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:01 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:11 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:40 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:46 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:22:56 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:06 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:11 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:16 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:21 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:30 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:36 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:46 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:23:56 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:24:01 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:24:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:24:11 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:24:16 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:24:21 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:24:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:24:31 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:24:36 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:24:40 +0530 Started GET “/short-url/?short_url=ahjfkba” for 127.0.0.1 at 2019-01-22 17:43:03 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"ahjfkba"}
Url Load (1.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/ahjfkba"], ["LIMIT", 1]]
↳ app/models/url.rb:41

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.4ms)

Started GET “/” for 127.0.0.1 at 2019-01-22 17:50:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 79ms (Views: 76.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-22 17:52:34 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.5ms)

Completed 200 OK in 91ms (Views: 88.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-22 17:52:35 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"15MO9S74XQwDt3evMiAYgg+9WBik0xazcisG+HNFRr92j0qoyP0NDPEhvAQsBArpERq3KktgKocpsWAa6CcfyA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 17ms (ActiveRecord: 6.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 17:52:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 77ms (Views: 75.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-22 17:52:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 81ms (Views: 77.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-22 17:52:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SFZBGJR1ud6HoG1jK7vkbm7qyksyCL4lD6j42c+nNWRA2Wq3qwsUXKLS3UrKDC9elGIJ/zs+5vhRq6Y02NPprA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:12
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["short_url", "https://www.vg.sw.n/8f876"], ["domain", "guides"]]
↳ app/models/url.rb:12
 (6.3ms)  COMMIT
↳ app/models/url.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 19ms (ActiveRecord: 9.3ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-22 17:52:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)
Report Load (1.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-22"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-22"], ["id", 2], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 29], ["id", 2]]
↳ app/workers/url_worker.rb:12
 (0.5ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 78ms (Views: 76.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-22 17:52:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 66ms (Views: 61.6ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-22 17:52:43 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-22 17:52:43 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-22 17:52:43 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:52:50 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:52:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:00 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:06 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:10 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:16 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:20 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:25 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:31 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:53:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:01 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:05 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:11 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:15 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:21 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:26 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:31 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:35 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:41 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:45 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:51 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:54:55 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-22 17:55:00 +0530 Started GET “/” for 127.0.0.1 at 2019-01-23 10:15:03 +0530

 (2.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 388ms (Views: 382.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:15:05 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (12.3ms)

Completed 200 OK in 62ms (Views: 60.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:15:07 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"twIXmAuO+dJG5LRSgAvnj3NuubpK5DBNloQl8embBkaymVSJNyD+hzMsOuFdxZ4sZZBB5Mh1bUDcyRmNtJ7QQQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/user.rb:25: syntax error, unexpected end, expecting end-of-input):

app/models/user.rb:25: syntax error, unexpected end, expecting end-of-input app/controllers/users_controller.rb:55:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:16:36 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"twIXmAuO+dJG5LRSgAvnj3NuubpK5DBNloQl8embBkaymVSJNyD+hzMsOuFdxZ4sZZBB5Mh1bUDcyRmNtJ7QQQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
User Load (26.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/users_controller.rb:55

Redirected to localhost:3000/home/index Completed 200 OK in 73ms (ActiveRecord: 59.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:16:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 69ms (Views: 66.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 10:16:40 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 10:16:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xiVezXX9bVR/fZx55vwLfVKLB9K9Sv90jKXB3ArKCUew1oAzIrvMzAH0CoMvXJ9dpvSP25VlEYQNMZR50ZXBIw==", "long_url"=>"www.google.com", "domain"=>"adn", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (20.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0a137"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:12
Url Create (3.7ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "www.google.com"], ["short_url", "https://www.vg.sw.n/0a137"], ["domain", "adn"]]
↳ app/models/url.rb:12
 (17.7ms)  COMMIT
↳ app/models/url.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=adn&long_url=www.google.com&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0a137 Completed 200 OK in 60ms (ActiveRecord: 45.7ms)

Started GET “/urls/show?Status=Success&domain=adn&long_url=www.google.com&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0a137” for 127.0.0.1 at 2019-01-23 10:16:49 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"adn", "long_url"=>"www.google.com", "short_url"=>"https://www.vg.sw.n/0a137"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 65ms (Views: 62.3ms | ActiveRecord: 0.0ms)

Report Load (1.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Create (1.7ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-23"], ["no_of_urls", 1]]
↳ app/workers/url_worker.rb:14
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:14

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:16:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 67ms (Views: 65.3ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:16:56 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (2.0ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (19.7ms)

Completed 200 OK in 62ms (Views: 44.6ms | ActiveRecord: 13.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:16:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 97ms (Views: 95.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 10:17:43 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 63ms (Views: 61.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 10:17:45 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/8udoFSUGcDzEk+m3EMXGd+fzn77wuPyfy5q0MkwhHzOeVcAzEDkFPeo9xHzr3ccs5bggPJjtB4FMlIBP8qtHA==", "short_url"=>"dsfvfdsa", "commit"=>"Generate Short Url"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/dsfvfdsa"], ["LIMIT", 1]]
↳ app/models/url.rb:41

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 7ms (ActiveRecord: 0.6ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 10:17:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 51ms (Views: 48.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:17:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 52ms (Views: 49.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 10:17:48 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.7ms)

Completed 200 OK in 63ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 10:17:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Sxg5zY/7LNr9MzJI4XzWRIajjhneTfo3afXhF6WQgww96+cz2L2NQoO6pLIo3EJkctwGEPZiFMfoYbSyfs9LaA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:12
 (6.1ms)  ROLLBACK
↳ app/models/url.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 19ms (ActiveRecord: 6.8ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-23 10:17:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 79ms (Views: 75.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:17:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 58ms (Views: 56.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 10:17:57 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (3.3ms)

Completed 200 OK in 66ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 10:18:04 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LRr+wW5mT9tk/JPg80V0PKXfercw62wMGfAeHlpY4TQcqDRh9rKyD2BGK1fcqRQ5ydZUSTlKO+Bj7CbPrKLIVA==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/models/url.rb:41

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-23 10:18:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 53ms (Views: 51.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:18:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 54ms (Views: 52.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 10:18:16 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:18:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 65ms (Views: 63.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-23 10:22:53 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/users_controller.rb:101: syntax error, unexpected end-of-input, expecting end):

app/controllers/users_controller.rb:101: syntax error, unexpected end-of-input, expecting end Started GET “/users/signup” for 127.0.0.1 at 2019-01-23 10:23:28 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (1.6ms)

Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-23 10:23:46 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oyKH3m9atLsCHvvnOBQTaHonrNv5lac0eecfw4pTSUF0I0VD5O2sgC5BPe8ti2habQA4KwDhW1sxvUqFbdN5jw==", "username"=>"vipul", "email"=>"bishoo19127@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :authenticity_token, :confirm_password, :commit

 (0.2ms)  BEGIN
↳ app/models/user.rb:12
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "bishoo19127@gmail.com"], ["LIMIT", 1]]
↳ app/models/user.rb:12
 (0.2ms)  ROLLBACK
↳ app/models/user.rb:12

Redirected to localhost:3000/home/index Completed 200 OK in 19ms (ActiveRecord: 5.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:23:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 69.8ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-23 10:23:54 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (6.6ms)

Completed 200 OK in 59ms (Views: 56.5ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-23 10:24:06 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7O1zGn/aieJkH97tp1HGBPd3ZWsEAxkh1mmXH+x28yHXfAjRohmeXk+jkY6/m3eq5DoGmKSJdqz1MIqmiFQZPg==", "username"=>"vipul", "email"=>"qazmyntra1@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :authenticity_token, :confirm_password, :commit

 (0.1ms)  BEGIN
↳ app/models/user.rb:12
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "qazmyntra1@gmail.com"], ["LIMIT", 1]]
↳ app/models/user.rb:12
 (0.2ms)  ROLLBACK
↳ app/models/user.rb:12

Redirected to localhost:3000/home/index Completed 200 OK in 4ms (ActiveRecord: 0.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:24:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 44ms (Views: 42.2ms | ActiveRecord: 0.0ms)

User Exists (0.4ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (0.4ms)  SELECT "users".* FROM "users"

Started GET “/users/signup” for 127.0.0.1 at 2019-01-23 10:25:13 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (1.3ms)

Completed 200 OK in 42ms (Views: 40.6ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-23 10:25:30 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"enWQ2xruNAc82QkSXBCH6cMgydcINxfUp7kesqb6ZNlB5OsQxy0juxdlRnFE2jZH0G2qJKi9eFmE4AMLwtiOxg==", "username"=>"vipul", "email"=>"iit@c.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :authenticity_token, :confirm_password, :commit

 (0.1ms)  BEGIN
↳ app/models/user.rb:12
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "iit@c.com"], ["LIMIT", 1]]
↳ app/models/user.rb:12
User Create (7.0ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "vipul"], ["email", "iit@c.com"], ["password", "09cd426c5c8c1d706d88157c4f4061ff"]]
↳ app/models/user.rb:12
 (0.3ms)  COMMIT
↳ app/models/user.rb:12

Completed 500 Internal Server Error in 23ms (ActiveRecord: 11.9ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/users_controller.rb:30:in `create_user' Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-23 10:29:59 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"enWQ2xruNAc82QkSXBCH6cMgydcINxfUp7kesqb6ZNlB5OsQxy0juxdlRnFE2jZH0G2qJKi9eFmE4AMLwtiOxg==", "username"=>"vipul", "email"=>"iit@c.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :authenticity_token, :confirm_password, :commit

 (0.1ms)  BEGIN
↳ app/models/user.rb:12
User Exists (0.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "iit@c.com"], ["LIMIT", 1]]
↳ app/models/user.rb:12
 (0.2ms)  ROLLBACK
↳ app/models/user.rb:12

Redirected to localhost:3000/home/index Completed 200 OK in 36ms (ActiveRecord: 3.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:29:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 70ms (Views: 68.7ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-23 10:30:00 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (5.8ms)

Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-23 10:30:17 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ArjC5qfytyONuOUYilNoJx8OQ3Jy8C7eKUHw33PbzCU5KbktejGgn6YEqnuSmdmJDEMggdJ6QVMKGO1mF/kmOg==", "username"=>"vipul", "email"=>"da@kfj.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :authenticity_token, :confirm_password, :commit

 (0.1ms)  BEGIN
↳ app/models/user.rb:12
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "da@kfj.com"], ["LIMIT", 1]]
↳ app/models/user.rb:12
User Create (0.3ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "vipul"], ["email", "da@kfj.com"], ["password", "09cd426c5c8c1d706d88157c4f4061ff"]]
↳ app/models/user.rb:12
 (6.2ms)  COMMIT
↳ app/models/user.rb:12

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 6.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:30:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 58ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 10:30:23 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:30:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 40ms (Views: 38.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:42:36 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 41ms (Views: 39.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:42:37 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ycH41VkFthLO3pdlupndyejvFXCrIwFQA6JDp9Ycd87MWrvEZauxR7sWGdZnV6Rq/hHtLimyXF1J73/bixmhyQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Completed 500 Internal Server Error in 17ms (ActiveRecord: 5.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/users_controller.rb:68:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:43:42 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ycH41VkFthLO3pdlupndyejvFXCrIwFQA6JDp9Ycd87MWrvEZauxR7sWGdZnV6Rq/hHtLimyXF1J73/bixmhyQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 4.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:43:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (4.6ms)

Completed 200 OK in 71ms (Views: 66.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:44:28 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.2ms)

Completed 200 OK in 65ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:44:29 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oyTyzwFIzibOM8soI9lWKZnJhy5sxOdI7sERprMjt06mv7HePebJc7v7RZv+Fy+Kjzd/cO5VukWkjC3a7iZhSQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:44:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 66ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:45:08 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:45:09 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"r3tqMoI93t/3u/CGBvS8DRbtpufy5x7aF0Un3jFK3Buq4CkjvpPZioJzfjXbOsWuABNeuXB2Q9ddCBuibE8KHA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 4.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:45:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 52ms (Views: 49.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:46:14 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (23.2ms)

Completed 200 OK in 66ms (Views: 65.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:46:15 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kXSp4pIY4i/nz1tSP234zUZa+f9qK7Zn5JlF3aTSs5qU7+rzrrblepIH1eHio4FuUKQBoei662qu1Hmh+ddlnQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Completed 500 Internal Server Error in 20ms (ActiveRecord: 3.9ms)

NameError (undefined local variable or method `session' for #<Class:0x00007fe6866b2fc8>):

app/models/user.rb:27:in `login' app/controllers/users_controller.rb:60:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:48:35 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kXSp4pIY4i/nz1tSP234zUZa+f9qK7Zn5JlF3aTSs5qU7+rzrrblepIH1eHio4FuUKQBoei662qu1Hmh+ddlnQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 2.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:48:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 57ms (Views: 54.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:50:23 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:50:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 67ms (Views: 66.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 10:50:25 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:50:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 56ms (Views: 54.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:50:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 69ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:50:28 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gyPyoT4HpRZfU8fJLafkijtuW18Wm5pmF2lGIBIfsyCGuLGwAqmiQyqbSXrwaZ0pLZCjAZQKx2tdJHpcTxplJw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:50:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 56ms (Views: 53.9ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:50:30 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 58ms (Views: 54.7ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:50:31 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 85ms (Views: 84.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 10:50:53 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:50:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:50:53 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.4ms)

Completed 200 OK in 64ms (Views: 63.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:50:55 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"N7wfSPhGanPVa9yRnR0XgbaHCFIUv9wdlyBCSscWAHMyJ1xZxOhtJqCjUiJA024ioHnwDJYugRDdbX42mhPWdA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:50:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 61ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:51:00 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.2ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:51:00 +0530 Completed 200 OK in 120ms (Views: 119.3ms | ActiveRecord: 0.0ms)

Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 51ms (Views: 49.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 10:51:25 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.8ms)

Completed 200 OK in 49ms (Views: 47.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:51:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 70ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 10:51:28 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.4ms)

Completed 200 OK in 69ms (Views: 68.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:51:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 89ms (Views: 87.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 10:51:30 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.9ms)

Completed 200 OK in 67ms (Views: 64.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:51:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 74ms (Views: 71.6ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:51:32 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 67ms (Views: 65.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:51:34 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 54ms (Views: 53.4ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:53:08 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 60ms (Views: 59.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:53:44 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 38ms (Views: 37.5ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:53:54 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 41ms (Views: 40.3ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:54:23 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 48ms (Views: 46.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 10:54:29 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:54:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 44ms (Views: 42.1ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:54:33 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (32.1ms)

Completed 200 OK in 82ms (Views: 80.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:55:32 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.2ms)

Completed 200 OK in 39ms (Views: 38.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:55:33 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"842lW8Toiw9lonHUbJ/LHzlWNcOK9HSF56h6aT9rOir2FuZK+EaMWhBq/2exUbK8L6jNnQhlKYit5UYVYm7sLQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 6.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:55:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 62ms (Views: 60.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:55:34 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.4ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (24.5ms)

Completed 200 OK in 85ms (Views: 72.0ms | ActiveRecord: 9.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:55:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 97ms (Views: 95.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 10:55:36 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:55:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 59ms (Views: 56.3ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:55:41 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 56ms (Views: 55.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:55:42 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 61ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:55:43 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ulo2G7Ab3xp5DykJdSnPI221hl0GdI3mN8skyYhmdeFXwXUKjLXYTwzHp7qo57aAe0t+A4Tl0Ot9hhi11WOj5g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 5ms (ActiveRecord: 0.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:55:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 82ms (Views: 74.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:58:57 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 362ms (Views: 357.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 10:58:59 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:58:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 47ms (Views: 45.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 10:59:00 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (9.4ms)

Completed 200 OK in 82ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 10:59:01 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"b3w6D9nIccdGMTT93NreUN+sgb5xOvenuNKMWLIZBuxq53ke5WZ2kjP5uk4BFKfzyVJ54POrqqryn7Ak7xzQ6w==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 21ms (ActiveRecord: 7.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:59:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (5.1ms)

Completed 200 OK in 116ms (Views: 114.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 10:59:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.4ms)

Completed 200 OK in 90ms (Views: 87.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 10:59:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QZbUkfynbPPelrrS+SsZeBTJbZC53FntNsmoa6GKB743ZQpvq+HNa6AfLCgwi41Y4LblmZHztx23Xf3OetXP2g==", "long_url"=>"https://\\.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"dsd", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "922b8"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.2ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://\\.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:12
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://\\.youtube.com/watch?v=4HRC6c5-2lQ"], ["short_url", "https://www.vg.sw.n/922b8"], ["domain", "dsd"]]
↳ app/models/url.rb:12
 (5.7ms)  COMMIT
↳ app/models/url.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=dsd&long_url=https%3A%2F%2F%5C.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F922b8 Completed 200 OK in 29ms (ActiveRecord: 10.5ms)

Started GET “/urls/show?Status=Success&domain=dsd&long_url=https%3A%2F%2F%5C.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F922b8” for 127.0.0.1 at 2019-01-23 10:59:07 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"dsd", "long_url"=>"https://\\.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/922b8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.8ms)
Report Load (1.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 2], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 59ms (Views: 54.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:59:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 66ms (Views: 64.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 10:59:14 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.6ms)

Completed 200 OK in 55ms (Views: 53.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 10:59:16 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oAcNYok1qJ7Kqeqf8O2y1OlDRXHo5E3/9VeXu0nYSfaRtcfCEeFVSs4TUijfAdLRhUprj+FFGhOPS69qvyJglg==", "short_url"=>" https://www.vg.sw.n/922b8", "commit"=>"Generate Short Url"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/ https://www.vg.sw.n/922b8"], ["LIMIT", 1]]
↳ app/models/url.rb:41

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 7ms (ActiveRecord: 0.6ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 10:59:16 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 50ms (Views: 47.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:59:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 84ms (Views: 82.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 10:59:19 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 65ms (Views: 63.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 10:59:26 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WdUTgS7N4gPrTGp1cj4VFKt4+R+A9Q98EBzzE7d5B49oZ9khthkf1+/20sJd0nURx3HX4YlUWJBqAMvCQYMu7w==", "short_url"=>" https://www.vg.sw.n/922b8", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 10:59:26 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 62ms (Views: 57.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:59:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 10:59:30 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.7ms)

Completed 200 OK in 69ms (Views: 67.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 10:59:38 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3RWOLikibu6R4Ahk5tEA5tneyxQr/xcvETZexdn3tPnsp0SOsfaTOpVasNPJPWDjtdfl6iJeQMNrKmYULw2dmQ==", "short_url"=>"https://www.vg.sw.n/922b8", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/922b8"], ["LIMIT", 1]]
↳ app/models/url.rb:41

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=dsd&long_url=https%3A%2F%2F%5C.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F922b8 Completed 200 OK in 4ms (ActiveRecord: 0.4ms)

Started GET “/urls/show?Status=OK+%21&domain=dsd&long_url=https%3A%2F%2F%5C.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F922b8” for 127.0.0.1 at 2019-01-23 10:59:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"dsd", "long_url"=>"https://\\.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/922b8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 89ms (Views: 85.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:59:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 59ms (Views: 57.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 10:59:41 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (2.1ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (9.1ms)

Completed 200 OK in 65ms (Views: 45.3ms | ActiveRecord: 4.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:59:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 71ms (Views: 69.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 10:59:43 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 67ms (Views: 65.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 10:59:47 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7tivMxC2YbvOYy88R3eQh0Mr+Xm9H3AXzoTlr/8YDuOYK3HNR/DAI7DqucaO1wSnt1RxcJUwnudPELAKJEfGhw==", "long_url"=>"qqqq", "domain"=>"qw", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3bad6"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:78
 (0.1ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:12
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "qqqq"], ["short_url", "https://www.vg.sw.n/3bad6"], ["domain", "qw"]]
↳ app/models/url.rb:12
Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.3ms)  BEGIN
↳ app/workers/url_worker.rb:12
 (5.6ms)  COMMIT
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/models/url.rb:12
↳ app/workers/url_worker.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=qw&long_url=qqqq&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3bad6 Completed 200 OK in 12ms (ActiveRecord: 6.5ms)

Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 3], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.2ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=qw&long_url=qqqq&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3bad6” for 127.0.0.1 at 2019-01-23 10:59:47 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"qw", "long_url"=>"qqqq", "short_url"=>"https://www.vg.sw.n/3bad6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 53ms (Views: 51.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:59:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 74ms (Views: 71.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 10:59:54 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.5ms)

Completed 200 OK in 73ms (Views: 69.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 10:59:57 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"adhCb97z3YtXIkmwo36liIPCD0jSCfeqx0eunWdZqZtYaojPRicgX1OY8QeMksWN78shttuooEa9W5ZMkaOA+w==", "short_url"=>"3bd6", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/3bd6"], ["LIMIT", 1]]
↳ app/models/url.rb:41

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 10:59:57 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 10:59:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 59ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 11:00:00 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.5ms)

Completed 200 OK in 60ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 11:00:05 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"k8P6/r++f3sfmy1ynva4Mft7XROcANSumNJ6zDqIkAuicTBeJ2qCrxshlcWxGtg0l3Jz7ZWhg0LizkIdzHK5aw==", "short_url"=>"3bad6", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/3bad6"], ["LIMIT", 1]]
↳ app/models/url.rb:41

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=qw&long_url=qqqq&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3bad6 Completed 200 OK in 4ms (ActiveRecord: 0.5ms)

Started GET “/urls/show?Status=OK+%21&domain=qw&long_url=qqqq&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3bad6” for 127.0.0.1 at 2019-01-23 11:00:05 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"qw", "long_url"=>"qqqq", "short_url"=>"https://www.vg.sw.n/3bad6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 89ms (Views: 87.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:00:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 53ms (Views: 50.5ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 11:00:08 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.2ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (3.4ms)

Completed 200 OK in 53ms (Views: 49.8ms | ActiveRecord: 1.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:00:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 65ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 11:00:11 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:00:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 55ms (Views: 53.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:01:18 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 303ms (Views: 298.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:11:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 58ms (Views: 57.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 11:11:20 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.3ms)

Completed 200 OK in 108ms (Views: 106.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 11:11:21 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aoljzZr/tgxlV21gLwPOe+ZIgqIrVSMnifwYrwrmtktvEiDcplGxWRCf49PyzbfY8LZ6/KnEfirDsSTTV+NgTA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 21ms (ActiveRecord: 5.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:11:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 90ms (Views: 87.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 11:11:22 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.6ms)

Completed 200 OK in 66ms (Views: 63.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 11:11:24 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IjL6OmHWrdMx9MuGciriFG2ybIXidRidI8E4F5bJH40TgDCa+QJQBzVOczFdxoIRAbtCe+vUT3FZ3QDGYDM27Q==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/models/url.rb:41

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 14ms (ActiveRecord: 3.0ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-23 11:11:24 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (3.6ms)

Completed 200 OK in 63ms (Views: 60.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:11:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 57ms (Views: 55.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 11:11:28 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.9ms)

Completed 200 OK in 71ms (Views: 68.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 11:11:30 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/3IZlofuA1DpKjTPV+hxy5kiZRGPZWodCqj8vz2on2LOwNM2Hzr+hO2QjHh4BBHO9StL74bEPfFwtMRuy1K2Ag==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-23 11:11:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 85ms (Views: 83.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:11:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 62.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:11:33 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 58ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:11:36 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8QfeVxRRBaFEZ/JVn87dNGLZGnds/3C1Bm7x1zAsFv6H9ACpQxekOTruZK9WbkkUlqaSfkTQnkWH+qRy63Pemg==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:12
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 10ms (ActiveRecord: 1.1ms)

Started GET “/urls/show?Status=Success&domain=a&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-23 11:11:36 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"a", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 48.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:11:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:11:39 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 65ms (Views: 63.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:11:44 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SrghbIkxs1aPv4C6mlSEXyGv3/lvZhoj04xW5ZFVAws8S/+S3ncSzvE2FkBT9BB/1dBX8EdJ9NNSGANASgrLbw==", "long_url"=>"asa", "domain"=>"sd", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "45739"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "asa"], ["LIMIT", 1]]
↳ app/models/url.rb:12
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "asa"], ["short_url", "https://www.vg.sw.n/45739"], ["domain", "sd"]]
↳ app/models/url.rb:12
 (0.5ms)  COMMIT
↳ app/models/url.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=sd&long_url=asa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F45739 Completed 200 OK in 32ms (ActiveRecord: 1.7ms)

Started GET “/urls/show?Status=Success&domain=sd&long_url=asa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F45739” for 127.0.0.1 at 2019-01-23 11:11:44 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"sd", "long_url"=>"asa", "short_url"=>"https://www.vg.sw.n/45739"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9

Completed 200 OK in 59ms (Views: 57.6ms | ActiveRecord: 0.0ms)

CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (1.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 4], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.2ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:11:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 54ms (Views: 52.1ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 11:11:47 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.7ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (22.6ms)

Completed 200 OK in 73ms (Views: 53.2ms | ActiveRecord: 16.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:11:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 60ms (Views: 58.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 11:11:50 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:11:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 60ms (Views: 57.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 11:23:02 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.2ms)

Completed 200 OK in 39ms (Views: 37.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 11:23:03 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IaYPVLl8t9vy2FY9PXRaZXYJZt0ACl+CMIKJ5E20i50kPUxFhdKwjocQ2I7guiPGYPeeg4KbAo96z7WYELFdmg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 7.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:23:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 68ms (Views: 66.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:23:03 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 60ms (Views: 56.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:23:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CBxeCXO/KsTsLniTQSRxs/G4C2SLcfTYdshP3mc+cSp+74D3JPmLXJKn7mmIhOWTBceDbaNeGij3XBp7vGG5Tg==", "long_url"=>"qwd", "domain"=>"qew", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

ArgumentError (The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use A and z, or forgot to add the :multiline => true option?):

app/models/url.rb:3:in `<class:Url>' app/models/url.rb:1:in `<main>' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:23:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CBxeCXO/KsTsLniTQSRxs/G4C2SLcfTYdshP3mc+cSp+74D3JPmLXJKn7mmIhOWTBceDbaNeGij3XBp7vGG5Tg==", "long_url"=>"qwd", "domain"=>"qew", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

ArgumentError (The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use A and z, or forgot to add the :multiline => true option?):

app/models/url.rb:3:in `<class:Url>' app/models/url.rb:1:in `<main>' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:24:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CBxeCXO/KsTsLniTQSRxs/G4C2SLcfTYdshP3mc+cSp+74D3JPmLXJKn7mmIhOWTBceDbaNeGij3XBp7vGG5Tg==", "long_url"=>"qwd", "domain"=>"qew", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "02fcd"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (1.2ms)  BEGIN
↳ app/models/url.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qwd"], ["LIMIT", 1]]
↳ app/models/url.rb:13
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=qew&long_url=qwd&short_url=https%3A%2F%2Fwww.vg.sw.n%2F02fcd Completed 200 OK in 22ms (ActiveRecord: 6.0ms)

Started GET “/urls/show?Status=Success&domain=qew&long_url=qwd&short_url=https%3A%2F%2Fwww.vg.sw.n%2F02fcd” for 127.0.0.1 at 2019-01-23 11:24:11 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"qew", "long_url"=>"qwd", "short_url"=>"https://www.vg.sw.n/02fcd"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 56ms (Views: 54.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:24:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 59ms (Views: 57.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:24:47 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 70ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:24:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"58XoeDxkwg1wbq9yfmda4OcaK6dxcAxEHtAfmw1JSJ+RNjaGayJjlQ7nOYi3x87AE2Wjrllf4rSfREo+1haA+w==", "long_url"=>"efdadsa", "domain"=>"adss", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2c5de"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.2ms)  BEGIN
↳ app/models/url.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "efdadsa"], ["LIMIT", 1]]
↳ app/models/url.rb:13
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "efdadsa"], ["LIMIT", 1]]
↳ app/models/url.rb:20

Completed 500 Internal Server Error in 22ms (ActiveRecord: 5.3ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:13:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:37:13 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"58XoeDxkwg1wbq9yfmda4OcaK6dxcAxEHtAfmw1JSJ+RNjaGayJjlQ7nOYi3x87AE2Wjrllf4rSfREo+1haA+w==", "long_url"=>"efdadsa", "domain"=>"adss", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:3: syntax error, unexpected ':', expecting end …url , :with => //^(http|https)://+([-.]{1}[a-z0-… … ^):

app/models/url.rb:3: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:37:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"58XoeDxkwg1wbq9yfmda4OcaK6dxcAxEHtAfmw1JSJ+RNjaGayJjlQ7nOYi3x87AE2Wjrllf4rSfREo+1haA+w==", "long_url"=>"efdadsa", "domain"=>"adss", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:3: syntax error, unexpected backslash, expecting end …url , :with => //^(http|https)://+([-.]{1}[a-z0… … ^):

app/models/url.rb:3: syntax error, unexpected backslash, expecting end app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:38:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"58XoeDxkwg1wbq9yfmda4OcaK6dxcAxEHtAfmw1JSJ+RNjaGayJjlQ7nOYi3x87AE2Wjrllf4rSfREo+1haA+w==", "long_url"=>"efdadsa", "domain"=>"adss", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

ArgumentError (The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use A and z, or forgot to add the :multiline => true option?):

app/models/url.rb:3:in `<class:Url>' app/models/url.rb:1:in `<main>' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:38:16 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"58XoeDxkwg1wbq9yfmda4OcaK6dxcAxEHtAfmw1JSJ+RNjaGayJjlQ7nOYi3x87AE2Wjrllf4rSfREo+1haA+w==", "long_url"=>"efdadsa", "domain"=>"adss", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:3: syntax error, unexpected '^' …ormat_of :long_url , :with => ^[a-z0-9]+([-.]{1}+)… … ^ /Users/vipul/Intern/Url_Shortner/app/models/url.rb:3: syntax error, unexpected backslash, expecting ']' …ng_url , :with => ^[a-z0-9]+([-.]{1}+)*.[a-z]2,5… … ^ /Users/vipul/Intern/Url_Shortner/app/models/url.rb:3: syntax error, unexpected ‘]’, expecting ‘)’ …=> ^[a-z0-9]+([-.]{1+)*.[a-z]2,5}$ … ^ /Users/vipul/Intern/Url_Shortner/app/models/url.rb:3: syntax error, unexpected ‘]’, expecting ‘)’ …9]+([-.]{1+)*.[a-z]{2,5}$ … ^ /Users/vipul/Intern/Url_Shortner/app/models/url.rb:3: `$' without identifiers is not allowed as a global variable name):

app/models/url.rb:3: syntax error, unexpected '^' app/models/url.rb:3: syntax error, unexpected backslash, expecting ']' app/models/url.rb:3: syntax error, unexpected ']', expecting ')' app/models/url.rb:3: syntax error, unexpected ']', expecting ')' app/models/url.rb:3: `$' without identifiers is not allowed as a global variable name app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:38:39 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"58XoeDxkwg1wbq9yfmda4OcaK6dxcAxEHtAfmw1JSJ+RNjaGayJjlQ7nOYi3x87AE2Wjrllf4rSfREo+1haA+w==", "long_url"=>"efdadsa", "domain"=>"adss", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2c5de"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.2ms)  BEGIN
↳ app/models/url.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "efdadsa"], ["LIMIT", 1]]
↳ app/models/url.rb:13
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "efdadsa"], ["LIMIT", 1]]
↳ app/models/url.rb:18

Completed 500 Internal Server Error in 20ms (ActiveRecord: 7.2ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:13:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:39:02 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"58XoeDxkwg1wbq9yfmda4OcaK6dxcAxEHtAfmw1JSJ+RNjaGayJjlQ7nOYi3x87AE2Wjrllf4rSfREo+1haA+w==", "long_url"=>"efdadsa", "domain"=>"adss", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2c5de"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:13
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "efdadsa"], ["LIMIT", 1]]
↳ app/models/url.rb:13
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=adss&long_url=efdadsa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F2c5de Completed 200 OK in 17ms (ActiveRecord: 4.5ms)

Started GET “/urls/show?Status=Success&domain=adss&long_url=efdadsa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F2c5de” for 127.0.0.1 at 2019-01-23 11:39:02 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"adss", "long_url"=>"efdadsa", "short_url"=>"https://www.vg.sw.n/2c5de"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 47ms (Views: 44.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:39:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 42ms (Views: 40.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:39:47 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 69ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:39:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rmew+0VBnbr6bi9ZQPWpnyG5QSrlUe6bN01lJXaTYlQwlG4FEgc8IoTnuaOJVT2/1cbJI81+AGu22TCArcyqMA==", "long_url"=>"vipumar", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "vipumar"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4f211"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (1.1ms)  BEGIN
↳ app/models/url.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "vipumar"], ["LIMIT", 1]]
↳ app/models/url.rb:13
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:13

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211 Completed 200 OK in 23ms (ActiveRecord: 5.8ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=vipumar&short_url=https%3A%2F%2Fwww.vg.sw.n%2F4f211” for 127.0.0.1 at 2019-01-23 11:39:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"vipumar", "short_url"=>"https://www.vg.sw.n/4f211"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 63ms (Views: 57.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:43:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 45ms (Views: 43.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:43:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.9ms)

Completed 200 OK in 99ms (Views: 96.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:43:08 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"t6eGmlH6iTNZ0CaejSDlmRSC8GXxP8afJ848gA3P5Q/BVFhkBrwoqydZsGREgHG54P14bNkQKG+mWmkl1pAtaw==", "long_url"=>"aaaaaaaa", "domain"=>"aa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3dbe0"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:14
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "aaaaaaaa"], ["LIMIT", 1]]
↳ app/models/url.rb:14
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=aa&long_url=aaaaaaaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3dbe0 Completed 200 OK in 19ms (ActiveRecord: 5.0ms)

Started GET “/urls/show?Status=Success&domain=aa&long_url=aaaaaaaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3dbe0” for 127.0.0.1 at 2019-01-23 11:43:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"aa", "long_url"=>"aaaaaaaa", "short_url"=>"https://www.vg.sw.n/3dbe0"}

Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:43:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 44ms (Views: 42.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 11:43:09 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 59ms (Views: 57.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 11:43:10 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q+GpbB8NbF12FTdY7bZRkYw7+HhG13GfBYrfa/Zkdi9Geup9I6NrCAPduesweCgymsUAJsRGLJJPx+MXq2GgKA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 17ms (ActiveRecord: 4.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:43:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 58ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:43:11 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 91ms (Views: 89.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:43:16 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V7FHlWDi11ZCJlkUpVfB61owTiIgO5OfQPqePeO3Q50hQplrN6R2zjyvz+5s91XLrk/GKwgUfW/BbsuYOOiL+Q==", "long_url"=>"aaaaaaaa", "domain"=>"aaaaa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3dbe0"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.4ms)  BEGIN
↳ app/models/url.rb:14
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "aaaaaaaa"], ["LIMIT", 1]]
↳ app/models/url.rb:14
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=aaaaa&long_url=aaaaaaaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3dbe0 Completed 200 OK in 8ms (ActiveRecord: 1.6ms)

Started GET “/urls/show?Status=Success&domain=aaaaa&long_url=aaaaaaaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F3dbe0” for 127.0.0.1 at 2019-01-23 11:43:16 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"aaaaa", "long_url"=>"aaaaaaaa", "short_url"=>"https://www.vg.sw.n/3dbe0"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 58ms (Views: 49.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:43:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 59ms (Views: 57.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:44:04 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 42ms (Views: 40.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:44:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"028G12CICyBQW/0Vxn7scc1ZQWmbYmNl5gRpP90kHAelnNgpN86quC7Sa+8P3nhROSbJYLNNjZVnkDyaBnvUYw==", "long_url"=>"sadasddsa", "domain"=>"asdasaas", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "dd73c"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.2ms)  BEGIN
↳ app/models/url.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sadasddsa"], ["LIMIT", 1]]
↳ app/models/url.rb:14
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=asdasaas&long_url=sadasddsa&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fdd73c Completed 200 OK in 18ms (ActiveRecord: 6.3ms)

Started GET “/urls/show?Status=Success&domain=asdasaas&long_url=sadasddsa&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fdd73c” for 127.0.0.1 at 2019-01-23 11:44:07 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"asdasaas", "long_url"=>"sadasddsa", "short_url"=>"https://www.vg.sw.n/dd73c"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 87ms (Views: 81.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:44:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 44ms (Views: 43.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:44:30 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 79ms (Views: 77.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:44:33 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"obH3Lt5S8bgg8KCUNMLm0kJYsjRdS6Yvp29hT/mC8FnXQinQiRRQIF55Nm79YnLytic6PXVkSN8m+zTqIt04PQ==", "long_url"=>"adadasdsads", "domain"=>"sadadad", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "adadasdsads"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6fab8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.2ms)  BEGIN
↳ app/models/url.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "adadasdsads"], ["LIMIT", 1]]
↳ app/models/url.rb:14
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=sadadad&long_url=adadasdsads&short_url=https%3A%2F%2Fwww.vg.sw.n%2F6fab8 Completed 200 OK in 19ms (ActiveRecord: 4.9ms)

Started GET “/urls/show?Status=Success&domain=sadadad&long_url=adadasdsads&short_url=https%3A%2F%2Fwww.vg.sw.n%2F6fab8” for 127.0.0.1 at 2019-01-23 11:44:33 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"sadadad", "long_url"=>"adadasdsads", "short_url"=>"https://www.vg.sw.n/6fab8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.3ms)

Completed 200 OK in 60ms (Views: 58.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:45:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 67ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:45:24 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (20.9ms)

Completed 200 OK in 80ms (Views: 78.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:45:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AfAOnylvlRrnW5zD2XrxAiQSDJh4fXRWj4dRGnDAlrR3A9Bhfik0gpnSCjkQ2mUi0G2EkVBSmqYOEwS/q59e0A==", "long_url"=>"asaa", "domain"=>"asdsa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "asaa"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (2.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "asaa"], ["LIMIT", 1]]
↳ app/models/url.rb:19

Completed 500 Internal Server Error in 22ms (ActiveRecord: 5.4ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:45:54 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AfAOnylvlRrnW5zD2XrxAiQSDJh4fXRWj4dRGnDAlrR3A9Bhfik0gpnSCjkQ2mUi0G2EkVBSmqYOEwS/q59e0A==", "long_url"=>"asaa", "domain"=>"asdsa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "asaa"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 500 Internal Server Error in 29ms (ActiveRecord: 7.0ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:49:17 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AfAOnylvlRrnW5zD2XrxAiQSDJh4fXRWj4dRGnDAlrR3A9Bhfik0gpnSCjkQ2mUi0G2EkVBSmqYOEwS/q59e0A==", "long_url"=>"asaa", "domain"=>"asdsa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "asaa"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 500 Internal Server Error in 16ms (ActiveRecord: 3.5ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:49:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AfAOnylvlRrnW5zD2XrxAiQSDJh4fXRWj4dRGnDAlrR3A9Bhfik0gpnSCjkQ2mUi0G2EkVBSmqYOEwS/q59e0A==", "long_url"=>"asaa", "domain"=>"asdsa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "asaa"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 500 Internal Server Error in 16ms (ActiveRecord: 4.0ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:6:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:50:03 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AfAOnylvlRrnW5zD2XrxAiQSDJh4fXRWj4dRGnDAlrR3A9Bhfik0gpnSCjkQ2mUi0G2EkVBSmqYOEwS/q59e0A==", "long_url"=>"asaa", "domain"=>"asdsa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "asaa"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 500 Internal Server Error in 15ms (ActiveRecord: 4.3ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:25:in `rescue in shorten_url' app/models/url.rb:6:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:50:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AfAOnylvlRrnW5zD2XrxAiQSDJh4fXRWj4dRGnDAlrR3A9Bhfik0gpnSCjkQ2mUi0G2EkVBSmqYOEwS/q59e0A==", "long_url"=>"asaa", "domain"=>"asdsa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 15ms (ActiveRecord: 3.1ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:25:in `rescue in shorten_url' app/models/url.rb:6:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:51:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AfAOnylvlRrnW5zD2XrxAiQSDJh4fXRWj4dRGnDAlrR3A9Bhfik0gpnSCjkQ2mUi0G2EkVBSmqYOEwS/q59e0A==", "long_url"=>"asaa", "domain"=>"asdsa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "43306"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.2ms)  BEGIN
↳ app/models/url.rb:14
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "asaa"], ["LIMIT", 1]]
↳ app/models/url.rb:14
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:14

Redirected to localhost:3000/urls/show?Status=Success&domain=asdsa&long_url=asaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F43306 Completed 200 OK in 15ms (ActiveRecord: 4.1ms)

Started GET “/urls/show?Status=Success&domain=asdsa&long_url=asaa&short_url=https%3A%2F%2Fwww.vg.sw.n%2F43306” for 127.0.0.1 at 2019-01-23 11:51:07 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"asdsa", "long_url"=>"asaa", "short_url"=>"https://www.vg.sw.n/43306"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 332ms (Views: 329.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:51:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 87ms (Views: 85.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:51:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (28.5ms)

Completed 200 OK in 81ms (Views: 79.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:51:42 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EetgzU0HctZJKwRw8ZGG9ZKT9yv2W6mOc03a8C0YftFnGL4zGkHTTjeikoo4MRLVZux/It50R37y2Y9V9ke2tQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRdC6c5-2lQssad", "domain"=>"sdad", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8adb6"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:14
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRdC6c5-2lQssad"], ["LIMIT", 1]]
↳ app/models/url.rb:14
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "short_url", "domain") VALUES ($1, $2, $3) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRdC6c5-2lQssad"], ["short_url", "https://www.vg.sw.n/8adb6"], ["domain", "sdad"]]
↳ app/models/url.rb:14
 (6.2ms)  COMMIT
↳ app/models/url.rb:14
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.youtube.com/watch?v=4HRdC6c5-2lQssad"], ["id", 263], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.2ms)  COMMIT
↳ app/models/url.rb:15
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRdC6c5-2lQssad"], ["LIMIT", 1]]
↳ app/models/url.rb:22

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=sdad&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRdC6c5-2lQssad&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8adb6 Completed 200 OK in 41ms (ActiveRecord: 12.4ms)

Started GET “/urls/show?Status=Already+Exists&domain=sdad&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRdC6c5-2lQssad&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8adb6” for 127.0.0.1 at 2019-01-23 11:51:42 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"sdad", "long_url"=>"https://www.youtube.com/watch?v=4HRdC6c5-2lQssad", "short_url"=>"https://www.vg.sw.n/8adb6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)
Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 5], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.1ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 64ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:51:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 80ms (Views: 77.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:51:46 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 70ms (Views: 66.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:51:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"paCOadrefN0eKa1T8xvSvzJ3PUhPWD+U4hrBPvEK5C7TU1CXjZjdRWCgO6k6u0afxgi1QWd30WRjjpSbKlUsSg==", "long_url"=>"sss", "domain"=>"ss", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9f6e6"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:14
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sss"], ["LIMIT", 1]]
↳ app/models/url.rb:14
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:14
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "sss"], ["LIMIT", 1]]
↳ app/models/url.rb:15
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=ss&long_url=sss&short_url=https%3A%2F%2Fwww.vg.sw.n%2F9f6e6 Completed 200 OK in 9ms (ActiveRecord: 1.5ms)

Started GET “/urls/show?Status=Success&domain=ss&long_url=sss&short_url=https%3A%2F%2Fwww.vg.sw.n%2F9f6e6” for 127.0.0.1 at 2019-01-23 11:51:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"ss", "long_url"=>"sss", "short_url"=>"https://www.vg.sw.n/9f6e6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.6ms)

Completed 200 OK in 56ms (Views: 54.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:52:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:52:47 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (13.5ms)

Completed 200 OK in 85ms (Views: 83.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:52:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J8iDkvpH8VYZkWoT9/NTEakG7fC/4eVnL3tx5j4k4ZpRO11srQFQzmcY/Ok+U8cxXXll+ZfOC5eu7yRD5Xsp/g==", "long_url"=>"qqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "qqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:22

Completed 500 Internal Server Error in 20ms (ActiveRecord: 4.0ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:55:09 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J8iDkvpH8VYZkWoT9/NTEakG7fC/4eVnL3tx5j4k4ZpRO11srQFQzmcY/Ok+U8cxXXll+ZfOC5eu7yRD5Xsp/g==", "long_url"=>"qqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 500 Internal Server Error in 16ms (ActiveRecord: 4.9ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:56:14 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J8iDkvpH8VYZkWoT9/NTEakG7fC/4eVnL3tx5j4k4ZpRO11srQFQzmcY/Ok+U8cxXXll+ZfOC5eu7yRD5Xsp/g==", "long_url"=>"qqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.2ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:56:34 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J8iDkvpH8VYZkWoT9/NTEakG7fC/4eVnL3tx5j4k4ZpRO11srQFQzmcY/Ok+U8cxXXll+ZfOC5eu7yRD5Xsp/g==", "long_url"=>"qqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.0ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:56:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J8iDkvpH8VYZkWoT9/NTEakG7fC/4eVnL3tx5j4k4ZpRO11srQFQzmcY/Ok+U8cxXXll+ZfOC5eu7yRD5Xsp/g==", "long_url"=>"qqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.6ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:57:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J8iDkvpH8VYZkWoT9/NTEakG7fC/4eVnL3tx5j4k4ZpRO11srQFQzmcY/Ok+U8cxXXll+ZfOC5eu7yRD5Xsp/g==", "long_url"=>"qqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 500 Internal Server Error in 15ms (ActiveRecord: 3.4ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:57:24 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J8iDkvpH8VYZkWoT9/NTEakG7fC/4eVnL3tx5j4k4ZpRO11srQFQzmcY/Ok+U8cxXXll+ZfOC5eu7yRD5Xsp/g==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:20

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 7ms (ActiveRecord: 1.1ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-23 11:57:24 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 108ms (Views: 106.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 11:58:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 49ms (Views: 48.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 11:58:38 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (7.0ms)

Completed 200 OK in 100ms (Views: 97.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 11:58:42 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jg2kEwdxZ8Y9Am0DyRAnPzAXqgEnVmG27+dfRYgkI3FQ/nrtUDfGXkOL+/kAsLMfxGgiCA95j0ZucwrgU3vrFQ==", "long_url"=>"qqqqqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qqqqqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (1.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "qqqqqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:19

Completed 500 Internal Server Error in 21ms (ActiveRecord: 6.9ms)

ActiveRecord::RecordInvalid (Validation failed: Long url is invalid):

app/models/url.rb:9:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:00:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jg2kEwdxZ8Y9Am0DyRAnPzAXqgEnVmG27+dfRYgkI3FQ/nrtUDfGXkOL+/kAsLMfxGgiCA95j0ZucwrgU3vrFQ==", "long_url"=>"qqqqqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:93: syntax error, unexpected end, expecting end-of-input):

app/models/url.rb:93: syntax error, unexpected end, expecting end-of-input app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:01:28 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jg2kEwdxZ8Y9Am0DyRAnPzAXqgEnVmG27+dfRYgkI3FQ/nrtUDfGXkOL+/kAsLMfxGgiCA95j0ZucwrgU3vrFQ==", "long_url"=>"qqqqqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:95: syntax error, unexpected end, expecting end-of-input):

app/models/url.rb:95: syntax error, unexpected end, expecting end-of-input app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:01:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jg2kEwdxZ8Y9Am0DyRAnPzAXqgEnVmG27+dfRYgkI3FQ/nrtUDfGXkOL+/kAsLMfxGgiCA95j0ZucwrgU3vrFQ==", "long_url"=>"qqqqqqqqq", "domain"=>"qqqq", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "qqqqqqqqq"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Redirected to localhost:3000/urls/show?Error=Enter+Valid+Url&Status=Error Completed 200 OK in 13ms (ActiveRecord: 3.0ms)

Started GET “/urls/show?Error=Enter+Valid+Url&Status=Error” for 127.0.0.1 at 2019-01-23 12:01:59 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Enter Valid Url", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 66ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:02:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 65ms (Views: 63.0ms | ActiveRecord: 0.0ms)

Started GET “/short-url/?short_url=ahjfkba” for 127.0.0.1 at 2019-01-23 12:02:50 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"ahjfkba"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/ahjfkba"], ["LIMIT", 1]]
↳ app/models/url.rb:45

Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.6ms)

Started GET “/short-url/?short_url=kasjdbhjsbaahjfkba” for 127.0.0.1 at 2019-01-23 12:02:58 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"kasjdbhjsbaahjfkba"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/kasjdbhjsbaahjfkba"], ["LIMIT", 1]]
↳ app/models/url.rb:45

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 12:03:33 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:03:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 57ms (Views: 53.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 12:03:35 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.4ms)

Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 12:03:36 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3el4gptOqbmBsyV4ErY5T6qNjJD9lK5DrF7qnacuSmvYcjuTp+Cu7PR7q8vPeEDsvHN0zn8F807mE9bh+iucbA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 24ms (ActiveRecord: 2.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:03:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 170ms (Views: 167.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 12:03:40 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 72ms (Views: 66.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:03:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"z8OmVvTTFz0jrS1606Z+R7P7BbN6xsd53DZClrjMSUq5MHioo5W2pV0ku4AaBupnR4SNulLpKYldohczY5OBLg==", "long_url"=>"https://stackoverflow.com/questions/1128168/validation-for-url-domain-using-regex-rails", "domain"=>"stackouver", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/1128168/validation-for-url-domain-using-regex-rails"], ["LIMIT", 1]]
↳ app/models/url.rb:9
Url Create (0.6ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/1128168/validation-for-url-domain-using-regex-rails"]]
↳ app/models/url.rb:9
 (6.0ms)  COMMIT
↳ app/models/url.rb:9
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b47f1"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51

Redirected to localhost:3000/urls/show?Status=Success&domain=stackouver&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1128168%2Fvalidation-for-url-domain-using-regex-rails&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fb47f1 Completed 200 OK in 21ms (ActiveRecord: 7.4ms)

Started GET “/urls/show?Status=Success&domain=stackouver&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1128168%2Fvalidation-for-url-domain-using-regex-rails&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fb47f1” for 127.0.0.1 at 2019-01-23 12:03:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"stackouver", "long_url"=>"https://stackoverflow.com/questions/1128168/validation-for-url-domain-using-regex-rails", "short_url"=>"https://www.vg.sw.n/b47f1"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12

Completed 200 OK in 73ms (Views: 69.9ms | ActiveRecord: 0.0ms)

Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 6], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.4ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:03:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 85ms (Views: 83.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 12:03:49 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.8ms)

Completed 200 OK in 70ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:03:57 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LdQtcqLwgDpfmCaTAdrBadDzgPjILnuYk+qu2/iezElbJ/OM9bYhoiERsGnIelVJJIwI8eABlWgSfvt+I8EELQ==", "long_url"=>"www.google.com", "domain"=>"sdfs", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "www.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:23

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=adn&long_url=www.google.com&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0a137 Completed 200 OK in 8ms (ActiveRecord: 1.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=adn&long_url=www.google.com&short_url=https%3A%2F%2Fwww.vg.sw.n%2F0a137” for 127.0.0.1 at 2019-01-23 12:03:57 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"adn", "long_url"=>"www.google.com", "short_url"=>"https://www.vg.sw.n/0a137"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 55ms (Views: 52.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:03:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 75ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 12:03:59 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 68ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:04:05 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mWxkVJgldvSxL/hOkSj2v6TyjRK1PY29+6vgDKu3E7rvn7qqz2PXbM+mbrRYiGKfUI0FG50SY016P7WpcOjb3g==", "long_url"=>"google.cooom", "domain"=>"sa", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "google.cooom"], ["LIMIT", 1]]
↳ app/models/url.rb:9
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "google.cooom"]]
↳ app/models/url.rb:9
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 7], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (5.8ms)  COMMIT
↳ app/models/url.rb:9
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bf962"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51

Redirected to localhost:3000/urls/show?Status=Success&domain=sa&long_url=google.cooom&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fbf962

 (6.9ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 12ms (ActiveRecord: 7.0ms)

Started GET “/urls/show?Status=Success&domain=sa&long_url=google.cooom&short_url=https%3A%2F%2Fwww.vg.sw.n%2Fbf962” for 127.0.0.1 at 2019-01-23 12:04:05 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"sa", "long_url"=>"google.cooom", "short_url"=>"https://www.vg.sw.n/bf962"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 92ms (Views: 84.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:04:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.9ms)

Completed 200 OK in 65ms (Views: 63.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 12:04:11 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.3ms)

Completed 200 OK in 53ms (Views: 50.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:04:14 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LoF+Cjle+HmQjYcOheklx1uHEzkYNzatgeFLXfpC7QRYcqD0bhhZ4e4EEfRMSbHnr/ibMDAY2F0AdR74IR0lYA==", "long_url"=>"http://localhost:3000/home/index", "domain"=>"fd", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "http://localhost:3000/home/index"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:9

Redirected to localhost:3000/urls/show?Error=Enter+Valid+Url&Status=Error Completed 200 OK in 7ms (ActiveRecord: 1.1ms)

Started GET “/urls/show?Error=Enter+Valid+Url&Status=Error” for 127.0.0.1 at 2019-01-23 12:04:14 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Enter Valid Url", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 68ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:04:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 52ms (Views: 50.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 12:05:20 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 50ms (Views: 49.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:05:23 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FB5mUYe3V/38RBdSKfXp3d1IG9J8e6D/3cx0doDqNgBi7biv0PH2ZYLNgajgVX39KTeT21RUTg9cWCHTW7X+ZA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:23

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 17ms (ActiveRecord: 4.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-23 12:05:23 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 61ms (Views: 59.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:05:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 65ms (Views: 60.9ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=kasjdbhjsbaahjfkba&domain=sdasd” for 127.0.0.1 at 2019-01-23 12:05:41 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"kasjdbhjsbaahjfkba", "domain"=>"sdasd"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "kasjdbhjsbaahjfkba"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.1ms)

Started POST “/shorten-url/?long_url=www.googlggle.com&domain=google” for 127.0.0.1 at 2019-01-23 12:05:59 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"www.googlggle.com", "domain"=>"google"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.googlggle.com"], ["LIMIT", 1]]
↳ app/models/url.rb:9
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.googlggle.com"]]
↳ app/models/url.rb:9
 (3.2ms)  COMMIT
↳ app/models/url.rb:9
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "59d56"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51

Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 4.8ms)

Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.9ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 8], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (0.5ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started GET “/short-url/?short_url=www.vg.sw.n/59d56” for 127.0.0.1 at 2019-01-23 12:06:17 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/59d56"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/59d56"], ["LIMIT", 1]]
↳ app/models/url.rb:45

Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.6ms)

Started GET “/shorten-url/?long_url=www.googlggle.com&domain=google” for 127.0.0.1 at 2019-01-23 12:06:42 +0530

ActionController::RoutingError (No route matches [GET] “/shorten-url”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/short-url/?short_url=www.vg.sw.n/59d56” for 127.0.0.1 at 2019-01-23 12:06:59 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/59d56"}

Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.googlggle.com&domain=google” for 127.0.0.1 at 2019-01-23 12:07:06 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"www.googlggle.com", "domain"=>"google"}
 (2.3ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.googlggle.com"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.9ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "www.googlggle.com"], ["LIMIT", 1]]
↳ app/models/url.rb:23

Completed 200 OK in 12ms (Views: 0.5ms | ActiveRecord: 4.5ms)

Started POST “/shorten-url/?long_url=www.googlggddde.com&domain=google” for 127.0.0.1 at 2019-01-23 12:07:17 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"www.googlggddde.com", "domain"=>"google"}
 (1.0ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (1.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.googlggddde.com"], ["LIMIT", 1]]
↳ app/models/url.rb:9
Url Create (1.0ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "www.googlggddde.com"]]
↳ app/models/url.rb:9
 (1.2ms)  COMMIT
↳ app/models/url.rb:9
Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3e0a8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 5.1ms)

 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.7ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 9], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started POST “/shorten-url/?long_url=www.googlggddde.com&domain=google” for 127.0.0.1 at 2019-01-23 12:07:27 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"www.googlggddde.com", "domain"=>"google"}
 (0.4ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.googlggddde.com"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.7ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "www.googlggddde.com"], ["LIMIT", 1]]
↳ app/models/url.rb:23

Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.6ms)

Started POST “/shorten-url/?long_url=www.googlggddde.com&domain=google” for 127.0.0.1 at 2019-01-23 12:08:00 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"www.googlggddde.com", "domain"=>"google"}
 (0.3ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.googlggddde.com"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (1.0ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.7ms)

Started GET “/short-url/?short_url=www.vg.sw.n/59d56” for 127.0.0.1 at 2019-01-23 12:08:07 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/59d56"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 12:08:14 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 69ms (Views: 60.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:08:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dEHpI0H1uM7eGaTBS5TA8uetc5AB+v35/U7mHehnHucCsjfdFrMZVqCQMjuCNFTSE9L7mSnVEwl82rO4MzjWgw==", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/models/url.rb:23

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68 Completed 200 OK in 27ms (ActiveRecord: 1.4ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F16525402%2Fcan-i-add-class-methods-and-instance-methods-from-the-same-module&short_url=https%3A%2F%2Fwww.vg.sw.n%2F17a68” for 127.0.0.1 at 2019-01-23 12:08:18 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://stackoverflow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "short_url"=>"https://www.vg.sw.n/17a68"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 76ms (Views: 73.5ms | ActiveRecord: 0.0ms)

Started GET “/short-url/?short_url=www.vg.sw.n/17a68” for 127.0.0.1 at 2019-01-23 12:08:26 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/17a68"}
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:45

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.7ms)

Started POST “/shorten-url/?long_url=www.vg.sw.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:08:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.vg.sw.n/17a68", "domain"=>"bbb"}
 (0.3ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.vg.sw.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
Url Create (0.6ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.vg.sw.n/17a68"]]
↳ app/models/url.rb:9
 (1.6ms)  COMMIT
↳ app/models/url.rb:9
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
Url Load (1.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e1159"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10

Completed 200 OK in 11ms (Views: 0.4ms | ActiveRecord: 3.9ms)

 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 10], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (2.4ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started POST “/shorten-url/?long_url=www.vg.sw.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:09:05 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.vg.sw.n/17a68", "domain"=>"bbb"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.vg.sw.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.4ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.vg.sw.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:23

Completed 200 OK in 13ms (Views: 0.2ms | ActiveRecord: 2.1ms)

Started GET “/short-url/?short_url=www.vg.sw.n/e1159” for 127.0.0.1 at 2019-01-23 12:09:18 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"https://www.vg.sw.n/e1159"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/e1159"], ["LIMIT", 1]]
↳ app/models/url.rb:45

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started POST “/shorten-url/?long_url=www.vg.sw.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:09:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.vg.sw.n/17a68", "domain"=>"bbb"}
 (0.3ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.vg.sw.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 1.1ms)

Started POST “/shorten-url/?long_url=www.vg.sw.n/68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:09:58 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.vg.sw.n/68", "domain"=>"bbb"}
 (0.4ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.vg.sw.n/68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
Url Create (0.5ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.vg.sw.n/68"]]
↳ app/models/url.rb:9
 (1.2ms)  COMMIT
↳ app/models/url.rb:9
Report Load (1.6ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c608"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10

Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 3.2ms)

 (3.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.9ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 11], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started GET “/short-url/?short_url=68” for 127.0.0.1 at 2019-01-23 12:10:13 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"68"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/68"], ["LIMIT", 1]]
↳ app/models/url.rb:45

Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.6ms)

Started GET “/short-url/?short_url=1c608” for 127.0.0.1 at 2019-01-23 12:10:29 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"1c608"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/1c608"], ["LIMIT", 1]]
↳ app/models/url.rb:45

Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.6ms)

Started GET “/short-url/?short_url=1c608” for 127.0.0.1 at 2019-01-23 12:11:02 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"1c608"}

Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started POST “/shorten-url/?long_url=www.vg.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:12:01 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.vg.n/17a68", "domain"=>"bbb"}
 (0.3ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
Url Create (0.4ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://www.vg.n/17a68"]]
↳ app/models/url.rb:9
 (1.3ms)  COMMIT
↳ app/models/url.rb:9
Report Load (2.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Url Load (5.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3c7e7"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
Report Exists (1.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12

Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 8.5ms)

Report Update (2.1ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 12], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls"

Started POST “/shorten-url/?long_url=www.vg.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:13:12 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.vg.n/17a68", "domain"=>"bbb"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:25

Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 5.2ms)

Started POST “/shorten-url/?long_url=w.vg.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:13:15 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.vg.n/17a68", "domain"=>"bbb"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
Url Create (0.3ms)  INSERT INTO "urls" ("long_url") VALUES ($1) RETURNING "id"  [["long_url", "https://w.vg.n/17a68"]]
↳ app/models/url.rb:9
 (9.1ms)  COMMIT
↳ app/models/url.rb:9
Url Load (1.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ab04e"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:13
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://w.vg.n/17a68"], ["id", 271], ["LIMIT", 1]]
↳ app/models/url.rb:13
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1, "domain" = $2 WHERE "urls"."id" = $3  [["short_url", "https://www.vg.sw.n/ab04e"], ["domain", "bbb"], ["id", 271]]
↳ app/models/url.rb:13
 (0.4ms)  COMMIT
↳ app/models/url.rb:13

Completed 200 OK in 23ms (Views: 0.3ms | ActiveRecord: 12.8ms)

Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 13], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.0ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started POST “/shorten-url/?long_url=w.vg.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:13:16 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.vg.n/17a68", "domain"=>"bbb"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://w.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:25

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 1.6ms)

Started POST “/shorten-url/?long_url=w.vg.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:13:17 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.vg.n/17a68", "domain"=>"bbb"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.7ms)

Started POST “/shorten-url/?long_url=w.vg.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:13:17 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.vg.n/17a68", "domain"=>"bbb"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.9ms)

Started POST “/shorten-url/?long_url=w.vg.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:13:18 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.vg.n/17a68", "domain"=>"bbb"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.6ms)

Started POST “/shorten-url/?long_url=w.vg.n/17a68&domain=bbb” for 127.0.0.1 at 2019-01-23 12:13:18 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.vg.n/17a68", "domain"=>"bbb"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.vg.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (5.6ms)  ROLLBACK
↳ app/models/url.rb:9

Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 6.1ms)

Started GET “/short-url/?short_url=1c608” for 127.0.0.1 at 2019-01-23 12:13:21 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"1c608"}

Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:14:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 12:34:32 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:34:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 38ms (Views: 36.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:34:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 54ms (Views: 52.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 12:37:20 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.2ms)

Completed 200 OK in 58ms (Views: 56.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 12:37:21 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oW75G15zQSUhH6CpbthaODTJIQu9KCJQYp1EU0ebBMKk9boKYt1GcFTXLhqzFiObIjfZVT+5f10o0HgvGp7SxQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 20ms (ActiveRecord: 7.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:37:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-23 12:37:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 100ms (Views: 97.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:37:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 55ms (Views: 53.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-23 12:38:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 116ms (Views: 113.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-23 12:39:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 152ms (Views: 148.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-23 12:39:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 173ms (Views: 169.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-23 12:39:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 72ms (Views: 36.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-23 12:39:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 60ms (Views: 59.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 12:40:01 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:40:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.5ms)

Completed 200 OK in 61ms (Views: 60.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 12:40:02 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.2ms)

Completed 200 OK in 56ms (Views: 54.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 12:40:04 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UN2bW6vVN/6CXRAG0ko5Vhtc/ULgadeqV2YCJql1eilvdXCgZkyRwZC20wpZ2va5BdKQRVJARb8KyH0pG1pWpg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 6ms (ActiveRecord: 3.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:40:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 52ms (Views: 49.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 12:40:06 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 69ms (Views: 66.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 12:40:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qyJTBd2Qoc63MnfGG4dURe1o7Oy953lk3qBgH0OgZW2cTw8DgNqwNYK8Bsqjn63hqVEyoTm7UY3A9leQohyiAw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:24

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876 Completed 200 OK in 31ms (ActiveRecord: 4.8ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=https%3A%2F%2Fwww.vg.sw.n%2F8f876” for 127.0.0.1 at 2019-01-23 12:40:53 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"https://www.vg.sw.n/8f876"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 59ms (Views: 58.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:40:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 67ms (Views: 65.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 12:41:29 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:41:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 39ms (Views: 37.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 12:41:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 49ms (Views: 47.3ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.vg.sw.n/17a68” for 127.0.0.1 at 2019-01-23 12:49:08 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.vg.sw.n/17a68"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.vg.sw.n/17a68"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."domain" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 500 Internal Server Error in 19ms (ActiveRecord: 7.6ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken, Domain has already been taken):

app/models/url.rb:10:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url/?long_url=w.google.com” for 127.0.0.1 at 2019-01-23 12:50:04 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.google.com"}
 (4.0ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Exists (0.8ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."domain" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 500 Internal Server Error in 11ms (ActiveRecord: 5.6ms)

ActiveRecord::RecordInvalid (Validation failed: Domain has already been taken):

app/models/url.rb:10:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url/?long_url=w.google.com” for 127.0.0.1 at 2019-01-23 12:50:34 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.google.com"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 500 Internal Server Error in 16ms (ActiveRecord: 3.8ms)

ActiveRecord::RecordInvalid (Validation failed: Domain can't be blank):

app/models/url.rb:10:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url/?long_url=w.google.com” for 127.0.0.1 at 2019-01-23 12:50:57 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.google.com"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (1.1ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 500 Internal Server Error in 19ms (ActiveRecord: 5.6ms)

ActiveRecord::RecordInvalid (Validation failed: Domain can't be blank):

app/models/url.rb:10:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url/?long_url=w.google.com” for 127.0.0.1 at 2019-01-23 12:51:38 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.google.com"}

Completed 500 Internal Server Error in 15ms (ActiveRecord: 2.4ms)

TypeError (no implicit conversion of nil into String):

app/models/url.rb:24:in `+' app/models/url.rb:24:in `rescue in shorten_url' app/models/url.rb:7:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url/?long_url=w.google.com” for 127.0.0.1 at 2019-01-23 12:52:01 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.google.com"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 500 Internal Server Error in 16ms (ActiveRecord: 4.8ms)

ActiveRecord::RecordInvalid (Validation failed: Domain can't be blank):

app/models/url.rb:10:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' Started POST “/shorten-url/?long_url=w.google.com” for 127.0.0.1 at 2019-01-23 12:54:14 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.google.com"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 13ms (Views: 0.3ms | ActiveRecord: 3.1ms)

Started POST “/shorten-url/?long_url=w.google.com&domain=bbb” for 127.0.0.1 at 2019-01-23 12:54:27 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.google.com", "domain"=>"bbb"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://w.google.com"], ["domain", "bbb"]]
↳ app/models/url.rb:10
 (2.4ms)  COMMIT
↳ app/models/url.rb:10
Url Load (1.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d9c82"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.2ms)  BEGIN
↳ app/models/url.rb:14
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://w.google.com"], ["id", 272], ["LIMIT", 1]]
↳ app/models/url.rb:14
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "https://www.vg.sw.n/d9c82"], ["id", 272]]
↳ app/models/url.rb:14
 (0.3ms)  COMMIT
↳ app/models/url.rb:14

Completed 200 OK in 25ms (Views: 0.2ms | ActiveRecord: 6.8ms)

Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 14], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started POST “/shorten-url/?long_url=w.google.com” for 127.0.0.1 at 2019-01-23 12:54:30 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://w.google.com"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://w.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.6ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-23 13:01:27 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-23 13:01:27 +0530 Started GET “/sidekiq/javascripts/dashboard.js” for 127.0.0.1 at 2019-01-23 13:01:27 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-23 13:01:27 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-23 13:01:27 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-23 13:01:27 +0530 Started GET “/” for 127.0.0.1 at 2019-01-23 13:01:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.6ms)

Completed 200 OK in 85ms (Views: 83.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 13:01:31 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 78ms (Views: 75.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 13:01:33 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i8zB3qrStEmKCfD6HiVHKQCvwCbFTJAmt7zSiAMno+y0ZColZ0sSdpjiM/aVtYjGHiGtIXdlAjPqEq2HsQiPYw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 21ms (ActiveRecord: 8.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 13:01:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 63ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 13:01:34 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.1ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (14.8ms)

Completed 200 OK in 82ms (Views: 70.0ms | ActiveRecord: 9.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 13:01:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 51ms (Views: 47.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 13:55:15 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `str' for UrlsHelper:Module):

app/helpers/urls_helper.rb:66:in `find_prefix_domain' app/controllers/urls_controller.rb:27:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 13:55:31 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 13:55:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 281ms (Views: 279.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 13:56:07 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 13:56:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 44ms (Views: 43.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 13:57:16 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 13:57:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 79ms (Views: 77.5ms | ActiveRecord: 0.0ms)

 (6.8ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to CreateDomainPrefixes (20190123083626)

 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (45.4ms)  CREATE TABLE "domain_prefixes" ("id" bigserial primary key, "domain" character varying, "prefix" character varying)
↳ db/migrate/20190123083626_create_domain_prefixes.rb:3
ActiveRecord::SchemaMigration Create (0.4ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190123083626"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (18.7ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:15:04 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/helpers/domain_prefix_helper.rb:23: syntax error, unexpected end-of-input, expecting end):

app/helpers/domain_prefix_helper.rb:23: syntax error, unexpected end-of-input, expecting end app/controllers/application_controller.rb:1:in `<main>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:15:48 +0530

TypeError (wrong argument type Class (expected Module)):

app/controllers/application_controller.rb:1:in `<main>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:17:36 +0530

TypeError (wrong argument type Class (expected Module)):

app/controllers/application_controller.rb:1:in `<main>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:17:53 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

TypeError (wrong argument type Class (expected Module)):

app/controllers/application_controller.rb:1:in `<main>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:18:57 +0530

TypeError (wrong argument type Class (expected Module)):

app/controllers/application_controller.rb:1:in `<main>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:20:24 +0530

TypeError (wrong argument type Class (expected Module)):

app/controllers/application_controller.rb:1:in `<main>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:24:14 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:24:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 309ms (Views: 308.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:25:33 +0530

ActionController::RoutingError (Couldn't find DomainHelper, expected it to be defined in helpers/domain_helper.rb):

app/controllers/application_controller.rb:1:in `<main>' app/controllers/home_controller.rb:1:in `<main>' Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:25:54 +0530

TypeError (wrong argument type Class (expected Module)):

app/controllers/application_controller.rb:1:in `<main>' app/controllers/home_controller.rb:1:in `<main>' Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:26:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 42ms (Views: 41.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:27:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 428ms (Views: 427.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:31:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.5ms)

Completed 200 OK in 42ms (Views: 41.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:31:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:31:30 +0530 Processing by UrlsController#long_to_short as HTML Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `find_domain_prefix' for DomainPrefixHelper:Module):

app/controllers/urls_controller.rb:27:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:32:00 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:32:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 83ms (Views: 81.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:32:24 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:32:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 38ms (Views: 35.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:38:25 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 500 Internal Server Error in 14ms (ActiveRecord: 5.9ms)

NameError (undefined local variable or method `prefix' for DomainPrefixHelper:Module):

app/helpers/domain_prefix_helper.rb:14:in `block in find_domain_prefix' app/helpers/domain_prefix_helper.rb:12:in `each' app/helpers/domain_prefix_helper.rb:12:in `find_domain_prefix' app/controllers/urls_controller.rb:27:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:39:03 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12

Redirected to localhost:3000/home/index Completed 302 Found in 9ms (ActiveRecord: 3.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:39:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 44ms (Views: 42.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:39:40 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12

Redirected to localhost:3000/home/index Completed 302 Found in 10ms (ActiveRecord: 4.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:39:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 55ms (Views: 53.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:40:59 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12

Redirected to localhost:3000/home/index Completed 302 Found in 10ms (ActiveRecord: 5.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:40:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:41:29 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12

Redirected to localhost:3000/home/index Completed 302 Found in 8ms (ActiveRecord: 3.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:41:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 64ms (Views: 63.1ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
 (0.1ms)  BEGIN
DomainPrefix Create (0.6ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "makaan"], ["prefix", "mk"]]
 (0.9ms)  COMMIT
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 14:45:05 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/home/index Completed 302 Found in 9ms (ActiveRecord: 2.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 14:45:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 40ms (Views: 39.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:02:09 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12

Completed 500 Internal Server Error in 17ms (ActiveRecord: 9.8ms)

NameError (undefined local variable or method `prefix' for DomainPrefixHelper:Module Did you mean? @prefix):

app/helpers/domain_prefix_helper.rb:17:in `block in find_domain_prefix' app/helpers/domain_prefix_helper.rb:13:in `each' app/helpers/domain_prefix_helper.rb:13:in `find_domain_prefix' app/controllers/urls_controller.rb:28:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:02:29 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12

Completed 500 Internal Server Error in 12ms (ActiveRecord: 4.1ms)

ActiveModel::UnknownAttributeError (unknown attribute 'makaaan' for DomainPrefix.):

app/models/domain_prefix.rb:20:in `create_entry' app/helpers/domain_prefix_helper.rb:17:in `block in find_domain_prefix' app/helpers/domain_prefix_helper.rb:13:in `each' app/helpers/domain_prefix_helper.rb:13:in `find_domain_prefix' app/controllers/urls_controller.rb:28:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:02:57 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12

Completed 500 Internal Server Error in 13ms (ActiveRecord: 5.2ms)

ActiveModel::UnknownAttributeError (unknown attribute 'makaaan' for DomainPrefix.):

app/models/domain_prefix.rb:20:in `create_entry' app/helpers/domain_prefix_helper.rb:17:in `block in find_domain_prefix' app/helpers/domain_prefix_helper.rb:13:in `each' app/helpers/domain_prefix_helper.rb:13:in `find_domain_prefix' app/controllers/urls_controller.rb:28:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:03:26 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12

Completed 500 Internal Server Error in 9ms (ActiveRecord: 3.1ms)

ActiveModel::UnknownAttributeError (unknown attribute 'makaaan' for DomainPrefix.):

app/models/domain_prefix.rb:20:in `create_entry' app/helpers/domain_prefix_helper.rb:17:in `block in find_domain_prefix' app/helpers/domain_prefix_helper.rb:13:in `each' app/helpers/domain_prefix_helper.rb:13:in `find_domain_prefix' app/controllers/urls_controller.rb:28:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:05:19 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/helpers/domain_prefix_helper.rb:24: syntax error, unexpected return, expecting ')'

return domain
^~~~~~):

app/helpers/domain_prefix_helper.rb:24: syntax error, unexpected return, expecting ')' app/controllers/application_controller.rb:1:in `<main>' app/controllers/urls_controller.rb:1:in `<main>' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:05:34 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 500 Internal Server Error in 13ms (ActiveRecord: 4.9ms)

NoMethodError (undefined method `[]=' for nil:NilClass):

app/helpers/domain_prefix_helper.rb:8:in `find_domain_prefix' app/controllers/urls_controller.rb:28:in `long_to_short' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:05:59 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.5ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "makaaan"], ["prefix", "ma"]]
↳ app/models/domain_prefix.rb:20
 (6.4ms)  COMMIT
↳ app/models/domain_prefix.rb:20

Redirected to localhost:3000/home/index Completed 302 Found in 20ms (ActiveRecord: 10.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:05:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 42ms (Views: 40.6ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:06:23 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "mk"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
CACHE DomainPrefix Load (0.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
CACHE DomainPrefix Load (0.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
CACHE DomainPrefix Load (0.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
CACHE DomainPrefix Load (0.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "ma"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "mn"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "makaaaan"], ["prefix", "mn"]]
↳ app/models/domain_prefix.rb:20
 (0.5ms)  COMMIT
↳ app/models/domain_prefix.rb:20

Redirected to localhost:3000/home/index Completed 302 Found in 28ms (ActiveRecord: 7.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:06:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 43ms (Views: 40.8ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:17:22 +0530 Processing by UrlsController#long_to_short as HTML

DomainPrefix Load (0.9ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaaaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.ma.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "makaaaaaan"], ["prefix", "www.ma.co/"]]
↳ app/models/domain_prefix.rb:20
 (6.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20

Redirected to localhost:3000/home/index Completed 302 Found in 23ms (ActiveRecord: 13.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:17:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 38ms (Views: 36.6ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.2ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.4ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 1]]
 (1.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 2]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 3]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 4]]
 (0.3ms)  COMMIT

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 15:18:50 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.6ms)

Completed 200 OK in 47ms (Views: 46.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 15:18:51 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KqToXEj3JNZ1ff2oLC4nZLvx5ax9j16YtFKdX/4sS2U9Q7Lrf+MiUvdSIKolZNX43FTtXhjb3u8TYAfYhAMwLg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 3.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:18:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 70.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:18:52 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 69ms (Views: 67.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:19:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mlHPvhUOn2da6Cj3VxY15XA074cSROx86cEz4B5yiYLo0jPb9sjnj8c4A7G3MFkTnfB9ld/Bc2WscVVCRZTbcg==", "long_url"=>"https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Completed 500 Internal Server Error in 25ms (ActiveRecord: 4.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:32:in `rescue in shorten_url' app/models/url.rb:7:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten'

Url Load (0.9ms)  SELECT "urls".* FROM "urls"
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 229]]
 (1.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 230]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 231]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 232]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 233]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 234]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 235]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 236]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 237]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 238]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 239]]
 (0.3ms)  COMMIT
 (0.7ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 240]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 241]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 242]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 243]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 244]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 245]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.7ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 246]]
 (0.6ms)  COMMIT
 (0.4ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 247]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 248]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 249]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 250]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 251]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 252]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 253]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 254]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 255]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 257]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 258]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 259]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 260]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 261]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 262]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 263]]
 (0.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 264]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 265]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 266]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 267]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 268]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 269]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 270]]
 (0.5ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 271]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 272]]
 (0.3ms)  COMMIT

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:19:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mlHPvhUOn2da6Cj3VxY15XA074cSROx86cEz4B5yiYLo0jPb9sjnj8c4A7G3MFkTnfB9ld/Bc2WscVVCRZTbcg==", "long_url"=>"https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Completed 500 Internal Server Error in 15ms (ActiveRecord: 1.2ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:32:in `rescue in shorten_url' app/models/url.rb:7:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:20:46 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mlHPvhUOn2da6Cj3VxY15XA074cSROx86cEz4B5yiYLo0jPb9sjnj8c4A7G3MFkTnfB9ld/Bc2WscVVCRZTbcg==", "long_url"=>"https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:10
 (6.1ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.st.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "stackoverflow"], ["prefix", "www.st.co/"]]
↳ app/models/domain_prefix.rb:20
 (0.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "5dba6"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["id", 275], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "www.st.co/5dba6"], ["id", 275]]
↳ app/models/url.rb:15
 (0.3ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F35566209%2Falgorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length&short_url=www.st.co%2F5dba6 Completed 200 OK in 59ms (ActiveRecord: 19.1ms)

Started GET “/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F35566209%2Falgorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length&short_url=www.st.co%2F5dba6” for 127.0.0.1 at 2019-01-23 15:20:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length", "short_url"=>"www.st.co/5dba6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.8ms)
Report Load (1.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 15], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (5.9ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 361ms (Views: 358.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:20:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 66ms (Views: 62.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:20:54 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.5ms)

Completed 200 OK in 74ms (Views: 72.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:21:02 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ge9C/pPOcEaEfZpC1qNh8Q2bfhcrS2IAmutdvVdPFRrzbL6bcAgIrhmtsQQ2hQ0H4F/sBebO/RnfWzsfDKlH6g==", "long_url"=>"https://www.google.com/search?safe=strict&source=hp&ei=OCJIXO6FJ8j1rQHa1okY&q=ruby+compute+all+n+character+combinations+of+a+string&btnK=Google+Search&oq=ruby+compute+all+n+character+combinations+of+a+string&gs_l=psy-ab.3...124987.425529..425838...9.0..1.233.7861.0j43j5......0....1..gws-wiz.....6..35i39j0i131j0j0i67j0i22i30j0i22i10i30j33i160j33i21.2btymEzJbiM", "domain"=>"google", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?safe=strict&source=hp&ei=OCJIXO6FJ8j1rQHa1okY&q=ruby+compute+all+n+character+combinations+of+a+string&btnK=Google+Search&oq=ruby+compute+all+n+character+combinations+of+a+string&gs_l=psy-ab.3...124987.425529..425838...9.0..1.233.7861.0j43j5......0....1..gws-wiz.....6..35i39j0i131j0j0i67j0i22i30j0i22i10i30j33i160j33i21.2btymEzJbiM"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com/search?safe=strict&source=hp&ei=OCJIXO6FJ8j1rQHa1okY&q=ruby+compute+all+n+character+combinations+of+a+string&btnK=Google+Search&oq=ruby+compute+all+n+character+combinations+of+a+string&gs_l=psy-ab.3...124987.425529..425838...9.0..1.233.7861.0j43j5......0....1..gws-wiz.....6..35i39j0i131j0j0i67j0i22i30j0i22i10i30j33i160j33i21.2btymEzJbiM"], ["domain", "google"]]
↳ app/models/url.rb:10
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 16], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.2ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.go.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "google"], ["prefix", "www.go.co/"]]
↳ app/models/domain_prefix.rb:20
 (7.8ms)  COMMIT
↳ app/workers/url_worker.rb:12
 (5.8ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a552b"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com/search?safe=strict&source=hp&ei=OCJIXO6FJ8j1rQHa1okY&q=ruby+compute+all+n+character+combinations+of+a+string&btnK=Google+Search&oq=ruby+compute+all+n+character+combinations+of+a+string&gs_l=psy-ab.3...124987.425529..425838...9.0..1.233.7861.0j43j5......0....1..gws-wiz.....6..35i39j0i131j0j0i67j0i22i30j0i22i10i30j33i160j33i21.2btymEzJbiM"], ["id", 276], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "www.go.co/a552b"], ["id", 276]]
↳ app/models/url.rb:15
 (0.4ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26source%3Dhp%26ei%3DOCJIXO6FJ8j1rQHa1okY%26q%3Druby%2Bcompute%2Ball%2Bn%2Bcharacter%2Bcombinations%2Bof%2Ba%2Bstring%26btnK%3DGoogle%2BSearch%26oq%3Druby%2Bcompute%2Ball%2Bn%2Bcharacter%2Bcombinations%2Bof%2Ba%2Bstring%26gs_l%3Dpsy-ab.3…124987.425529..425838…9.0..1.233.7861.0j43j5.…..0.…1..gws-wiz.….6..35i39j0i131j0j0i67j0i22i30j0i22i10i30j33i160j33i21.2btymEzJbiM&short_url=www.go.co%2Fa552b Completed 200 OK in 30ms (ActiveRecord: 15.8ms)

Started GET “/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26source%3Dhp%26ei%3DOCJIXO6FJ8j1rQHa1okY%26q%3Druby%2Bcompute%2Ball%2Bn%2Bcharacter%2Bcombinations%2Bof%2Ba%2Bstring%26btnK%3DGoogle%2BSearch%26oq%3Druby%2Bcompute%2Ball%2Bn%2Bcharacter%2Bcombinations%2Bof%2Ba%2Bstring%26gs_l%3Dpsy-ab.3…124987.425529..425838…9.0..1.233.7861.0j43j5.…..0.…1..gws-wiz.….6..35i39j0i131j0j0i67j0i22i30j0i22i10i30j33i160j33i21.2btymEzJbiM&short_url=www.go.co%2Fa552b” for 127.0.0.1 at 2019-01-23 15:21:02 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google", "long_url"=>"https://www.google.com/search?safe=strict&source=hp&ei=OCJIXO6FJ8j1rQHa1okY&q=ruby+compute+all+n+character+combinations+of+a+string&btnK=Google+Search&oq=ruby+compute+all+n+character+combinations+of+a+string&gs_l=psy-ab.3...124987.425529..425838...9.0..1.233.7861.0j43j5......0....1..gws-wiz.....6..35i39j0i131j0j0i67j0i22i30j0i22i10i30j33i160j33i21.2btymEzJbiM", "short_url"=>"www.go.co/a552b"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:21:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 85ms (Views: 83.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:22:23 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 58ms (Views: 56.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:22:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"s185L3P6wsMSXZTKNBx5IBfHELnO1URUCilNH9xcevDB3MVKkDy6K4+Nv4zUOhXW+gOCqwNQ201PmSu9h7ooAA==", "long_url"=>"https://www.makaan.com/noida-residential-property/rent-property-in-noida-city", "domain"=>"makaan", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/noida-residential-property/rent-property-in-noida-city"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/noida-residential-property/rent-property-in-noida-city"], ["domain", "makaan"]]
↳ app/models/url.rb:10
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 17], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (5.8ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.ma.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.2ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "makaan"], ["prefix", "www.ma.co/"]]
↳ app/models/domain_prefix.rb:20
 (7.0ms)  COMMIT
↳ app/workers/url_worker.rb:12
 (8.2ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0fd42"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/noida-residential-property/rent-property-in-noida-city"], ["id", 277], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "www.ma.co/0fd42"], ["id", 277]]
↳ app/models/url.rb:15
 (0.4ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=makaan&long_url=https%3A%2F%2Fwww.makaan.com%2Fnoida-residential-property%2Frent-property-in-noida-city&short_url=www.ma.co%2F0fd42 Completed 200 OK in 26ms (ActiveRecord: 17.0ms)

Started GET “/urls/show?Status=Success&domain=makaan&long_url=https%3A%2F%2Fwww.makaan.com%2Fnoida-residential-property%2Frent-property-in-noida-city&short_url=www.ma.co%2F0fd42” for 127.0.0.1 at 2019-01-23 15:22:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"makaan", "long_url"=>"https://www.makaan.com/noida-residential-property/rent-property-in-noida-city", "short_url"=>"www.ma.co/0fd42"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 60ms (Views: 59.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:22:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 82ms (Views: 81.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:23:03 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.5ms)

Completed 200 OK in 91ms (Views: 88.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:23:09 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"soCusicpmfE0wpVPxgRC2hlAaJNHMYIpHkVVgfsesVnAA1LXxO/hGakSvgkmIi4s9IT6gYq0HTBb9TMjoPjjqQ==", "long_url"=>"https://www.makaan.com/noida-property/sector-104-rental-flats-51266", "domain"=>"makaan", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/noida-property/sector-104-rental-flats-51266"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/noida-property/sector-104-rental-flats-51266"], ["domain", "makaan"]]
↳ app/models/url.rb:10
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 18], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (5.8ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (6.6ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b8aa5"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/noida-property/sector-104-rental-flats-51266"], ["id", 278], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "www.ma.co/b8aa5"], ["id", 278]]
↳ app/models/url.rb:15
 (0.3ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=makaan&long_url=https%3A%2F%2Fwww.makaan.com%2Fnoida-property%2Fsector-104-rental-flats-51266&short_url=www.ma.co%2Fb8aa5 Completed 200 OK in 24ms (ActiveRecord: 8.1ms)

Started GET “/urls/show?Status=Success&domain=makaan&long_url=https%3A%2F%2Fwww.makaan.com%2Fnoida-property%2Fsector-104-rental-flats-51266&short_url=www.ma.co%2Fb8aa5” for 127.0.0.1 at 2019-01-23 15:23:09 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"makaan", "long_url"=>"https://www.makaan.com/noida-property/sector-104-rental-flats-51266", "short_url"=>"www.ma.co/b8aa5"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)

Completed 200 OK in 109ms (Views: 106.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:23:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 66ms (Views: 63.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:23:20 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 42ms (Views: 40.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:23:25 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"um5m/KlQcf/fQkvtSt6sd0A9tOcyBPPz847t0nIihHTI7ZqZSpYJF0KSYKuq+MCBrfkm9f+BbOq2PotwKcTWhA==", "long_url"=>"https://mail.google.com", "domain"=>"mail", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://mail.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://mail.google.com"], ["domain", "mail"]]
↳ app/models/url.rb:10
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 19], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (5.6ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "mail"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.ma.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.mi.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "mail"], ["prefix", "www.mi.co/"]]
↳ app/models/domain_prefix.rb:20
 (6.9ms)  COMMIT
↳ app/workers/url_worker.rb:12
 (6.8ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c57db"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://mail.google.com"], ["id", 279], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "www.mi.co/c57db"], ["id", 279]]
↳ app/models/url.rb:15
 (5.7ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=mail&long_url=https%3A%2F%2Fmail.google.com&short_url=www.mi.co%2Fc57db Completed 200 OK in 32ms (ActiveRecord: 21.2ms)

Started GET “/urls/show?Status=Success&domain=mail&long_url=https%3A%2F%2Fmail.google.com&short_url=www.mi.co%2Fc57db” for 127.0.0.1 at 2019-01-23 15:23:25 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"mail", "long_url"=>"https://mail.google.com", "short_url"=>"www.mi.co/c57db"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (5.8ms)

Completed 200 OK in 67ms (Views: 65.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:23:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 61ms (Views: 58.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:23:42 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 97ms (Views: 95.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:23:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"avYU/wE+i5sOR3IqgHiuiaBZQiM7FY8hYcZf3sKUkRMYdeia4vjzc5OXWWxgXsJ/TZ3QMfaQEDgkdjl8mXLD4w==", "long_url"=>"mail.google.com", "domain"=>"skjdfbh", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "mail.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "mail.google.com"], ["domain", "skjdfbh"]]
↳ app/models/url.rb:10
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 20], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (5.7ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "skjdfbh"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.sk.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "skjdfbh"], ["prefix", "www.sk.co/"]]
↳ app/models/domain_prefix.rb:20
 (6.8ms)  COMMIT
↳ app/workers/url_worker.rb:12
 (6.4ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "be5ca"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.3ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "mail.google.com"], ["id", 280], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "www.sk.co/be5ca"], ["id", 280]]
↳ app/models/url.rb:15
 (0.3ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=skjdfbh&long_url=mail.google.com&short_url=www.sk.co%2Fbe5ca Completed 200 OK in 27ms (ActiveRecord: 15.7ms)

Started GET “/urls/show?Status=Success&domain=skjdfbh&long_url=mail.google.com&short_url=www.sk.co%2Fbe5ca” for 127.0.0.1 at 2019-01-23 15:23:59 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"skjdfbh", "long_url"=>"mail.google.com", "short_url"=>"www.sk.co/be5ca"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)

Completed 200 OK in 58ms (Views: 56.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:24:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 65ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:24:03 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.6ms)

Completed 200 OK in 76ms (Views: 73.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:24:12 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"VQwO3+jKUInS/mVbmdEDvFDr7JW66j2fowYBqie8Stcnj/K6CwwoYU8uTh15929KvS9+h3dvoobmtmcIfFoYJw==", "long_url"=>"mail.google.com", "domain"=>"hkjghgxfchjvk", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "mail.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "mail.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=skjdfbh&long_url=mail.google.com&short_url=www.sk.co%2Fbe5ca Completed 200 OK in 12ms (ActiveRecord: 1.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=skjdfbh&long_url=mail.google.com&short_url=www.sk.co%2Fbe5ca” for 127.0.0.1 at 2019-01-23 15:24:12 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"skjdfbh", "long_url"=>"mail.google.com", "short_url"=>"www.sk.co/be5ca"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 53ms (Views: 52.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:25:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 83ms (Views: 81.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:25:13 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (7.4ms)

Completed 200 OK in 67ms (Views: 65.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:26:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vYdnzdx9E2cr8mj4Wd2r5S4iqA3F0csHTH8yty1bB0XPBJuoP7trj7YiQ765+8cTw+Y6HwhUVB4Jz1QVdr1VtQ==", "long_url"=>"https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length", "domain"=>"df", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F35566209%2Falgorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length&short_url=www.st.co%2F5dba6 Completed 200 OK in 8ms (ActiveRecord: 1.4ms)

Started GET “/urls/show?Status=Already+Exists&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F35566209%2Falgorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length&short_url=www.st.co%2F5dba6” for 127.0.0.1 at 2019-01-23 15:26:27 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-length", "short_url"=>"www.st.co/5dba6"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:26:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 58ms (Views: 55.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:29:29 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 40ms (Views: 38.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:29:40 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DS3aEi/EhvgFK+VCY21fIpyMA+TCFu0z6acNC+xnGyF/riZ3zAL+EJj7zgSDSzPUcUiR9g+TciqsF2upt4FJ0Q==", "long_url"=>"https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-le", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-le"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-le"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:10
 (6.1ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "41d98fee"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-le"], ["id", 281], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "www.st.co/41d98fee"], ["id", 281]]
↳ app/models/url.rb:15
Report Load (0.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (6.0ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F35566209%2Falgorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-le&short_url=www.st.co%2F41d98fee Completed 200 OK in 39ms (ActiveRecord: 20.1ms)

CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.7ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 21], ["id", 3]]
↳ app/workers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F35566209%2Falgorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-le&short_url=www.st.co%2F41d98fee” for 127.0.0.1 at 2019-01-23 15:29:40 +0530

 (2.4ms)  COMMIT
↳ app/workers/url_worker.rb:12

Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/35566209/algorithm-to-find-all-combinations-of-a-string-maintain-order-not-fixed-le", "short_url"=>"www.st.co/41d98fee"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 80ms (Views: 79.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:29:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 58ms (Views: 56.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 15:44:24 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:44:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 40ms (Views: 39.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 15:44:25 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.8ms)

Completed 200 OK in 67ms (Views: 65.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 15:44:26 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hqikI0Q4tNC/6DC7BB/gYG2wles4RmUQFwDmx6Y3e3uRT/6UcyyyVD3H7bkNVRL8ChWdGV0S5WewMnxA3BgAMA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 6.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:44:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 94ms (Views: 92.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 15:44:27 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (5.2ms)

Completed 200 OK in 70ms (Views: 66.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 15:44:29 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JC3ty1YOAL5O4leZq7d22DqS/bOBzHvDRxx6bTaCZ4zhkzvLLYx1k6eJodcZiWzKS082Af10c7w6dQ16G2yngw==", "short_url"=>"8f876", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "https://www.vg.sw.n/8f876"], ["LIMIT", 1]]
↳ app/models/url.rb:51

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 8ms (ActiveRecord: 3.1ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 15:44:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 49ms (Views: 47.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:44:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 43ms (Views: 42.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 15:46:08 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 63ms (Views: 62.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 15:46:11 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Gh9sG1sWqGBawwUaKnXEnfW8h+uQsXfC2H8O4v6EkS3fobobIJTdTbOo81SYS96PhGFMWewJf72lFnn102pRIg==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", ""], ["LIMIT", 1]]
↳ app/models/url.rb:50

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 10ms (ActiveRecord: 3.9ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 15:46:11 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 47ms (Views: 45.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:46:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 65ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:46:23 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 71ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:46:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 75ms (Views: 73.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 15:46:26 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.7ms)

Completed 200 OK in 91ms (Views: 87.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 15:46:56 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JImcsl3w04G87eI5sakwFCkvEYnlXMC4W+qDwSUzCGHhN0qyJnKmrFWGFHcDlyoGWPLaO5nkyMcmg/TWCN3Ibg==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/models/url.rb:50

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 8ms (ActiveRecord: 2.8ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 15:46:56 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 63ms (Views: 61.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:46:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 15:46:58 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 70ms (Views: 68.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 15:47:00 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bs7ikhCEXzLJfj/VhfoOfnozb3MwiuRBewOky1xyYSurcDSSawYqHyAVyZs3xBRsC+6kwUwy7D4GatPccZyhJA==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 15:47:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 61ms (Views: 59.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:47:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 87ms (Views: 86.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:47:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 76ms (Views: 73.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:47:09 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 79ms (Views: 77.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:47:14 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"03/8nmlX2jJYimaEi+jFa19wyP4vTpZfunQtaQ+Dadeh/AD7ipGi2sVaTcJrzqmdsrRa7OLLCUb/xEvLVGU7Jw==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["domain", "guides"]]
↳ app/models/url.rb:10
 (6.0ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 25ms (ActiveRecord: 7.2ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 15:47:14 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)
Report Load (2.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (1.1ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 22], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (2.1ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 75ms (Views: 70.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:47:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 86ms (Views: 84.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:47:16 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.6ms)

Completed 200 OK in 75ms (Views: 73.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:47:20 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ChWkDfcuw8mZ2bC0hfnW5wI9ARRZDBd98DFHphi06d94llhoFOi7IQQJm/Jl37oR7/mTBpSJiGS1gSEEQ1K7Lw==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 6ms (ActiveRecord: 0.6ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 15:47:20 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 60ms (Views: 58.1ms | ActiveRecord: 0.0ms)

Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls"

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:48:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 60ms (Views: 57.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:48:18 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 71ms (Views: 69.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:48:21 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cxJlI4urR5nu0D4dx8tGifURewMb1z2/gqOsuygvZp0BkZlGaG0/cXMAFVsn7Sp/GNXpEdZSoqbHE8oZc8k0bQ==", "long_url"=>"vipumar", "domain"=>"sadsd", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "vipumar"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Redirected to localhost:3000/urls/show?Error=Enter+Valid+Url&Status=Error Completed 200 OK in 5ms (ActiveRecord: 0.6ms)

Started GET “/urls/show?Error=Enter+Valid+Url&Status=Error” for 127.0.0.1 at 2019-01-23 15:48:21 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Enter Valid Url", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 78ms (Views: 76.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:48:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 65ms (Views: 63.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:48:23 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 75ms (Views: 73.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:48:29 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YQZ6bKg1YyTZPgQxLvzrnQqKBu5Op/XVqgoNd/IisvAThYYJS/MbzETuL3fO2odr506U/IMiaszvumvVqcTgAA==", "long_url"=>"https://guides.sdsrubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.sdsrubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://guides.sdsrubyonrails.org/caching_with_rails.html"], ["domain", "guides"]]
↳ app/models/url.rb:10
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 23], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.2ms)  COMMIT
↳ app/models/url.rb:10
 (6.5ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://guides.sdsrubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 22ms (ActiveRecord: 7.3ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 15:48:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 61ms (Views: 58.3ms | ActiveRecord: 0.0ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (1.2ms)  SELECT "urls".* FROM "urls"

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:49:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 64ms (Views: 61.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 15:49:15 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.2ms)

Completed 200 OK in 67ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:49:55 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 44ms (Views: 43.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:50:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"73F+JBPocFeG44lqwZDacCIZoYu0EDdmgnYIbtCvBoOd8oJB8C4IvxszoiwhtraGz90zmXmVqH/Hxm7Mi0lUcw==", "long_url"=>"wwwwwww.goooogle.com", "domain"=>"google", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "wwwwwww.goooogle.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "wwwwwww.goooogle.com"], ["domain", "google"]]
↳ app/models/url.rb:10
 (6.1ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "wwwwwww.goooogle.com"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 30ms (ActiveRecord: 10.7ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 15:50:06 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.8ms)
Report Load (2.6ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (2.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 24], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.2ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 78ms (Views: 76.9ms | ActiveRecord: 0.0ms)

Url Exists (1.5ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:51:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 70ms (Views: 69.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:51:30 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.3ms)

Completed 200 OK in 75ms (Views: 73.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:51:37 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P6kVhq4gXn2aeanz1n8x3ci+NVVvYFkZlU2zqIi2vtlNKunjTeYmlQepgrU2WV0rJXqnR6LlxgDQ/dUK01DsKQ==", "long_url"=>"wwwww...dd.d.d.d.com", "domain"=>"s", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "wwwww...dd.d.d.d.com"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "wwwww...dd.d.d.d.com"], ["domain", "s"]]
↳ app/models/url.rb:10
 (6.0ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "wwwww...dd.d.d.d.com"], ["LIMIT", 1]]
↳ app/models/url.rb:32

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 32ms (ActiveRecord: 11.3ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 15:51:37 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.8ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 25], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (2.5ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 61ms (Views: 58.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:53:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 42ms (Views: 41.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:53:31 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.6ms)

Completed 200 OK in 87ms (Views: 84.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:53:37 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YWjHy58H8O7XmOZrKIoejihKDRgVv1FWbT7mJCEkm4ET6zuufMGIBkpIzS3IrHJ4xY6fCtg6zk8ojoCGesLJcQ==", "long_url"=>"www.proptiger.com/rentals", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com/rentals"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "www.proptiger.com/rentals"], ["domain", "guides"]]
↳ app/models/url.rb:10
 (5.9ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "www.proptiger.com/rentals"], ["LIMIT", 1]]
↳ app/models/url.rb:33

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 32ms (ActiveRecord: 10.2ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 15:53:37 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 26], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.3ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 66ms (Views: 63.3ms | ActiveRecord: 0.0ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:55:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 40ms (Views: 39.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:55:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.9ms)

Completed 200 OK in 66ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:55:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ctvIyIA2l/bkyhhsmiI4eOFwb/hGrsKlvyHq2VnaR4QAWDStY/DvHnkaMyp6BFSODLT96osrXbz6kYx7AjwVdA==", "long_url"=>"https://stackoions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Redirected to localhost:3000/urls/show?Error=Enter+Valid+Url&Status=Error Completed 200 OK in 13ms (ActiveRecord: 4.2ms)

Started GET “/urls/show?Error=Enter+Valid+Url&Status=Error” for 127.0.0.1 at 2019-01-23 15:55:07 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Enter Valid Url", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 77ms (Views: 76.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:55:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 60ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:55:10 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 71ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:55:15 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zmlNLCRxrSn0Zf3Dbcm5CJWwQ60B19CUUKAKz81TfPu86rFJx7fVwWm11oWN79X+eHTRv8xST40VEGxtlrUuCw==", "long_url"=>"https://stacow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stacow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stacow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["domain", "guides"]]
↳ app/models/url.rb:10
 (5.9ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stacow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/models/url.rb:33

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 25ms (ActiveRecord: 7.1ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 15:55:15 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.7ms)
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 27], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.0ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 55ms (Views: 53.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:56:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 55ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:56:33 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.8ms)

Completed 200 OK in 78ms (Views: 76.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:56:37 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2b62mmhfJouFdxOAkXh92UzblzgrfFfUKCA1n3YmWa2rPUr/i5leYxinOMZxXhEvoR8FKub5yM1tkFM9LcALXQ==", "long_url"=>"https://stackovow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackovow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackovow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["domain", "guides"]]
↳ app/models/url.rb:10
 (6.1ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackovow.com/questions/16525402/can-i-add-class-methods-and-instance-methods-from-the-same-module"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 32ms (ActiveRecord: 11.0ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 15:56:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)
Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 28], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.3ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 67ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:56:53 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 301ms (Views: 294.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:56:55 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (16.8ms)

Completed 200 OK in 82ms (Views: 80.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:57:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GTXMxNTYsQXd66ZRk67XcwwxDks4nfWyBwOpEwOoPK5rtjChNx7J7UA7jRdziLuF4fWcWfUYaqtCs8+xWE5uXg==", "long_url"=>"https://www.youte.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youte.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.youte.com/watch?v=4HRC6c5-2lQ"], ["domain", "guides"]]
↳ app/models/url.rb:10
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 29], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.2ms)  COMMIT
↳ app/models/url.rb:10
 (6.6ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youte.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 52ms (ActiveRecord: 11.2ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 15:57:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 98ms (Views: 91.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:57:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 76ms (Views: 74.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:57:38 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.1ms)

Completed 200 OK in 68ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:57:44 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SzB20l/MPAu8U9c+6mZMtkjExx/FoNaEuEkJfH9m11s5s4q3vApE4yGD/HgKQCBApQBVDQglSZ39+W/eJICFqw==", "long_url"=>"https://www.yotube.com/watch?v=4HRC6c5-2lQ", "domain"=>"dsfwdsf", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.yotube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.yotube.com/watch?v=4HRC6c5-2lQ"], ["domain", "dsfwdsf"]]
↳ app/models/url.rb:10
 (6.1ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaaaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.maco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.5ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "makaaaaaan"], ["prefix", "www.maco/"]]
↳ app/models/domain_prefix.rb:20
 (0.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1fa681b2"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.yotube.com/watch?v=4HRC6c5-2lQ"], ["id", 290], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "www.maco/1fa681b2"], ["id", 290]]
↳ app/models/url.rb:15
 (0.5ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=dsfwdsf&long_url=https%3A%2F%2Fwww.yotube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.maco%2F1fa681b2 Completed 200 OK in 39ms (ActiveRecord: 16.2ms)

Started GET “/urls/show?Status=Success&domain=dsfwdsf&long_url=https%3A%2F%2Fwww.yotube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.maco%2F1fa681b2” for 127.0.0.1 at 2019-01-23 15:57:44 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"dsfwdsf", "long_url"=>"https://www.yotube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.maco/1fa681b2"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)
Report Load (25.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (1.0ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 30], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (3.5ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 73ms (Views: 71.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:57:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 70ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:58:06 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 47ms (Views: 46.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 15:58:15 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kY5b6BIyyhFe8fFHZQqXOlEtI83QWbH9dbPIcYai1vfjDaeN8fSy+cMh2gGFLPvMvOmx3x3cLuQwA67T3USEBw==", "long_url"=>"https://stackoverflow.com/questions/8258517/how-to-check-whether-a-string-contains-a-substring-in-ruby", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/8258517/how-to-check-whether-a-string-contains-a-substring-in-ruby"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/8258517/how-to-check-whether-a-string-contains-a-substring-in-ruby"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:10
 (6.0ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1515fe73"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/8258517/how-to-check-whether-a-string-contains-a-substring-in-ruby"], ["id", 291], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "www.st.co/1515fe73"], ["id", 291]]
↳ app/models/url.rb:15
 (0.4ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F8258517%2Fhow-to-check-whether-a-string-contains-a-substring-in-ruby&short_url=www.st.co%2F1515fe73 Completed 200 OK in 63ms (ActiveRecord: 14.5ms)

Started GET “/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F8258517%2Fhow-to-check-whether-a-string-contains-a-substring-in-ruby&short_url=www.st.co%2F1515fe73” for 127.0.0.1 at 2019-01-23 15:58:15 +0530

Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9

Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/8258517/how-to-check-whether-a-string-contains-a-substring-in-ruby", "short_url"=>"www.st.co/1515fe73"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.9ms)
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (17.6ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (1.1ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 31], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (0.2ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 67ms (Views: 66.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 15:58:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 58ms (Views: 56.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 15:59:44 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 43ms (Views: 41.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 16:00:02 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FVHq4i1jy1fPC/RGWW+BIrqa45ZLEEvIj4EpXNY1vZVn0haHzqWzv1Lb3wC5Se3UV15xhIaV1NHKMU/+jdPvZQ==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019", "domain"=>"cricbuzz.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019"], ["domain", "cricbuzz.com"]]
↳ app/models/url.rb:10
 (6.0ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.crco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "cricbuzz.com"], ["prefix", "www.crco/"]]
↳ app/models/domain_prefix.rb:20
 (0.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4043e268"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019"], ["id", 292], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "4043e268"], ["id", 292]]
↳ app/models/url.rb:15
 (0.4ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=www.crco%2F4043e268 Completed 200 OK in 38ms (ActiveRecord: 15.2ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=www.crco%2F4043e268” for 127.0.0.1 at 2019-01-23 16:00:02 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz.com", "long_url"=>"https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019", "short_url"=>"www.crco/4043e268"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (8.0ms)
Report Load (0.6ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 32], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.2ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 59ms (Views: 55.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 16:00:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 84ms (Views: 82.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 16:00:12 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 59ms (Views: 57.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 16:00:14 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J5dNfvBADtjMathT44teX6gMupfZF8qNg5T76YAHxyLiKZt+i8J79SUBLh1RtURN2dFxJaWvwvL+/Yz+rekHLQ==", "short_url"=>"4043e268", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4043e268"], ["LIMIT", 1]]
↳ app/models/url.rb:50

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=4043e268 Completed 200 OK in 4ms (ActiveRecord: 0.5ms)

Started GET “/urls/show?Status=OK+%21&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=4043e268” for 127.0.0.1 at 2019-01-23 16:00:14 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"cricbuzz.com", "long_url"=>"https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019", "short_url"=>"4043e268"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 68ms (Views: 66.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 16:01:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 44ms (Views: 43.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 16:01:03 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 89ms (Views: 87.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 16:01:06 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nDoD+eowdqXRsdLBxC1q2MgYOf0hj0pY6xzAjNJiX5BZhNX5kbIDiDjaJI92E3DKucXyT103QieWdbeb/4yfnw==", "short_url"=>"4043e268", "commit"=>"Generate Short Url"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" IS NULL ORDER BY "domain_prefixes"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 10ms (ActiveRecord: 3.9ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 16:01:06 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 69ms (Views: 67.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 16:01:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 54ms (Views: 51.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 16:01:09 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 74ms (Views: 72.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 16:01:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FuB3FYTxOv9bDYXmwDJdrjZfS3G/EXLPYq0MAyAQxGtkY4twZzdCF8bdrqAgFDFY25vZY3KU7dYnHWqhe/aWmw==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019", "domain"=>"cricbuzz.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=4043e268 Completed 200 OK in 14ms (ActiveRecord: 3.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=4043e268” for 127.0.0.1 at 2019-01-23 16:01:18 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"cricbuzz.com", "long_url"=>"https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019", "short_url"=>"4043e268"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 68ms (Views: 66.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 16:01:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 84ms (Views: 82.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 16:01:23 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (3.3ms)

Completed 200 OK in 72ms (Views: 70.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 16:01:26 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kuLBSLVQoh96wMFgF3pBoWOeQMBZWEj12Qsz974nmhxXXBdIztLXMpOrNy6lRFuzEkOLciXgQIqkYkTgk8laEw==", "short_url"=>"4043e268", "commit"=>"Generate Short Url"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" IS NULL ORDER BY "domain_prefixes"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 16:01:26 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 59ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 16:01:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 43ms (Views: 41.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 16:01:54 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.9ms)

Completed 200 OK in 80ms (Views: 78.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 16:01:56 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (3.5ms)

Completed 200 OK in 86ms (Views: 84.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 16:01:59 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"X/YeyGWOLTgJMLa6375SGu7ma1//5AjlIKvcGK7QLpeaSMjIHgxYFeBbQPRtgEgInzug7YNcAJpdwqsPgz7umA==", "short_url"=>"4043e268", "commit"=>"Generate Short Url"}
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=www.crco%2F4043e268 Completed 200 OK in 14ms (ActiveRecord: 5.8ms)

Started GET “/urls/show?Status=OK+%21&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=www.crco%2F4043e268” for 127.0.0.1 at 2019-01-23 16:01:59 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"cricbuzz.com", "long_url"=>"https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019", "short_url"=>"www.crco/4043e268"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 63ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 16:02:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 66ms (Views: 63.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 16:02:07 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.2ms)

Completed 200 OK in 71ms (Views: 69.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 16:02:09 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QnRPaXGUSZnWj+kVaSIWHh/BygQWo8ZHWaztnMTHwNiHyplpChY8tD/kH1vbHAwMbhwBtmobzjgkxZqL6SkA1w==", "short_url"=>"www.crco/4043e268", "commit"=>"Generate Short Url"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=www.crco%2F4043e268 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=cricbuzz.com&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106269%2Fkurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019&short_url=www.crco%2F4043e268” for 127.0.0.1 at 2019-01-23 16:02:09 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"cricbuzz.com", "long_url"=>"https://www.cricbuzz.com/cricket-news/106269/kurtis-patterson-jhye-richardson-to-debut-at-gabba-sri-lanka-cricket-team-tour-of-australia-2019", "short_url"=>"www.crco/4043e268"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 93ms (Views: 91.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 16:02:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 69ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"
Url Load (0.4ms)  SELECT "urls".* FROM "urls"
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 281]]
 (1.3ms)  COMMIT
 (0.3ms)  BEGIN
Url Destroy (0.7ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 282]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 283]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 284]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 285]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 286]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 287]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 288]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 289]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 290]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 291]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 292]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 275]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 276]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 277]]
 (0.5ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 278]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 279]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 280]]
 (0.3ms)  COMMIT

Started GET “/” for 127.0.0.1 at 2019-01-23 17:15:18 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 347ms (Views: 341.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 17:15:19 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.8ms)

Completed 200 OK in 63ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 17:15:20 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KptcgngSro4yrXVFxLSx7ZIlNPILF9q5guNlnAzlGbc9fAY1TwaoCrCCqEfN/kNx9YA8AG5DWs4l0f8bdspi/A==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 4.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:15:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 83ms (Views: 80.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 17:15:21 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.9ms)

Completed 200 OK in 156ms (Views: 153.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 17:15:24 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u9ffRpCoNAD7eiPMJrpmV7SeoLJfVwU8MhzoLDm3COXJVCMjc25M6GaqCIrGnAqhWVoyoJLSmiV3rI6OYlFaFQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["domain", "guides"]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Completed 500 Internal Server Error in 26ms (ActiveRecord: 4.6ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:32:in `rescue in shorten_url' app/models/url.rb:7:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:56:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 17:15:56 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u9ffRpCoNAD7eiPMJrpmV7SeoLJfVwU8MhzoLDm3COXJVCMjc25M6GaqCIrGnAqhWVoyoJLSmiV3rI6OYlFaFQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["domain", "guides"]]
↳ app/models/url.rb:10
 (1.4ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "guides"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.guco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "guides"], ["prefix", "www.guco/"]]
↳ app/models/domain_prefix.rb:20
 (6.1ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f8761dc"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:51
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["id", 294], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "8f8761dc"], ["id", 294]]
↳ app/models/url.rb:15
 (4.8ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761dc Completed 200 OK in 44ms (ActiveRecord: 18.1ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761dc” for 127.0.0.1 at 2019-01-23 17:15:56 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.guco/8f8761dc"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.7ms)

Completed 200 OK in 61ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 33], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.4ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:15:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 70ms (Views: 67.6ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 17:15:58 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.0ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (15.6ms)

Completed 200 OK in 73ms (Views: 60.4ms | ActiveRecord: 8.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:16:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 82ms (Views: 80.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 17:16:01 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:16:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 48ms (Views: 46.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-23 17:54:33 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 310ms (Views: 305.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 17:54:34 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (6.4ms)

Completed 200 OK in 79ms (Views: 77.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 17:54:35 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"VKwO7abFvSBVUUmoD7+/zP+FESpZ5gM3Htsa4oy5iyhDS1RakdG7pNd+lKoG9U1QmCAZ2Dyyg0C56YBl9pbwYw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 4.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:54:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 91ms (Views: 49.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 17:54:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (11.4ms)

Completed 200 OK in 135ms (Views: 132.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 17:54:48 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cRV+tb1h57HEQzBSNtJqO2ibUCSneCCJchixvspVLgoDloLQXqefWVmTGxTW9AbNhV/CNmr9v5A3qNcckbN8+g==", "long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/", "domain"=>"crazyforcode", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "http://www.crazyforcode.com/design-tinyurl-service/"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "http://www.crazyforcode.com/design-tinyurl-service/"], ["domain", "crazyforcode"]]
↳ app/models/url.rb:10
 (5.8ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "crazyforcode"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.crco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.caco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "crazyforcode"], ["prefix", "www.caco/"]]
↳ app/models/domain_prefix.rb:20
 (0.5ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "16b4b65"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "16b4b65"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "16b4b65"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "http://www.crazyforcode.com/design-tinyurl-service/"], ["id", 295], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "16b4b65"], ["id", 295]]
↳ app/models/url.rb:15
 (0.3ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2F&short_url=www.caco%2F16b4b65 Completed 200 OK in 46ms (ActiveRecord: 16.7ms)

Started GET “/urls/show?Status=Success&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2F&short_url=www.caco%2F16b4b65” for 127.0.0.1 at 2019-01-23 17:54:48 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"crazyforcode", "long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/", "short_url"=>"www.caco/16b4b65"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 71ms (Views: 70.0ms | ActiveRecord: 0.0ms)

Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 34], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.3ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Load (0.4ms)  SELECT "urls".* FROM "urls"
 (0.2ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 294]]
 (1.2ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 295]]
 (0.3ms)  COMMIT

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:55:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 66ms (Views: 60.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 17:55:28 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 89ms (Views: 87.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:55:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 74ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 17:55:34 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 92ms (Views: 90.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 17:55:44 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BiFrlx18Oe7qLNQzH/paJlgM1WN/H/4vQjpi7y32WZt0opfy/rpBBnf8/3X/3DbQtchHcbKaYTYHigRNdhALaw==", "long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "domain"=>"crazyforcode", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "http://www.crazyforcode.com/design-tinyurl-service/vipul"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "http://www.crazyforcode.com/design-tinyurl-service/vipul"], ["domain", "crazyforcode"]]
↳ app/models/url.rb:10
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 35], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.6ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "crazyforcode"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "39b2a84"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "39b2a84"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "39b2a84"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
 (6.7ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "http://www.crazyforcode.com/design-tinyurl-service/vipul"], ["id", 296], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "39b2a84"], ["id", 296]]
↳ app/models/url.rb:15
 (4.8ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84 Completed 200 OK in 24ms (ActiveRecord: 13.5ms)

Started GET “/urls/show?Status=Success&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84” for 127.0.0.1 at 2019-01-23 17:55:44 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"crazyforcode", "long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"www.caco/39b2a84"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (4.3ms)

Completed 200 OK in 63ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:55:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 57ms (Views: 55.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 17:55:50 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (3.6ms)

Completed 200 OK in 64ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 17:55:53 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qNGjg2y7flW4p6MPOrvAIDAtHXxsvzkylD7kwWcDYfRtb3WDFzkLeFHMVUGIhdoyQfDWzhAHMU3pV5PWSu2h+w==", "short_url"=>"www.caco/39b2a84", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "39b2a84"], ["LIMIT", 1]]
↳ app/models/url.rb:49
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "crazyforcode"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84 Completed 200 OK in 8ms (ActiveRecord: 0.8ms)

Started GET “/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84” for 127.0.0.1 at 2019-01-23 17:55:53 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"crazyforcode", "long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"www.caco/39b2a84"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 65ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:55:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 94ms (Views: 91.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 17:55:55 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.9ms)

Completed 200 OK in 70ms (Views: 67.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 17:56:00 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QdRIhZNgLvm6yMzRTJIwAsk2bNHAug/IVBeb5oL6A3+Eap6F6OJb1FOjOp/+rCoQuOunY7wCB7cpfuzxrxTDcA==", "short_url"=>"39b2a84", "commit"=>"Generate Short Url"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "crazyforcode"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84” for 127.0.0.1 at 2019-01-23 17:56:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"crazyforcode", "long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"www.caco/39b2a84"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.5ms)

Completed 200 OK in 59ms (Views: 57.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:56:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 56ms (Views: 54.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 17:56:03 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.4ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (10.7ms)

Completed 200 OK in 70ms (Views: 49.4ms | ActiveRecord: 5.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:56:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 74ms (Views: 71.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 17:56:05 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 65ms (Views: 63.5ms | ActiveRecord: 0.0ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:56:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 56ms (Views: 54.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 17:58:09 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 41ms (Views: 39.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 17:58:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"w55bk7TAo7jhuW2NS/k8Vj4tIONUrN782Uj0kXI/hLWxHaf2VwbbUHxpRsur31Cg0+my8ZkpQeWc+JIzKdnWRQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["domain", "guides"]]
↳ app/models/url.rb:10
 (5.9ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "guides"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f8761d"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f8761d"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f8761d"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["id", 297], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "8f8761d"], ["id", 297]]
↳ app/models/url.rb:15
 (0.3ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d Completed 200 OK in 36ms (ActiveRecord: 14.7ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d” for 127.0.0.1 at 2019-01-23 17:58:11 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.guco/8f8761d"}
Rendering urls/show.erb within layouts/application
Report Load (8.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.6ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 36], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (5.0ms)  COMMIT
↳ app/workers/url_worker.rb:12
Rendered urls/show.erb within layouts/application (311.0ms)

Completed 500 Internal Server Error in 317ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `back_path' for #<#<Class:0x00007f95968f3378>:0x00007f95925229a0>):

4: <% end %>
5: 
6: <%end %>
7: <center><%= link_to "Back",back_path%></center>
8: 
9: <center><%= link_to "Home",home_index_path%></center>

app/views/urls/show.erb:7:in `_app_views_urls_show_erb__1349030924652456742_70140190857500' Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d” for 127.0.0.1 at 2019-01-23 17:58:25 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.guco/8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.4ms)

Completed 200 OK in 72ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:58:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 123ms (Views: 121.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 17:58:29 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 57ms (Views: 55.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 17:58:32 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yR7EM8a0WtZb6Z+Tt5Fq4k/j8aVMnO3ptnuURwi+8aW7nThWJXIiPsY5tNVXtwYUoidjt4EZcvDzy/LlU1ijVQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"a", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=8f8761d Completed 200 OK in 8ms (ActiveRecord: 1.1ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=8f8761d” for 127.0.0.1 at 2019-01-23 17:58:32 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 17:58:33 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.6ms)

Completed 200 OK in 82ms (Views: 79.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 17:58:38 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7MflAAfs+JOBsmjaD03i9J+Ig5+ybIJQ1jwyHnMhzLyeRBll5CqAexxiQ5zva44CckwRjX/pHUmTjFS8KMeeTA==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=8f8761d Completed 200 OK in 8ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=8f8761d” for 127.0.0.1 at 2019-01-23 17:58:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.7ms)

Completed 200 OK in 84ms (Views: 82.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 17:58:41 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.4ms)

Completed 200 OK in 109ms (Views: 107.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:58:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 61ms (Views: 59.3ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 17:58:59 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.5ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (12.2ms)

Completed 200 OK in 74ms (Views: 50.7ms | ActiveRecord: 6.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:59:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 59ms (Views: 55.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 17:59:09 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 61ms (Views: 59.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 17:59:13 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+TSw3+jCTq3KJszb5nOjJtE0ExMfIjewEvROgA3HLbOLt0y6CwQ2RVf2550GVc/QPPCBAdKnqKlXRCgiViF/Qw==", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["domain", "guides"]]
↳ app/models/url.rb:10
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 37], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.4ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "guides"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fcf0"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fcf0"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fcf0"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.3ms)  BEGIN
↳ app/models/url.rb:15
 (8.3ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://guides.rubyonrails.org/caching_with_rails.html"], ["id", 298], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "660fcf0"], ["id", 298]]
↳ app/models/url.rb:15
 (5.0ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0 Completed 200 OK in 24ms (ActiveRecord: 13.7ms)

Started GET “/urls/show?Status=Success&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0” for 127.0.0.1 at 2019-01-23 17:59:13 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"www.guco/660fcf0"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 83ms (Views: 81.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:59:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 64ms (Views: 62.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 17:59:21 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.3ms)

Completed 200 OK in 62ms (Views: 59.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 17:59:23 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HguO20QMp30hOY092dO/NjiFfnEM65r4UI2F/4XpmU7btVjbP47SUMhSe3Nr7aUkSVi1w3BTkoct5PLoqAdZQQ==", "short_url"=>"www.guco/660fcf0", "commit"=>"Generate Short Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fcf0"], ["LIMIT", 1]]
↳ app/models/url.rb:49
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "guides"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0 Completed 200 OK in 5ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0” for 127.0.0.1 at 2019-01-23 17:59:23 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"www.guco/660fcf0"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.8ms)

Completed 200 OK in 63ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 17:59:24 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.1ms)

Completed 200 OK in 65ms (Views: 62.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 17:59:28 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Iw0lJVzhDtIOxvAwuikRWaLBxtEjNuTkufTLbAU79I/ms/MlJ2N7/+etBn4IFwtL0xwNY1+O7JvEnbx7KNU0gA==", "short_url"=>"660fcf0", "commit"=>"Generate Short Url"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "guides"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0 Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0” for 127.0.0.1 at 2019-01-23 17:59:28 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"www.guco/660fcf0"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 77ms (Views: 76.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 17:59:33 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.4ms)

Completed 200 OK in 54ms (Views: 53.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 17:59:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 56ms (Views: 54.0ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:00:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.0ms)

Completed 200 OK in 56ms (Views: 54.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:01:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Nnv32qts4J7zj4SLIayDHf4rw3HpPicxd0x5coYjirNE+Au/SKqYdm5fr83Biu/rE+9RYyS7uCgy/B/Q3cXYQw==", "long_url"=>"https://www.proptiger.com/mumbai/thane-west/lodha-group-splendora-502632", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/mumbai/thane-west/lodha-group-splendora-502632"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/mumbai/thane-west/lodha-group-splendora-502632"], ["domain", "proptiger.com"]]
↳ app/models/url.rb:10
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 38], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.3ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (7.8ms)  COMMIT
↳ app/workers/url_worker.rb:12
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.prco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.2ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "proptiger.com"], ["prefix", "www.prco/"]]
↳ app/models/domain_prefix.rb:20
 (4.6ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a95c98a"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a95c98a"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a95c98a"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.1ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/mumbai/thane-west/lodha-group-splendora-502632"], ["id", 299], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "a95c98a"], ["id", 299]]
↳ app/models/url.rb:15
 (0.3ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=proptiger.com&long_url=https%3A%2F%2Fwww.proptiger.com%2Fmumbai%2Fthane-west%2Flodha-group-splendora-502632&short_url=www.prco%2Fa95c98a Completed 200 OK in 31ms (ActiveRecord: 14.3ms)

Started GET “/urls/show?Status=Success&domain=proptiger.com&long_url=https%3A%2F%2Fwww.proptiger.com%2Fmumbai%2Fthane-west%2Flodha-group-splendora-502632&short_url=www.prco%2Fa95c98a” for 127.0.0.1 at 2019-01-23 18:01:22 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"proptiger.com", "long_url"=>"https://www.proptiger.com/mumbai/thane-west/lodha-group-splendora-502632", "short_url"=>"www.prco/a95c98a"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 59ms (Views: 58.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:01:35 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.7ms)

Completed 200 OK in 86ms (Views: 82.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:01:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 83ms (Views: 81.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:01:39 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.5ms)

Completed 200 OK in 87ms (Views: 85.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:01:42 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yLy5qPOetB1mUKFj3qcyzpXrusKReY4qO9Op4E2TSMMNAm+oiBzBMI87Vy1smSjc5DZxcO3BhlVGut73YH2IzA==", "short_url"=>"www.prco/a95c98a", "commit"=>"Generate Short Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a95c98a"], ["LIMIT", 1]]
↳ app/models/url.rb:49
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=proptiger.com&long_url=https%3A%2F%2Fwww.proptiger.com%2Fmumbai%2Fthane-west%2Flodha-group-splendora-502632&short_url=www.prco%2Fa95c98a Completed 200 OK in 5ms (ActiveRecord: 0.8ms)

Started GET “/urls/show?Status=OK+%21&domain=proptiger.com&long_url=https%3A%2F%2Fwww.proptiger.com%2Fmumbai%2Fthane-west%2Flodha-group-splendora-502632&short_url=www.prco%2Fa95c98a” for 127.0.0.1 at 2019-01-23 18:01:42 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"proptiger.com", "long_url"=>"https://www.proptiger.com/mumbai/thane-west/lodha-group-splendora-502632", "short_url"=>"www.prco/a95c98a"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:01:43 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 61ms (Views: 58.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:01:47 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"T1m+zXI3zuvBK3O/WQRjQI5Iy6Y/1LpUmE8bsIXg4FCK52jNCbW7xihAhfHrOnlS/5UAFENssivlJmynqA4gXw==", "short_url"=>"a95c98a", "commit"=>"Generate Short Url"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=proptiger.com&long_url=https%3A%2F%2Fwww.proptiger.com%2Fmumbai%2Fthane-west%2Flodha-group-splendora-502632&short_url=www.prco%2Fa95c98a Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=proptiger.com&long_url=https%3A%2F%2Fwww.proptiger.com%2Fmumbai%2Fthane-west%2Flodha-group-splendora-502632&short_url=www.prco%2Fa95c98a” for 127.0.0.1 at 2019-01-23 18:01:47 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"proptiger.com", "long_url"=>"https://www.proptiger.com/mumbai/thane-west/lodha-group-splendora-502632", "short_url"=>"www.prco/a95c98a"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 83ms (Views: 80.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:02:01 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.3ms)

Completed 200 OK in 67ms (Views: 65.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:02:04 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kN7EgkD3Tan0geR6Sgdxoq5Uap9g7CkwjkduK+64Pg1VYBKCO3U4hB3qEjT4OWuw34mhLRxUIU/zLhk8w1b+Ag==", "short_url"=>"https://www.proptiger.com/mumbai/ulwe/skyline-infrastructure-bhakti-aura-1881947", "commit"=>"Generate Short Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "skyline-infrastructure-bhakti-aura-1881947"], ["LIMIT", 1]]
↳ app/models/url.rb:49

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 4ms (ActiveRecord: 0.4ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 18:02:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 64ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:02:05 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.9ms)

Completed 200 OK in 70ms (Views: 69.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:02:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 66ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:02:28 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 76ms (Views: 74.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:02:31 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TO6AdJr3qRbWn/WJzZYM766eB7RMVLmYKCkHCFONZROJUFZ04XXcOz/0A8d/qBb930PMBjDssedVQHAffmOlHA==", "short_url"=>"https://www.vg.sw.n/8f876", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/models/url.rb:49

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 18:02:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.9ms)

Completed 200 OK in 63ms (Views: 61.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:02:32 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.7ms)

Completed 200 OK in 81ms (Views: 79.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:02:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 72ms (Views: 69.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:02:35 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 59ms (Views: 58.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:02:36 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8Y9FWDKVBHtCV7zFHO4pVtvmZ32ya/QCUcxtboNwYxuDDLk90VN8k9+Hl4P8yEWgNiL1b3/uaxsUfAvM2JYx6w==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_to_short Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:02:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.1ms)

Completed 200 OK in 87ms (Views: 84.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:02:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 66ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 18:02:39 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (2.1ms)

Completed 200 OK in 60ms (Views: 58.7ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:02:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 78ms (Views: 77.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:04:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 63ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-23 18:04:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 77ms (Views: 73.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 18:04:46 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:04:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 48ms (Views: 45.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:04:51 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:04:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 38ms (Views: 37.1ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-23 18:04:57 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-23 18:04:57 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-23 18:04:57 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-23 18:04:57 +0530 Started GET “/sidekiq/javascripts/dashboard.js” for 127.0.0.1 at 2019-01-23 18:04:57 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-23 18:04:57 +0530 Started GET “/sidekiq/stats” for 127.0.0.1 at 2019-01-23 18:05:02 +0530 Started GET “/sidekiq” for 127.0.0.1 at 2019-01-23 18:05:04 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-23 18:05:04 +0530 Started GET “/sidekiq/javascripts/dashboard.js” for 127.0.0.1 at 2019-01-23 18:05:04 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-23 18:05:04 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-23 18:05:04 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-23 18:05:04 +0530 Started GET “/s” for 127.0.0.1 at 2019-01-23 18:05:06 +0530

ActionController::RoutingError (No route matches [GET] “/s”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-23 18:05:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 93ms (Views: 91.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:05:21 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:05:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 40ms (Views: 38.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 18:05:26 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 79ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-23 18:05:29 +0530 Processing by HomeController#generate_report as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 54ms (Views: 52.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 18:05:30 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 63ms (Views: 60.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 18:05:31 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"a1EVfa1FIAlKw21mD1KWmN0ss7uy+oLjjRZ6WFirTgt8tk/KmlEmjcjssGQGGGQEuom7SdeuApQqJODfIoQ1QA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.5ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 18:05:34 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:05:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 73ms (Views: 70.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2019-01-23 18:05:40 +0530

ActionController::RoutingError (No route matches [GET] “/login”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/login” for 127.0.0.1 at 2019-01-23 18:05:47 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:05:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_up” for 127.0.0.1 at 2019-01-23 18:05:57 +0530

ActionController::RoutingError (No route matches [GET] “/users/sign_up”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-23 18:06:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 67ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 18:06:08 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 4ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 68ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-23 18:06:08 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (3.1ms)

Completed 200 OK in 69ms (Views: 65.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 55ms (Views: 53.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 18:06:13 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 60ms (Views: 59.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 18:06:14 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6Lv1gJDpSitCb9pH0ql1Y1dFoQ5bK6tgHsYKaXTSRP7/XK83p/1Mr8BAB0Xb44f/MOCp/D5/Kxe59JDuDv0/tQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 71ms (Views: 69.5ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-23 18:06:16 +0530 Processing by UsersController#signup as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 79ms (Views: 77.0ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-23 18:06:20 +0530 Processing by UsersController#signup as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 61ms (Views: 59.5ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 18:06:22 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 44ms (Views: 41.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 18:06:23 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 75ms (Views: 74.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 18:06:26 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hxjyGohBRrjWr8wpSJAiZOo2uQ+GD2za8YjH7woehOqQ/6itv1VAPFSAEStB2tD4jZOx/eNb7K1Wul1ocDH/oQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 85ms (Views: 83.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-23 18:06:28 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 46ms (Views: 43.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 18:06:31 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.5ms)

Completed 200 OK in 72ms (Views: 70.7ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 18:06:31 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5+7vEmkojm1EL0Tgta2i96iQvTH8kkgA6cwYqzgNgZvwCbWlXjyI6cYAmeK851BrzzW1w5nGyHdO/oIsQiL60A==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 72ms (Views: 68.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 18:06:33 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 53ms (Views: 51.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 82ms (Views: 80.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:06:37 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.4ms)

Completed 200 OK in 67ms (Views: 65.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:06:40 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lH0X0lm8CpEvev6Reyt0qAH8NqxtElbY9D8BjBPbeHHm/uu3unpyebKq1debDRhe7DikvqCXycGxj2cuSD0qgQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=8f8761d Completed 200 OK in 24ms (ActiveRecord: 3.8ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=8f8761d” for 127.0.0.1 at 2019-01-23 18:06:40 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 59ms (Views: 57.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:06:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 59ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:06:49 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.5ms)

Completed 200 OK in 85ms (Views: 83.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:06:51 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PExi7rKvItv7Jxym7jQtz4ZKbanyfY3MSrhN74g+98L58rTuyS1X9hJM6uhcCjfd95emG47FhbM30Tr4pdA3zQ==", "short_url"=>"8f8761d", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f8761d"], ["LIMIT", 1]]
↳ app/models/url.rb:49
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "guides"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d Completed 200 OK in 10ms (ActiveRecord: 2.8ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d” for 127.0.0.1 at 2019-01-23 18:06:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.guco/8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:07:01 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.6ms)

Completed 200 OK in 83ms (Views: 80.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:10:32 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZnJwza5cJRxeq7AZj8KAT6OaSYsuA/Eqt21VNtUOBaGjzKbN1d5QMbfARlc9/Jpd0keCOVK7+VXKBCIh+ODFrg==", "short_url"=>"8f876", "commit"=>"Find Long Url"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f876"], ["LIMIT", 1]]
↳ app/models/url.rb:52

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 12ms (ActiveRecord: 5.7ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 18:10:32 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 56ms (Views: 54.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:10:33 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.0ms)

Completed 200 OK in 83ms (Views: 81.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:10:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 64ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:10:42 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.4ms)

Completed 200 OK in 64ms (Views: 62.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:10:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5sPs6VLvxvLXmySVfWfSXt805Lu+hiP3k9XOFRpaRXOUQBCMsSm+GkpLD9OdQb6oMvB2qXMDvO7WZai3QbwXgw==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.4ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:30
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "guides"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d Completed 200 OK in 19ms (ActiveRecord: 5.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d” for 127.0.0.1 at 2019-01-23 18:10:45 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.guco/8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 62.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:10:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 92ms (Views: 90.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:10:52 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 69ms (Views: 68.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:10:54 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IplPM2TI2E2+Mm2P4RUb51rfLrIzVwEKi5KF6UPd6C/nJ5kzH0qtYFdZm8FTKwH1KwLlAE/vCXX2+/L+bjMoIA==", "short_url"=>"www.guco/8f8761d", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 18:10:54 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 61.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:10:56 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.8ms)

Completed 200 OK in 48ms (Views: 46.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:11:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 59ms (Views: 58.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:11:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 78ms (Views: 76.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:11:05 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uQFRTkzH49r3g83fH9+siJBYEurp+G26TUykCoNuc2gZ/kg2vVnZ/YOJHGcWRJEz4XyWWYifq+shVQycevrPQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.5ms)  ROLLBACK
↳ app/models/url.rb:10

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d Completed 200 OK in 7ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d” for 127.0.0.1 at 2019-01-23 18:11:05 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.guco/8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 60ms (Views: 58.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:11:12 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (5.3ms)

Completed 200 OK in 72ms (Views: 70.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:11:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 67ms (Views: 65.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:11:13 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.7ms)

Completed 200 OK in 90ms (Views: 88.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:11:17 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dCoGd06/9+ag+Pq+eqY83euGalTqCMKuKwMw350g2hOxlNB3NT2Cy0mTDPDImCbPmluh5pawytFWakfIsM4aHA==", "short_url"=>"www.guco/8f8761d", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 18:11:17 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 67ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:11:19 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.6ms)

Completed 200 OK in 68ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:11:21 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mJ+F4A3lk7XN0kTOu4vkJVte+TDPzOsmwTBxaLqAd4RdIVPgdmfmmCS5soAJtf43KoMygrN041m8WQZ/l263iw==", "short_url"=>"www.guco/8f8761d", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 18:11:21 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 56ms (Views: 53.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:11:22 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.1ms)

Completed 200 OK in 74ms (Views: 72.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:13:39 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"La35Tg3ks0B5fgUBCu8MmqxTOhXe/JIJRYEp6EAT22boEy9OdmbGbZAV80+40RaI3Y7xp6JEmnY46F7/bf0baQ==", "short_url"=>"8f876", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 4ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-23 18:13:39 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 79ms (Views: 74.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:13:40 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.6ms)

Completed 200 OK in 73ms (Views: 71.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:13:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 71ms (Views: 66.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:13:41 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.3ms)

Completed 200 OK in 91ms (Views: 90.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:13:43 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fmyAFdxGOCNLcBmccQDjARb8Ql869Bzqz6GtpP4c9O0M73xwP4BAy9agMtqRJo/3+zjQTfdxg/OKEcsGpfqmHQ==", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.youtube.com/watch?v=4HRC6c5-2lQ"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:10

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d Completed 200 OK in 12ms (ActiveRecord: 3.6ms)

Started GET “/urls/show?Status=Already+Exists&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d” for 127.0.0.1 at 2019-01-23 18:13:43 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.guco/8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:13:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 65ms (Views: 63.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:13:49 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.9ms)

Completed 200 OK in 66ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:13:52 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jFKZp6cuznPOI3t6AX0HLvfewVpWFDPHUk+j3DTY4sdJ7E+n3Ky7XidIjTSzQx08hgMK6CqsO7gvJtTLGTYiyA==", "short_url"=>"www.guco/8f8761d", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8f8761d"], ["LIMIT", 1]]
↳ app/models/url.rb:52

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d Completed 200 OK in 4ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d” for 127.0.0.1 at 2019-01-23 18:13:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.guco/8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.6ms)

Completed 200 OK in 90ms (Views: 85.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-23 18:13:54 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (3.3ms)

Completed 200 OK in 74ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-23 18:13:56 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UboxsabcIRIto0rFRu0VdcEx1VykXbZnGFN8BuPXt/GUBOex3V5UP8TIvIv00w9nsOwe7tjlvhhlOgsRzjl3/g==", "short_url"=>"www.guco/8f8761d", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d Completed 200 OK in 3ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D4HRC6c5-2lQ&short_url=www.guco%2F8f8761d” for 127.0.0.1 at 2019-01-23 18:13:56 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://www.youtube.com/watch?v=4HRC6c5-2lQ", "short_url"=>"www.guco/8f8761d"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 70ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:14:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 60.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:15:29 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 60ms (Views: 59.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:15:44 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BtRCGhmP6I/meb6dNVt1OQF0qWqzG1+G2Pi5fYwqgQ90V75/+kmQZ3upldvVfRnP7LA7eH6ewJ+dSN/f18zT/w==", "long_url"=>"https://www.proptiger.com/property-offers", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.8ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/property-offers"], ["domain", "proptiger.com"]]
↳ app/models/url.rb:10
 (5.6ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:33
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 33ms (ActiveRecord: 14.2ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 18:15:44 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (1.1ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 39], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.3ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 65ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:15:45 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 62ms (Views: 61.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:15:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mbERh5Fg58fERVaFFzd1pCBD2XOrYgzVyDnaM+59nKfrMu3icqafL1mVfcP3ERlSzYdLYWbnk8yNibyRtZvOVw==", "long_url"=>"https://www.proptiger.com/property-offers", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 7ms (ActiveRecord: 0.7ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 18:15:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.5ms)

Completed 200 OK in 57ms (Views: 55.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:16:30 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.3ms)

Completed 200 OK in 300ms (Views: 295.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:16:35 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LT4v25c/rvnbPB0nvA3w3OiIk2avvvhyCI+sA0OA4VhfvdO+dPnWEUbsNmFcK5wqBUwBdGI7Z2tNP8qhGGazqA==", "long_url"=>"https://www.proptiger.com/property-offers", "domain"=>"guides", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 20ms (ActiveRecord: 5.1ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 18:16:35 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 84ms (Views: 82.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:17:48 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 81ms (Views: 79.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:17:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8icwGpSsgH7hh3ah5+PIBfV5WuDkIATZD83W64wBVE+ApMx/d2r4lnxXXecHxaTzGL3I8imlm8BKfbBJ1+cGvw==", "long_url"=>"https://www.proptiger.com/property-offers", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:9

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 28ms (ActiveRecord: 3.6ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 18:17:53 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (3.9ms)

Completed 200 OK in 82ms (Views: 80.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:18:25 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 45ms (Views: 43.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:18:33 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Qekta/9YwB0stbDEj89EM1dfKdAFrl1ADxOH4m89HrMzatEOHJ649bFlm4Jv6SjFupu7wsgrwllKo+FANNtMQw==", "long_url"=>"https://www.proptiger.com/property-offers", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:9
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:9
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:9

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 17ms (ActiveRecord: 4.7ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 18:18:33 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.6ms)

Completed 200 OK in 71ms (Views: 69.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:20:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:20:07 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QirlnZ0mjD1eWJgZ7T63sL/iQic0UfyzrgnobCx0w7IwqRn4fuD01cOIs18NGNtGUibQNfnUY6rruY7Od5KRQg==", "long_url"=>"https://www.proptiger.com/property-offers", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 16ms (ActiveRecord: 3.9ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 18:20:07 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.3ms)

Completed 200 OK in 76ms (Views: 73.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:21:38 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 46ms (Views: 44.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:21:43 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WK/nKaNwktyFpsrR8I3AbViFwRY2EodrSljdTnv4WSUqLBtMQLbqNBh24ZcQq6ybtUFTBPuXGHIP6LvsIB4L1Q==", "long_url"=>"https://www.proptiger.com/property-offers", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:30

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 17ms (ActiveRecord: 4.3ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 18:21:43 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)

Completed 200 OK in 59ms (Views: 57.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:21:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.8ms)

Completed 200 OK in 64ms (Views: 62.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:21:46 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.2ms)

Completed 200 OK in 90ms (Views: 88.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:21:49 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ijx1JVmatJt8/l++965CMXf0ziglAjYrStuBTkjWqFRQv4lAulzMc+EudPgXiC7HmjBcOuiHqTIPa+fsEzD6pA==", "long_url"=>"https://www.proptiger.com/property-offers", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.4ms)  ROLLBACK
↳ app/models/url.rb:10

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 6ms (ActiveRecord: 0.8ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 18:21:49 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 62.5ms | ActiveRecord: 0.0ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 300], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 300]]
 (1.3ms)  COMMIT

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:22:24 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 50ms (Views: 48.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:22:29 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5JAj27nCu/tWfPsmLBDVYNMWmJoOBOafuYNOgZ7+GR2WE9++WgTDE8us0GDMNrmWPtIKiMOBeYb8MygjxRhL7Q==", "long_url"=>"https://www.proptiger.com/property-offers", "domain"=>"proptiger.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/property-offers"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/property-offers"], ["domain", "proptiger.com"]]
↳ app/models/url.rb:10
 (5.9ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "64e3218"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "64e3218"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "64e3218"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.2ms)  BEGIN
↳ app/models/url.rb:15
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/property-offers"], ["id", 301], ["LIMIT", 1]]
↳ app/models/url.rb:15
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "64e3218"], ["id", 301]]
↳ app/models/url.rb:15
 (0.3ms)  COMMIT
↳ app/models/url.rb:15

Redirected to localhost:3000/urls/show?Status=Success&domain=proptiger.com&long_url=https%3A%2F%2Fwww.proptiger.com%2Fproperty-offers&short_url=www.prco%2F64e3218 Completed 200 OK in 34ms (ActiveRecord: 11.4ms)

Started GET “/urls/show?Status=Success&domain=proptiger.com&long_url=https%3A%2F%2Fwww.proptiger.com%2Fproperty-offers&short_url=www.prco%2F64e3218” for 127.0.0.1 at 2019-01-23 18:22:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"proptiger.com", "long_url"=>"https://www.proptiger.com/property-offers", "short_url"=>"www.prco/64e3218"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 71ms (Views: 68.9ms | ActiveRecord: 0.0ms)

Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 40], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.3ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:22:32 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 67ms (Views: 65.4ms | ActiveRecord: 0.0ms)

Url Exists (1.2ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:24:36 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fjqGxF+s9CkVfXSPTFtF29vZdSf7HBc4l1buBhNbKwYMuXqhvGqMwYitX8msfSktNh3nNTaZiCHS5oikSL159g==", "long_url"=>"http://www.crazyforcode.com/de-shaw-interview/", "domain"=>"crazyforcode", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "http://www.crazyforcode.com/de-shaw-interview/"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "http://www.crazyforcode.com/de-shaw-interview/"], ["domain", "crazyforcode"]]
↳ app/models/url.rb:10
 (5.8ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "http://www.crazyforcode.com/de-shaw-interview/"], ["LIMIT", 1]]
↳ app/models/url.rb:32
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "crazyforcode"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:39
Url Destroy (0.7ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 302]]
↳ app/models/url.rb:39
 (0.4ms)  COMMIT
↳ app/models/url.rb:39

Redirected to localhost:3000/urls/show?Error=Something+Went+Wrong&Status=Error Completed 200 OK in 34ms (ActiveRecord: 12.9ms)

Started GET “/urls/show?Error=Something+Went+Wrong&Status=Error” for 127.0.0.1 at 2019-01-23 18:24:36 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Something Went Wrong", "Status"=>"Error"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (2.0ms)
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.4ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.8ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (1.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 41], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.3ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 66ms (Views: 63.3ms | ActiveRecord: 0.0ms)

Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:25:16 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 42ms (Views: 41.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:25:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"m1CpY8VDjxIqgIC1GJLNgIDzhRKPjbcOphXRpQOsxaPp01UGJoX3+rdQq/P4tKF2bTcXAEIIKBfjpbcHWEqXUw==", "long_url"=>"http://www.crazyforcode.com/de-shaw-interview/", "domain"=>"crazyforcode", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "http://www.crazyforcode.com/de-shaw-interview/"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "http://www.crazyforcode.com/de-shaw-interview/"], ["domain", "crazyforcode"]]
↳ app/models/url.rb:10
 (6.1ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "888de88"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "888de88"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "888de88"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.1ms)  BEGIN
↳ app/models/url.rb:17
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "http://www.crazyforcode.com/de-shaw-interview/"], ["id", 303], ["LIMIT", 1]]
↳ app/models/url.rb:17
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "888de88"], ["id", 303]]
↳ app/models/url.rb:17
 (0.3ms)  COMMIT
↳ app/models/url.rb:17

Redirected to localhost:3000/urls/show?Status=Success&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fde-shaw-interview%2F&short_url=www.caco%2F888de88 Completed 200 OK in 28ms (ActiveRecord: 11.3ms)

Started GET “/urls/show?Status=Success&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fde-shaw-interview%2F&short_url=www.caco%2F888de88” for 127.0.0.1 at 2019-01-23 18:25:22 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"crazyforcode", "long_url"=>"http://www.crazyforcode.com/de-shaw-interview/", "short_url"=>"www.caco/888de88"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)
Report Load (1.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.4ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (2.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 42], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (1.2ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 67ms (Views: 65.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:25:25 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 78ms (Views: 76.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:25:41 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DNMLufA+tqEjqHKtowAVIn8b9a4hFpxrLiWzRiVSbeB+UPfcE/jOSb54WetDJnnUkt9nvOyTA3JrldXkfrQ/EA==", "long_url"=>"http://www.crazyforcode.com/algorithm/", "domain"=>"crazyforcode", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "http://www.crazyforcode.com/algorithm/"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "http://www.crazyforcode.com/algorithm/"], ["domain", "crazyforcode"]]
↳ app/models/url.rb:10
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 43], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.3ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8cc58d8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8cc58d8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8cc58d8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.1ms)  BEGIN
↳ app/models/url.rb:17
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "http://www.crazyforcode.com/algorithm/"], ["id", 304], ["LIMIT", 1]]
↳ app/models/url.rb:17
 (7.9ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "8cc58d8"], ["id", 304]]
↳ app/models/url.rb:17
 (4.4ms)  COMMIT
↳ app/models/url.rb:17

Redirected to localhost:3000/urls/show?Status=Success&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Falgorithm%2F&short_url=www.caco%2F8cc58d8 Completed 200 OK in 23ms (ActiveRecord: 13.1ms)

Started GET “/urls/show?Status=Success&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Falgorithm%2F&short_url=www.caco%2F8cc58d8” for 127.0.0.1 at 2019-01-23 18:25:41 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"crazyforcode", "long_url"=>"http://www.crazyforcode.com/algorithm/", "short_url"=>"www.caco/8cc58d8"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 61ms (Views: 58.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:26:26 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 66ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:26:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ABG9wuw5NtpNzUzX/Sg7P1W+R85MrtE4wrHymBKrTyVykkGnD/9OMtAdZ5EdDlfJuHrV3IErTiGHAZQ6SU0d1Q==", "long_url"=>"https://devcenter.heroku.com/articles/heroku-cli-commands", "domain"=>"heroku", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://devcenter.heroku.com/articles/heroku-cli-commands"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://devcenter.heroku.com/articles/heroku-cli-commands"], ["domain", "heroku"]]
↳ app/models/url.rb:10
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 44], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.3ms)  COMMIT
↳ app/models/url.rb:10
 (9.8ms)  COMMIT
↳ app/workers/url_worker.rb:12
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "heroku"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.heco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "heroku"], ["prefix", "www.heco/"]]
↳ app/models/domain_prefix.rb:20
 (0.4ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (2.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e8469ca"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e8469ca"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e8469ca"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.2ms)  BEGIN
↳ app/models/url.rb:17
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://devcenter.heroku.com/articles/heroku-cli-commands"], ["id", 305], ["LIMIT", 1]]
↳ app/models/url.rb:17
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e8469ca"], ["id", 305]]
↳ app/models/url.rb:17
 (0.3ms)  COMMIT
↳ app/models/url.rb:17

Redirected to localhost:3000/urls/show?Status=Success&domain=heroku&long_url=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands&short_url=www.heco%2Fe8469ca Completed 200 OK in 43ms (ActiveRecord: 15.3ms)

Started GET “/urls/show?Status=Success&domain=heroku&long_url=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands&short_url=www.heco%2Fe8469ca” for 127.0.0.1 at 2019-01-23 18:26:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"heroku", "long_url"=>"https://devcenter.heroku.com/articles/heroku-cli-commands", "short_url"=>"www.heco/e8469ca"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 62.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:26:33 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:26:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 55ms (Views: 53.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-23 18:26:36 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.9ms)

Completed 200 OK in 85ms (Views: 83.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-23 18:26:37 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bsiwSobrMYITH+W1ziyF/1etpGgfWeFnIvq1XTR0Gp55L+r9sf83BpEwOLfHZndjMAismnoNYRCFyC/aTlth1Q==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 3.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-23 18:26:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 69ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-23 18:26:38 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 77ms (Views: 75.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-23 18:27:25 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8ooUd78HnYXGAiGGxckzige4QrKQV7cFZryyaVp0WFCACegSXMHlbVvSCsAl71986nzQoF3SKBwjDNTLAZIKoA==", "long_url"=>"https://devcenter.heroku.com/articles/heroku-cli-commands/vipul", "domain"=>"heroku", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://devcenter.heroku.com/articles/heroku-cli-commands/vipul"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://devcenter.heroku.com/articles/heroku-cli-commands/vipul"], ["domain", "heroku"]]
↳ app/models/url.rb:10
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-23"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-23"], ["id", 3], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 45], ["id", 3]]
↳ app/workers/url_worker.rb:12
 (6.2ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "50a8e7e"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "50a8e7e"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "50a8e7e"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.1ms)  BEGIN
↳ app/models/url.rb:17
 (8.2ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://devcenter.heroku.com/articles/heroku-cli-commands/vipul"], ["id", 306], ["LIMIT", 1]]
↳ app/models/url.rb:17
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "50a8e7e"], ["id", 306]]
↳ app/models/url.rb:17
 (5.0ms)  COMMIT
↳ app/models/url.rb:17

Redirected to localhost:3000/urls/show?Status=Success&domain=heroku&long_url=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&short_url=www.heco%2F50a8e7e Completed 200 OK in 24ms (ActiveRecord: 13.2ms)

Started GET “/urls/show?Status=Success&domain=heroku&long_url=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&short_url=www.heco%2F50a8e7e” for 127.0.0.1 at 2019-01-23 18:27:25 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"heroku", "long_url"=>"https://devcenter.heroku.com/articles/heroku-cli-commands/vipul", "short_url"=>"www.heco/50a8e7e"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 72ms (Views: 67.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 10:03:33 +0530

 (2.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 386ms (Views: 381.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 10:03:34 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (11.6ms)

Completed 200 OK in 73ms (Views: 71.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 10:03:36 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/r7CMQwDKDKbEzx9KbCTIl2PMD0RiMdJCmIO9rD3TdwDhDY2fgOsB6KQvgOJwoanWMLoK7dxROdVRT4GxBAUfg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (15.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 55ms (ActiveRecord: 44.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 10:03:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 68ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:03:37 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.8ms)

Completed 200 OK in 66ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:03:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7+4k7lHrlqgsPKDVI616Zvb+fRb6Wu9ylffCBRIH/7BGPSqYEl0mbCKRrqvPY5iWpo6XUI+VM4rQTaDD4sY08g==", "long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "domain"=>"codeburst.io", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (14.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (2.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (7.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["LIMIT", 1]]
↳ app/models/url.rb:32

Completed 500 Internal Server Error in 53ms (ActiveRecord: 27.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:35:in `block in shorten_url' app/models/url.rb:34:in `rescue in shorten_url' app/models/url.rb:7:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:57:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:04:30 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7+4k7lHrlqgsPKDVI616Zvb+fRb6Wu9ylffCBRIH/7BGPSqYEl0mbCKRrqvPY5iWpo6XUI+VM4rQTaDD4sY08g==", "long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "domain"=>"codeburst.io", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["LIMIT", 1]]
↳ app/models/url.rb:32

Completed 500 Internal Server Error in 25ms (ActiveRecord: 4.1ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:35:in `block in shorten_url' app/models/url.rb:34:in `rescue in shorten_url' app/models/url.rb:7:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:57:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:05:27 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7+4k7lHrlqgsPKDVI616Zvb+fRb6Wu9ylffCBRIH/7BGPSqYEl0mbCKRrqvPY5iWpo6XUI+VM4rQTaDD4sY08g==", "long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "domain"=>"codeburst.io", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["LIMIT", 1]]
↳ app/models/url.rb:32

Completed 500 Internal Server Error in 35ms (ActiveRecord: 5.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:35:in `block in shorten_url' app/models/url.rb:34:in `rescue in shorten_url' app/models/url.rb:7:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:57:in `show_shorten' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:05:52 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.9ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:05:52 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 416ms (Views: 410.4ms | ActiveRecord: 0.0ms)

Completed 200 OK in 282ms (Views: 279.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:05:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iJgQwNQ89bETSfg1oz7Re8ZlLeENoM+Q7bEArK2/EhH1M/emgkrcXD55Hwj7jYfmngMvZ+yt1erK00uEfmQiWA==", "long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "domain"=>"codeburst.io", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["LIMIT", 1]]
↳ app/models/url.rb:32

Completed 500 Internal Server Error in 37ms (ActiveRecord: 7.4ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:35:in `block in shorten_url' app/models/url.rb:34:in `rescue in shorten_url' app/models/url.rb:7:in `shorten_url' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:57:in `show_shorten' Started GET “/sidekiq” for 127.0.0.1 at 2019-01-24 10:06:29 +0530

Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

redis (4.1.0) lib/redis/client.rb:353:in `rescue in establish_connection' redis (4.1.0) lib/redis/client.rb:336:in `establish_connection' redis (4.1.0) lib/redis/client.rb:104:in `block in connect' redis (4.1.0) lib/redis/client.rb:299:in `with_reconnect' redis (4.1.0) lib/redis/client.rb:103:in `connect' redis (4.1.0) lib/redis/client.rb:372:in `ensure_connected' redis (4.1.0) lib/redis/client.rb:224:in `block in process' redis (4.1.0) lib/redis/client.rb:312:in `logging' redis (4.1.0) lib/redis/client.rb:223:in `process' redis (4.1.0) lib/redis/client.rb:123:in `call' redis (4.1.0) lib/redis.rb:279:in `block in info' redis (4.1.0) lib/redis.rb:50:in `block in synchronize' /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' redis (4.1.0) lib/redis.rb:50:in `synchronize' redis (4.1.0) lib/redis.rb:278:in `info' sidekiq (5.2.5) lib/sidekiq.rb:115:in `block in redis_info' sidekiq (5.2.5) lib/sidekiq.rb:97:in `block in redis' connection_pool (2.2.2) lib/connection_pool.rb:65:in `block (2 levels) in with' connection_pool (2.2.2) lib/connection_pool.rb:64:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:64:in `block in with' connection_pool (2.2.2) lib/connection_pool.rb:61:in `handle_interrupt' connection_pool (2.2.2) lib/connection_pool.rb:61:in `with' sidekiq (5.2.5) lib/sidekiq.rb:94:in `redis' sidekiq (5.2.5) lib/sidekiq.rb:108:in `redis_info' sidekiq (5.2.5) lib/sidekiq/web/helpers.rb:162:in `redis_info' sidekiq (5.2.5) lib/sidekiq/web/application.rb:47:in `block in <class:WebApplication>' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `instance_exec' sidekiq (5.2.5) lib/sidekiq/web/application.rb:287:in `block in call' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `catch' sidekiq (5.2.5) lib/sidekiq/web/application.rb:283:in `call' rack-protection (2.0.5) lib/rack/protection/xss_header.rb:18:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/path_traversal.rb:16:in `call' rack-protection (2.0.5) lib/rack/protection/json_csrf.rb:26:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack-protection (2.0.5) lib/rack/protection/frame_options.rb:31:in `call' rack-protection (2.0.5) lib/rack/protection/base.rb:50:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' rack (2.0.6) lib/rack/urlmap.rb:68:in `block in call' rack (2.0.6) lib/rack/urlmap.rb:53:in `each' rack (2.0.6) lib/rack/urlmap.rb:53:in `call' rack (2.0.6) lib/rack/builder.rb:153:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:103:in `call' sidekiq (5.2.5) lib/sidekiq/web.rb:108:in `call' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>' actionpack (5.2.2) lib/action_dispatch/routing/mapper.rb:48:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:06:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iJgQwNQ89bETSfg1oz7Re8ZlLeENoM+Q7bEArK2/EhH1M/emgkrcXD55Hwj7jYfmngMvZ+yt1erK00uEfmQiWA==", "long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "domain"=>"codeburst.io", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:10
 (6.2ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (22.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "codeburst.io"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.coco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.7ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "codeburst.io"], ["prefix", "www.coco/"]]
↳ app/models/domain_prefix.rb:20
 (0.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d95374a"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d95374a"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d95374a"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.2ms)  BEGIN
↳ app/models/url.rb:17
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078"], ["id", 311], ["LIMIT", 1]]
↳ app/models/url.rb:17
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "d95374a"], ["id", 311]]
↳ app/models/url.rb:17
 (0.3ms)  COMMIT
↳ app/models/url.rb:17

Redirected to localhost:3000/urls/show?Status=Success&domain=codeburst.io&long_url=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&short_url=www.coco%2Fd95374a Completed 200 OK in 81ms (ActiveRecord: 38.2ms)

Started GET “/urls/show?Status=Success&domain=codeburst.io&long_url=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&short_url=www.coco%2Fd95374a” for 127.0.0.1 at 2019-01-24 10:06:45 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"codeburst.io", "long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"www.coco/d95374a"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 79ms (Views: 76.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:06:47 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 62ms (Views: 59.5ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-24 10:06:51 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:06:51 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:06:51 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:06:51 +0530 Started GET “/sidekiq/javascripts/dashboard.js” for 127.0.0.1 at 2019-01-24 10:06:51 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:06:51 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-24 10:06:53 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:06:53 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:06:53 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:06:53 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:06:53 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-24 10:07:04 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:07:04 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:07:04 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:07:04 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:07:04 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-24 10:07:04 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-24 10:07:06 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:07:06 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:07:06 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:07:06 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:07:06 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-24 10:07:06 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-24 10:07:08 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:07:08 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:07:08 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:07:08 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:07:08 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-24 10:07:08 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-24 10:07:15 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:07:15 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:07:15 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:07:15 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:07:15 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-24 10:07:19 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:07:19 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:07:19 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:07:19 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:07:19 +0530 Started POST “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-24 10:07:23 +0530 Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-24 10:07:23 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:07:23 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:07:23 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:07:23 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:07:23 +0530 Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:07:43 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uLuccU2pg/hNLvv6nYcF0jzr1+3qrpFtPNCHNFmg/VkRaJIHDh8zPEOD9YRxSecibJs9q59hTZV5auXyqWE2Gw==", "long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "domain"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_to_short Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:07:43 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 85ms (Views: 83.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:07:58 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Nwlh5ljn5liU3WTPjjjDeglg1XOSVyWDhI2BrqAJ6v2e2m+QG1FWnJpwarFi9iGKWRA/NeeY+XvBN+NoUMghvw==", "long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "domain"=>"codeburst.io", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (1.1ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:10
 (6.4ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "7201c03"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "7201c03"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "7201c03"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.1ms)  BEGIN
↳ app/models/url.rb:17
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul"], ["id", 312], ["LIMIT", 1]]
↳ app/models/url.rb:17
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "7201c03"], ["id", 312]]
↳ app/models/url.rb:17
 (6.1ms)  COMMIT
↳ app/models/url.rb:17

Redirected to localhost:3000/urls/show?Status=Success&domain=codeburst.io&long_url=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&short_url=www.coco%2F7201c03 Completed 200 OK in 42ms (ActiveRecord: 21.5ms)

Started GET “/urls/show?Status=Success&domain=codeburst.io&long_url=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&short_url=www.coco%2F7201c03” for 127.0.0.1 at 2019-01-24 10:07:58 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"codeburst.io", "long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"www.coco/7201c03"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq/scheduled” for 127.0.0.1 at 2019-01-24 10:08:01 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:08:01 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:08:01 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:08:01 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:08:01 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-24 10:08:01 +0530 Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-24 10:08:03 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:08:03 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:08:03 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:08:03 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:08:03 +0530

Report Load (2.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Create (1.5ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-24"], ["no_of_urls", 1]]
↳ app/workers/url_worker.rb:14
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:14

Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-24 10:08:29 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:08:29 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:08:29 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:08:29 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:08:29 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-24 10:08:29 +0530 Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:08:35 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 70ms (Views: 67.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 10:08:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 55ms (Views: 52.5ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 10:08:37 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.7ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (19.4ms)

Completed 200 OK in 91ms (Views: 74.1ms | ActiveRecord: 13.1ms)

Started GET “/sidekiq/queues” for 127.0.0.1 at 2019-01-24 10:09:18 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:09:18 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:09:18 +0530 Started GET “/sidekiq/javascripts/application.js” for 127.0.0.1 at 2019-01-24 10:09:18 +0530 Started GET “/sidekiq/images/status.png” for 127.0.0.1 at 2019-01-24 10:09:18 +0530 Started GET “/sidekiq/images/favicon.ico” for 127.0.0.1 at 2019-01-24 10:09:18 +0530 Started GET “/home/index” for 127.0.0.1 at 2019-01-24 10:10:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 38ms (Views: 37.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 10:10:19 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.3ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (18.9ms)

Completed 200 OK in 72ms (Views: 55.5ms | ActiveRecord: 10.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 10:10:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 54ms (Views: 52.6ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 10:10:23 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (3.9ms)

Completed 200 OK in 85ms (Views: 81.2ms | ActiveRecord: 1.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 10:10:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (4.3ms)

Completed 200 OK in 59ms (Views: 57.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:10:34 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.5ms)

Completed 200 OK in 53ms (Views: 51.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:10:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jR4DSk3Qn2M95Wl5l3Eu4nite6WoEx9OvPVVZ8ZOApwkzQ08DmYvpzNIZwd7v8wSKN2R493cw7b5TzehNo/J3g==", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:10
 (6.3ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "53f4373"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "53f4373"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "53f4373"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.1ms)  BEGIN
↳ app/models/url.rb:17
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column"], ["id", 313], ["LIMIT", 1]]
↳ app/models/url.rb:17
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "53f4373"], ["id", 313]]
↳ app/models/url.rb:17
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (6.0ms)  COMMIT
↳ app/models/url.rb:17

Redirected to localhost:3000/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=www.st.co%2F53f4373 Completed 200 OK in 41ms (ActiveRecord: 20.3ms)

CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (1.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=www.st.co%2F53f4373” for 127.0.0.1 at 2019-01-24 10:10:46 +0530

Report Update (2.7ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 2], ["id", 4]]
↳ app/workers/url_worker.rb:12

Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"www.st.co/53f4373"}
 (6.3ms)  COMMIT
↳ app/workers/url_worker.rb:12
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.0ms)

Completed 200 OK in 64ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:11:08 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 70ms (Views: 68.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:11:22 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uEuzjKM02suSLsgrjEAGGY8oaYCn0rL//pr2fGj7Q+wRmL364IJqD5yDxlVgjuTp31iDxtIdbge7IJS6mDqIrg==", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:10
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 3], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (7.2ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bced776"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bced776"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:59
CACHE Url Load (0.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bced776"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:69
 (0.1ms)  BEGIN
↳ app/models/url.rb:17
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio"], ["id", 314], ["LIMIT", 1]]
↳ app/models/url.rb:17
 (6.3ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "bced776"], ["id", 314]]
↳ app/models/url.rb:17
 (3.8ms)  COMMIT
↳ app/models/url.rb:17

Redirected to localhost:3000/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=www.st.co%2Fbced776 Completed 200 OK in 23ms (ActiveRecord: 13.0ms)

Started GET “/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=www.st.co%2Fbced776” for 127.0.0.1 at 2019-01-24 10:11:22 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"www.st.co/bced776"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.7ms)

Completed 200 OK in 83ms (Views: 81.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:14:21 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.4ms)

Completed 200 OK in 44ms (Views: 42.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 10:14:34 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aAwgkGzdHS9zXhpODCGvyKjYp7jr7kApeug9+sCsGMTB3y7mL2ut633zFDDg7004+KhN/p4hnNE/Ul88MG3Thg==", "long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:10
 (6.1ms)  COMMIT
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c2850cf"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:17
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable"], ["id", 315], ["LIMIT", 1]]
↳ app/models/url.rb:17
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "c2850cf"], ["id", 315]]
↳ app/models/url.rb:17
 (0.3ms)  COMMIT
↳ app/models/url.rb:17

Redirected to localhost:3000/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=www.st.co%2Fc2850cf Completed 200 OK in 25ms (ActiveRecord: 11.3ms)

Started GET “/urls/show?Status=Success&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=www.st.co%2Fc2850cf” for 127.0.0.1 at 2019-01-24 10:14:34 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"www.st.co/c2850cf"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (0.9ms)
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (1.0ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 4], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (1.3ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 71ms (Views: 69.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 10:16:12 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 66ms (Views: 64.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 10:16:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 10:16:15 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (1.9ms)

Completed 200 OK in 65ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 10:16:36 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oWjrzKSuSvrEWW1YIz7iLGNyShI/Ja9bh/W3bTbzLaf9OUpncQVmlfNTsvETNMEdxB+7i1riIxu4FagOS/VQEA==", "short_url"=>"53f4373", "commit"=>"Find Long Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "53f4373"], ["LIMIT", 1]]
↳ app/models/url.rb:55
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=www.st.co%2F53f4373 Completed 200 OK in 12ms (ActiveRecord: 3.5ms)

Started GET “/urls/show?Status=OK+%21&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=www.st.co%2F53f4373” for 127.0.0.1 at 2019-01-24 10:16:36 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"www.st.co/53f4373"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.9ms)

Completed 200 OK in 63ms (Views: 61.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 10:16:38 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.erb within layouts/application
Rendered urls/short_to_long.erb within layouts/application (2.8ms)

Completed 200 OK in 79ms (Views: 77.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 10:16:51 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"433dkmW92uAlwQcH93wgF34gft1CrgL3TWbd/CU47JK/LHw5sBb2jxLL2K7HdgMm2U2PRCdpjrdyhsKfWD6RJQ==", "short_url"=>"bced776", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bced776"], ["LIMIT", 1]]
↳ app/models/url.rb:55

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=www.st.co%2Fbced776 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=stackoverflow&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=www.st.co%2Fbced776” for 127.0.0.1 at 2019-01-24 10:16:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"www.st.co/bced776"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 78ms (Views: 74.0ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery” for 127.0.0.1 at 2019-01-24 10:21:37 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 22ms (Views: 0.2ms | ActiveRecord: 5.2ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:21:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:10
 (6.3ms)  COMMIT
↳ app/models/url.rb:10
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b2c0992"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:17
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["id", 316], ["LIMIT", 1]]
↳ app/models/url.rb:17
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "b2c0992"], ["id", 316]]
↳ app/models/url.rb:17
 (6.1ms)  COMMIT
↳ app/models/url.rb:17

Completed 200 OK in 35ms (Views: 0.3ms | ActiveRecord: 17.8ms)

Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 5], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started GET “/short-url?short_url=www.st.co/b2c0992” for 127.0.0.1 at 2019-01-24 10:22:06 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"www.st.co/b2c0992"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b2c0992"], ["LIMIT", 1]]
↳ app/models/url.rb:55

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)

Started GET “/short-url?short_url=b2c0992” for 127.0.0.1 at 2019-01-24 10:22:15 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"b2c0992"}

Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=b2c0992” for 127.0.0.1 at 2019-01-24 10:22:20 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"b2c0992"}

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=b2c0992” for 127.0.0.1 at 2019-01-24 10:22:21 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"b2c0992"}

Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=b2c0992” for 127.0.0.1 at 2019-01-24 10:22:22 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"b2c0992"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=b2c0992” for 127.0.0.1 at 2019-01-24 10:22:22 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"b2c0992"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=b2c0992” for 127.0.0.1 at 2019-01-24 10:22:23 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"b2c0992"}

Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=b2c0992” for 127.0.0.1 at 2019-01-24 10:22:23 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"b2c0992"}

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=b2c0992” for 127.0.0.1 at 2019-01-24 10:22:23 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"b2c0992"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=b2c0992” for 127.0.0.1 at 2019-01-24 10:22:23 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"b2c0992"}

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:27 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.5ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:32

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 1.6ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:28 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.3ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.9ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:29 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:30 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.3ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.8ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:30 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.7ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:31 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:49 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 9ms (Views: 0.5ms | ActiveRecord: 0.8ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:50 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.8ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.3ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:51 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.3ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.1ms)

Started POST “/shorten-url/?long_url=stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery&domain=stackoverflow” for 127.0.0.1 at 2019-01-24 10:22:52 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "domain"=>"stackoverflow"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:10

Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.0ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 10:24:38 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:10
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:10
 (1.2ms)  COMMIT
↳ app/models/url.rb:10
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "codeburst.io"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d0d5774"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.2ms)  BEGIN
↳ app/models/url.rb:17
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 6], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["id", 317], ["LIMIT", 1]]
↳ app/models/url.rb:17
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "d0d5774"], ["id", 317]]
↳ app/models/url.rb:17
 (0.4ms)  COMMIT
↳ app/models/url.rb:17

Completed 200 OK in 14ms (Views: 0.3ms | ActiveRecord: 3.9ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 10:25:07 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:10
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:10
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:32

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.9ms)

Started GET “/short-url?short_url=www.coco/d0d5774” for 127.0.0.1 at 2019-01-24 10:25:36 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"www.coco/d0d5774"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d0d5774"], ["LIMIT", 1]]
↳ app/models/url.rb:55

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started GET “/short-url?short_url=d0d5774” for 127.0.0.1 at 2019-01-24 10:25:43 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"d0d5774"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-24 10:38:30 +0530 Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 10:38:30 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 10:38:30 +0530 Started GET “/search” for 127.0.0.1 at 2019-01-24 10:38:32 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.2ms)

Completed 200 OK in 480ms (Views: 477.0ms | ActiveRecord: 0.0ms)

Started GET “/search?utf8=%E2%9C%93&q=28” for 127.0.0.1 at 2019-01-24 10:38:44 +0530 Processing by ElasticSearchController#search as HTML

Parameters: {"utf8"=>"✓", "q"=>"28"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

LoadError (cannot load such file – elasticsearch/model):

app/models/report.rb:1:in `<main>' app/controllers/elastic_search_controller.rb:3:in `search' Started GET “/search?utf8=%E2%9C%93&q=28” for 127.0.0.1 at 2019-01-24 10:39:01 +0530 Processing by ElasticSearchController#search as HTML

Parameters: {"utf8"=>"✓", "q"=>"28"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant Report::Elasticsearch):

app/models/report.rb:3:in `<class:Report>' app/models/report.rb:1:in `<main>' app/controllers/elastic_search_controller.rb:3:in `search'

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
User Load (0.6ms)  SELECT  "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1  [["LIMIT", 1000]]
User Load (0.5ms)  SELECT  "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 317], ["LIMIT", 11]]

Started GET “/sidekiq” for 127.0.0.1 at 2019-01-24 11:33:36 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Started GET “/sidekiq/stylesheets/bootstrap.css” for 127.0.0.1 at 2019-01-24 11:33:36 +0530 Started GET “/sidekiq/stylesheets/application.css” for 127.0.0.1 at 2019-01-24 11:33:36 +0530 Started GET “/search” for 127.0.0.1 at 2019-01-24 11:33:38 +0530

ActionController::RoutingError (uninitialized constant ElasticsearchController):

bootsnap (1.3.2) lib/bootsnap/load_path_cache/core_ext/active_support.rb:74:in `block in load_missing_constant' bootsnap (1.3.2) lib/bootsnap/load_path_cache/core_ext/active_support.rb:8:in `without_bootsnap_cache' bootsnap (1.3.2) lib/bootsnap/load_path_cache/core_ext/active_support.rb:74:in `rescue in load_missing_constant' bootsnap (1.3.2) lib/bootsnap/load_path_cache/core_ext/active_support.rb:56:in `load_missing_constant' activesupport (5.2.2) lib/active_support/inflector/methods.rb:283:in `const_get' activesupport (5.2.2) lib/active_support/inflector/methods.rb:283:in `block in constantize' activesupport (5.2.2) lib/active_support/inflector/methods.rb:281:in `each' activesupport (5.2.2) lib/active_support/inflector/methods.rb:281:in `inject' activesupport (5.2.2) lib/active_support/inflector/methods.rb:281:in `constantize' actionpack (5.2.2) lib/action_dispatch/http/request.rb:88:in `controller_class_for' actionpack (5.2.2) lib/action_dispatch/http/request.rb:81:in `controller_class' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:46:in `controller' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/search” for 127.0.0.1 at 2019-01-24 11:34:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.4ms)

Completed 500 Internal Server Error in 18ms (ActiveRecord: 3.6ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

 9: <% end %>
10: 
11: <ul>
12:   <% @reports.each do |post| %>
13:     <li>
14:       <h3>
15:         <%= link_to Report.all, controller: "home", action: "generate_report"%>

app/views/elastic_search/search.html.erb:12:in `_app_views_elastic_search_search_html_erb__728703240885046493_70171465529080' Started GET “/search” for 127.0.0.1 at 2019-01-24 11:34:38 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 525ms (Views: 524.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 11:34:55 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 76ms (Views: 67.5ms | ActiveRecord: 1.6ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 11:38:19 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:17: syntax error, unexpected end, expecting end-of-input):

app/controllers/elastic_search_controller.rb:17: syntax error, unexpected end, expecting end-of-input Started GET “/search” for 127.0.0.1 at 2019-01-24 11:38:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 54ms (Views: 52.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:38:33 +0530

ActionController::RoutingError (No route matches [POST] “/Search”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:38:49 +0530

ActionController::RoutingError (No route matches [POST] “/Search”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:39:29 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"f", "commit"=>"Search"}

No template found for ElasticSearchController#retrieve, rendering head :no_content Completed 204 No Content in 24ms (ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:40:41 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"f", "commit"=>"Search"}

No template found for ElasticSearchController#retrieve, rendering head :no_content Completed 204 No Content in 28ms (ActiveRecord: 1.7ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:41:37 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"f", "commit"=>"Search"}

Completed 500 Internal Server Error in 7ms (ActiveRecord: 2.1ms)

ArgumentError (wrong number of arguments (given 1, expected 0)):

app/controllers/elastic_search_controller.rb:3:in `show' app/controllers/elastic_search_controller.rb:10:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:42:25 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"f", "commit"=>"Search"}

Completed 500 Internal Server Error in 13ms (ActiveRecord: 1.7ms)

ActionView::MissingTemplate (Missing template elastic_search/show.%23%3CElasticsearch::Model::Response::Records:0x00007fa4253adee8%3E with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/elastic_search_controller.rb:10:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:42:33 +0530

 (7.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"f", "commit"=>"Search"}

Completed 500 Internal Server Error in 19ms (ActiveRecord: 1.7ms)

ActionView::MissingTemplate (Missing template elastic_search/show.%23%3CElasticsearch::Model::Response::Records:0x00007f86ceba3720%3E with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/elastic_search_controller.rb:10:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:43:36 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"f", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Completed 500 Internal Server Error in 22ms (ActiveRecord: 4.0ms)

NoMethodError (undefined method `as_indexed_json' for nil:NilClass):

app/controllers/elastic_search_controller.rb:8:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:44:26 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"f", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Completed 500 Internal Server Error in 22ms (ActiveRecord: 3.4ms)

NoMethodError (undefined method `as_indexed_json' for nil:NilClass):

app/controllers/elastic_search_controller.rb:8:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:44:48 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"f", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.3ms)

Completed 200 OK in 406ms (Views: 387.9ms | ActiveRecord: 3.2ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:45:12 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"stack", "commit"=>"Search"}

Completed 500 Internal Server Error in 17ms (ActiveRecord: 1.3ms)

ActionView::MissingTemplate (Missing template elastic_search/show.%23%3CElasticsearch::Model::Response::Records:0x00007f86d492b4d8%3E with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/elastic_search_controller.rb:9:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:45:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:9
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.3ms)

Completed 200 OK in 71ms (Views: 40.7ms | ActiveRecord: 4.4ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:46:29 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.3ms)

Completed 200 OK in 70ms (Views: 46.9ms | ActiveRecord: 3.8ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:49:12 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:11

Completed 500 Internal Server Error in 19ms (ActiveRecord: 3.0ms)

NoMethodError (undefined method `[]=' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `block in retrieve' app/controllers/elastic_search_controller.rb:11:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:49:56 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"stack", "commit"=>"Search"}
Url Load (1.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:12

Completed 500 Internal Server Error in 22ms (ActiveRecord: 5.3ms)

NoMethodError (undefined method `[]=' for nil:NilClass):

app/controllers/elastic_search_controller.rb:13:in `block in retrieve' app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:50:10 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:12

Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.3ms)

NoMethodError (undefined method `[]=' for nil:NilClass):

app/controllers/elastic_search_controller.rb:13:in `block in retrieve' app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:50:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8pmBevyyhDbHnGKgCu4ek70+WkcMtkmtFTCOjIGYKYiPMmYcqsSt2+qshZ1SXUgO5VhYwe27U9cyUsWkUkMZwQ==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:12

Completed 500 Internal Server Error in 23ms (ActiveRecord: 4.2ms)

NoMethodError (undefined method `[]=' for nil:NilClass):

app/controllers/elastic_search_controller.rb:13:in `block in retrieve' app/controllers/elastic_search_controller.rb:12:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-24 11:51:03 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.2ms)

Completed 200 OK in 74ms (Views: 71.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:51:06 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SkGZEXM433We2xrUMkiXdPp2qTvxzWoz5ulHe6BWwFM36n53JU72mLPr/elq+8HpohCrvRDAcEnBiwxTc43wGg==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:12
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.3ms)

Completed 200 OK in 59ms (Views: 46.4ms | ActiveRecord: 0.5ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:51:33 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SkGZEXM433We2xrUMkiXdPp2qTvxzWoz5ulHe6BWwFM36n53JU72mLPr/elq+8HpohCrvRDAcEnBiwxTc43wGg==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Completed 500 Internal Server Error in 19ms (ActiveRecord: 4.2ms)

NoMethodError (undefined method `as_indexed_json' for nil:NilClass):

app/controllers/elastic_search_controller.rb:8:in `retrieve'

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 317], ["LIMIT", 11]]
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 317], ["LIMIT", 11]]
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 317], ["LIMIT", 11]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 ORDER BY "urls"."id" DESC LIMIT $2  [["id", 317], ["LIMIT", 1]]
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls"
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4) ORDER BY "urls"."id" DESC LIMIT $5  [["id", 315], ["id", 316], ["id", 313], ["id", 314], ["LIMIT", 1]]

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:56:40 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SkGZEXM433We2xrUMkiXdPp2qTvxzWoz5ulHe6BWwFM36n53JU72mLPr/elq+8HpohCrvRDAcEnBiwxTc43wGg==", "q"=>"vip", "commit"=>"Search"}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 288ms (Views: 267.2ms | ActiveRecord: 1.6ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:57:02 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SkGZEXM433We2xrUMkiXdPp2qTvxzWoz5ulHe6BWwFM36n53JU72mLPr/elq+8HpohCrvRDAcEnBiwxTc43wGg==", "q"=>"vip", "commit"=>"Search"}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.3ms)

Completed 200 OK in 55ms (Views: 48.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 11:57:31 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SkGZEXM433We2xrUMkiXdPp2qTvxzWoz5ulHe6BWwFM36n53JU72mLPr/elq+8HpohCrvRDAcEnBiwxTc43wGg==", "q"=>"vip", "commit"=>"Search"}

Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.4ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“urls”,“index_uuid”:“na”,“index”:“urls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“urls”,“index_uuid”:“na”,“index”:“urls”},“status”:404}):

app/controllers/elastic_search_controller.rb:8:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:07:54 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SkGZEXM433We2xrUMkiXdPp2qTvxzWoz5ulHe6BWwFM36n53JU72mLPr/elq+8HpohCrvRDAcEnBiwxTc43wGg==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:12
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.3ms)

Completed 200 OK in 105ms (Views: 83.4ms | ActiveRecord: 5.4ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:08:41 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SkGZEXM433We2xrUMkiXdPp2qTvxzWoz5ulHe6BWwFM36n53JU72mLPr/elq+8HpohCrvRDAcEnBiwxTc43wGg==", "q"=>"vip", "commit"=>"Search"}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.4ms)

Completed 200 OK in 51ms (Views: 43.8ms | ActiveRecord: 1.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:08:53 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.9ms)

Completed 200 OK in 50ms (Views: 47.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:08:56 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Lzk+XmV02KHSbC7UnUUJvTeofAEJy495fh3d2IzZB1lSktk4MwLxTP9cyenF9l8gb85+h+jGlQNZf5bwXwI3EA==", "q"=>"vip", "commit"=>"Search"}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.3ms)

Completed 200 OK in 65ms (Views: 64.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:09:05 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Lzk+XmV02KHSbC7UnUUJvTeofAEJy495fh3d2IzZB1lSktk4MwLxTP9cyenF9l8gb85+h+jGlQNZf5bwXwI3EA==", "q"=>"vip", "commit"=>"Search"}

Completed 500 Internal Server Error in 111ms (ActiveRecord: 1.4ms)

NoMethodError (undefined method `redirect' for #<ElasticSearchController:0x00007fb234bc6c70> Did you mean? redirect_to):

app/controllers/elastic_search_controller.rb:10:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:09:21 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Lzk+XmV02KHSbC7UnUUJvTeofAEJy495fh3d2IzZB1lSktk4MwLxTP9cyenF9l8gb85+h+jGlQNZf5bwXwI3EA==", "q"=>"vip", "commit"=>"Search"}

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 11ms (ActiveRecord: 2.0ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:09:21 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 141ms (Views: 139.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 12:09:38 +0530 Processing by UrlsController#long_to_short as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 12:09:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 48ms (Views: 46.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:09:41 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.6ms)

Completed 200 OK in 122ms (Views: 119.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:09:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZKIWQk33YtgfQL43jYyAThw2M9RhfCEXfi1Ks1BJaGUZCfEkG4FLNTJwWQrVP9bTRFAxUoBxO21ZTwGbg5JYLA==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 19ms (ActiveRecord: 4.6ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:09:44 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 94ms (Views: 90.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:11:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 40ms (Views: 39.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:11:11 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EifcuAl1uPw2GI6vN38Dldz1O+f+P7VfVlJsdr9Xw7JvjDveXwORERsoaZJvzFUIhJM5YR8yryVxMCdebIzz+w==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 17ms (ActiveRecord: 4.3ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:11:11 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.5ms)

Completed 200 OK in 56ms (Views: 54.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:11:59 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 75ms (Views: 73.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:12:02 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8L4cwLlnmGIM90/Jj0rs3EsS8f4JQDzf2ITRTYdenLCNFfum7xGxjyHHqPTX+bpBE3TzeOhNJqX/5pplVIWs+Q==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:12:02 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.5ms)

Completed 200 OK in 57ms (Views: 54.8ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:13:43 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.8ms)

Completed 200 OK in 446ms (Views: 440.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:13:45 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"t1bE+AkniVLlNsfrpFWbJCpXL+MMnzcsPnIqiJsfhSDK/SOeX1Ggv8gGINb85s25cjEtZe2SLVYZEGGgSMS1aQ==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 24ms (ActiveRecord: 4.1ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:13:45 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.4ms)

Completed 200 OK in 80ms (Views: 77.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:14:14 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 73ms (Views: 72.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:14:28 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IBe2jwHZSu8qZKUh2dgbiNt1029DpzKN34CLf8kkvu1dvFHpV69jAgdUQhyBa00VgxPR6aKqKPf44sBXGv+OpA==", "q"=>"vip", "commit"=>"Search"}

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 15ms (ActiveRecord: 1.5ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:14:28 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.4ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:14:52 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:14:56 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IGytt+TbLDjUtwAYxLsgIms+RQ0DueORgJ+h0vW+UIJdx0rRsq0F1fmH5yWcCHa/M1hHi+K0+eun/er6JmVgyw==", "q"=>"vip", "commit"=>"Search"}

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 15ms (ActiveRecord: 1.5ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:14:56 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 96ms (Views: 94.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:15:43 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 43ms (Views: 41.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:15:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"e/y8xEtsu22LfcUhXIom85kClTcVrtD4x89/lSc9nUYGV1uiHRqSgKZNIhwEOXBuwWSXsfSjyoLgrTS99OatDw==", "q"=>"vip", "commit"=>"Search"}

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 15ms (ActiveRecord: 1.9ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:15:46 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 69ms (Views: 66.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:16:08 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 99ms (Views: 97.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:16:10 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IyXaZRPrJzwTQFF0MVpJ3+PUAUoeSMS29H+PoPjNBcJejj0DRZ0O0T5wtklp6R9Cu7IDzP9F3szTHcSIKxY1iw==", "q"=>"vip", "commit"=>"Search"}

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 16ms (ActiveRecord: 2.0ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:16:10 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 85ms (Views: 57.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:16:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.4ms)

Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:17:00 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"77Jyj7cANLvS28BMRISuZHsWN3zatnQCIuHmrOg/XIaSGZXp4XYdVv/rJ3EcN/j5I3A1+ju7bngFg62EO+Rszw==", "q"=>"vip", "commit"=>"Search"}

Redirected to localhost:3000/elastic_search/show.317 Completed 200 OK in 15ms (ActiveRecord: 2.1ms)

Started GET “/elastic_search/show.317” for 127.0.0.1 at 2019-01-24 12:17:00 +0530 Processing by ElasticSearchController#show as

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.5ms)

Completed 200 OK in 56ms (Views: 50.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:32:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 55ms (Views: 53.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:32:11 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Fk0jeB+SEOT1EUwpVR3MHIq1Yx6lSl4LOxSpAI4EO2Nr5sQeSeQ5CdghqxQNrpqB0tNhmERHRHEcduIoXd8LKg==", "q"=>"vip", "commit"=>"Search"}

Redirected to localhost:3000/elastic_search/show.315%2F316%2F313%2F314 Completed 200 OK in 26ms (ActiveRecord: 4.0ms)

Started GET “/elastic_search/show.315%2F316%2F313%2F314” for 127.0.0.1 at 2019-01-24 12:32:11 +0530 Processing by ElasticSearchController#show as

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.3ms)

Completed 200 OK in 73ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:35:56 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 109ms (Views: 106.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:35:59 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q/ZXb62E7ofmKV2qOyhRNCKaIPoL9Yddnpc4gSMUJaQ+XbAJ+/LHassZupdjmwepevwifOr4nSe59XOp8M8V7Q==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12

Completed 500 Internal Server Error in 48ms (ActiveRecord: 4.8ms)

NoMethodError (undefined method `[]=' for nil:NilClass):

app/controllers/elastic_search_controller.rb:13:in `block in retrieve' app/controllers/elastic_search_controller.rb:11:in `each' app/controllers/elastic_search_controller.rb:11:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:36:31 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q/ZXb62E7ofmKV2qOyhRNCKaIPoL9Yddnpc4gSMUJaQ+XbAJ+/LHassZupdjmwepevwifOr4nSe59XOp8M8V7Q==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Completed 500 Internal Server Error in 24ms (ActiveRecord: 4.5ms)

NoMethodError (undefined method `[]=' for nil:NilClass):

app/controllers/elastic_search_controller.rb:14:in `block in retrieve' app/controllers/elastic_search_controller.rb:11:in `each' app/controllers/elastic_search_controller.rb:11:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:36:52 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q/ZXb62E7ofmKV2qOyhRNCKaIPoL9Yddnpc4gSMUJaQ+XbAJ+/LHassZupdjmwepevwifOr4nSe59XOp8M8V7Q==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Completed 500 Internal Server Error in 25ms (ActiveRecord: 3.9ms)

NoMethodError (undefined method `[]=' for nil:NilClass):

app/controllers/elastic_search_controller.rb:15:in `block in retrieve' app/controllers/elastic_search_controller.rb:11:in `each' app/controllers/elastic_search_controller.rb:11:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:37:24 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q/ZXb62E7ofmKV2qOyhRNCKaIPoL9Yddnpc4gSMUJaQ+XbAJ+/LHassZupdjmwepevwifOr4nSe59XOp8M8V7Q==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Completed 500 Internal Server Error in 24ms (ActiveRecord: 4.4ms)

NoMethodError (undefined method `[]=' for nil:NilClass):

app/controllers/elastic_search_controller.rb:15:in `block in retrieve' app/controllers/elastic_search_controller.rb:11:in `each' app/controllers/elastic_search_controller.rb:11:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:38:25 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q/ZXb62E7ofmKV2qOyhRNCKaIPoL9Yddnpc4gSMUJaQ+XbAJ+/LHassZupdjmwepevwifOr4nSe59XOp8M8V7Q==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12

Redirected to localhost:3000/elastic_search/show?313%5Bdomain%5D=stackoverflow&313%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&313%5Bshort_url%5D=53f4373&314%5Bdomain%5D=stackoverflow&314%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&314%5Bshort_url%5D=bced776&315%5Bdomain%5D=stackoverflow&315%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&315%5Bshort_url%5D=c2850cf&316%5Bdomain%5D=stackoverflow&316%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&316%5Bshort_url%5D=b2c0992 Completed 200 OK in 25ms (ActiveRecord: 4.8ms)

Started GET “/elastic_search/show?313%5Bdomain%5D=stackoverflow&313%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&313%5Bshort_url%5D=53f4373&314%5Bdomain%5D=stackoverflow&314%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&314%5Bshort_url%5D=bced776&315%5Bdomain%5D=stackoverflow&315%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&315%5Bshort_url%5D=c2850cf&316%5Bdomain%5D=stackoverflow&316%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&316%5Bshort_url%5D=b2c0992” for 127.0.0.1 at 2019-01-24 12:38:25 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"313"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373"}, "314"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776"}, "315"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf"}, "316"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992"}}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.4ms)

Completed 200 OK in 83ms (Views: 81.9ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?313%5Bdomain%5D=stackoverflow&313%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&313%5Bshort_url%5D=53f4373&314%5Bdomain%5D=stackoverflow&314%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&314%5Bshort_url%5D=bced776&315%5Bdomain%5D=stackoverflow&315%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&315%5Bshort_url%5D=c2850cf&316%5Bdomain%5D=stackoverflow&316%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&316%5Bshort_url%5D=b2c0992” for 127.0.0.1 at 2019-01-24 12:40:24 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"313"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373"}, "314"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776"}, "315"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf"}, "316"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992"}}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (7.4ms)

Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `long_url' for #<Array:0x00007fdd344170d0>):

 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=t.long_url%></td>
11:     <td><%=t.short_url%></td> 
12:     <td><%=t.domain%></td> 
13:

app/views/elastic_search/show.html.erb:10:in `block in _app_views_elastic_search_show_html_erb__3242613358292811705_70294018432800' app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294018432800' Started GET “/elastic_search/show?313%5Bdomain%5D=stackoverflow&313%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&313%5Bshort_url%5D=53f4373&314%5Bdomain%5D=stackoverflow&314%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&314%5Bshort_url%5D=bced776&315%5Bdomain%5D=stackoverflow&315%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&315%5Bshort_url%5D=c2850cf&316%5Bdomain%5D=stackoverflow&316%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&316%5Bshort_url%5D=b2c0992” for 127.0.0.1 at 2019-01-24 12:41:22 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"313"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373"}, "314"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776"}, "315"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf"}, "316"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992"}}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.6ms)

Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (no implicit conversion of Symbol into Integer):

 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=t[:long_url]%></td>
11:     <td><%=t[:short_url]%></td> 
12:     <td><%=t[:domain]%></td> 
13:

app/views/elastic_search/show.html.erb:10:in `block in _app_views_elastic_search_show_html_erb__3242613358292811705_70294062533340' app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294062533340' Started GET “/elastic_search/show?313%5Bdomain%5D=stackoverflow&313%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&313%5Bshort_url%5D=53f4373&314%5Bdomain%5D=stackoverflow&314%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&314%5Bshort_url%5D=bced776&315%5Bdomain%5D=stackoverflow&315%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&315%5Bshort_url%5D=c2850cf&316%5Bdomain%5D=stackoverflow&316%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&316%5Bshort_url%5D=b2c0992” for 127.0.0.1 at 2019-01-24 12:42:03 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"313"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373"}, "314"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776"}, "315"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf"}, "316"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992"}}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.4ms)

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `[]' for nil:NilClass):

 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=@url[t][:long_url]%></td>
11:     <td><%=@url[t][:short_url]%></td> 
12:     <td><%=@url[t][:domain]%></td> 
13:

app/views/elastic_search/show.html.erb:10:in `block in _app_views_elastic_search_show_html_erb__3242613358292811705_70294021416260' app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294021416260' Started GET “/search” for 127.0.0.1 at 2019-01-24 12:42:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 51ms (Views: 48.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:42:13 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"N4aLZv9fVAfkzMbX2LxvIw7O/LISH4N/rK/t2+vJyyxKLWwAqSl96sn8IeqADzm+Vqj+NPMSmQWLzabzOBL7ZQ==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12

Redirected to localhost:3000/elastic_search/show?313%5Bdomain%5D=stackoverflow&313%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&313%5Bshort_url%5D=53f4373&314%5Bdomain%5D=stackoverflow&314%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&314%5Bshort_url%5D=bced776&315%5Bdomain%5D=stackoverflow&315%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&315%5Bshort_url%5D=c2850cf&316%5Bdomain%5D=stackoverflow&316%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&316%5Bshort_url%5D=b2c0992 Completed 200 OK in 30ms (ActiveRecord: 4.5ms)

Started GET “/elastic_search/show?313%5Bdomain%5D=stackoverflow&313%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&313%5Bshort_url%5D=53f4373&314%5Bdomain%5D=stackoverflow&314%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&314%5Bshort_url%5D=bced776&315%5Bdomain%5D=stackoverflow&315%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&315%5Bshort_url%5D=c2850cf&316%5Bdomain%5D=stackoverflow&316%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&316%5Bshort_url%5D=b2c0992” for 127.0.0.1 at 2019-01-24 12:42:13 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"313"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373"}, "314"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776"}, "315"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf"}, "316"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992"}}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.4ms)

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `[]' for nil:NilClass):

 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=@url[t][:long_url]%></td>
11:     <td><%=@url[t][:short_url]%></td> 
12:     <td><%=@url[t][:domain]%></td> 
13:

app/views/elastic_search/show.html.erb:10:in `block in _app_views_elastic_search_show_html_erb__3242613358292811705_70294062537380' app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294062537380' Started GET “/elastic_search/show?313%5Bdomain%5D=stackoverflow&313%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&313%5Bshort_url%5D=53f4373&314%5Bdomain%5D=stackoverflow&314%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&314%5Bshort_url%5D=bced776&315%5Bdomain%5D=stackoverflow&315%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&315%5Bshort_url%5D=c2850cf&316%5Bdomain%5D=stackoverflow&316%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&316%5Bshort_url%5D=b2c0992” for 127.0.0.1 at 2019-01-24 12:42:34 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"313"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373"}, "314"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776"}, "315"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf"}, "316"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992"}}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 45ms (Views: 43.7ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?313%5Bdomain%5D=stackoverflow&313%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&313%5Bshort_url%5D=53f4373&314%5Bdomain%5D=stackoverflow&314%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&314%5Bshort_url%5D=bced776&315%5Bdomain%5D=stackoverflow&315%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&315%5Bshort_url%5D=c2850cf&316%5Bdomain%5D=stackoverflow&316%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&316%5Bshort_url%5D=b2c0992” for 127.0.0.1 at 2019-01-24 12:43:27 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"313"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373"}, "314"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776"}, "315"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf"}, "316"=>{"domain"=>"stackoverflow", "long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992"}}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 76ms (Views: 73.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:43:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 54ms (Views: 52.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:44:07 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLcOYQeJvht7hv/+RUA6x1CFEof0ZcmJwsbObgqNvXn1HOkHUf+X9la2GMMd82xaCOMQARVo0/PlpIVG2VaNMA==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12

Redirected to localhost:3000/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776 Completed 200 OK in 29ms (ActiveRecord: 4.1ms)

Started GET “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776” for 127.0.0.1 at 2019-01-24 12:44:07 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/search” for 127.0.0.1 at 2019-01-24 12:44:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 39ms (Views: 38.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:45:02 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6/SCfXDuDCUMa5o+q9A28linMyG0udzRaIuqseX973qWX2UbJpglyCFbfQPzY2BvAMExp1W0xqtP6eGZNibfMw==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12

Completed 500 Internal Server Error in 235ms (ActiveRecord: 4.4ms)

NameError (undefined local variable or method `arr' for #<ElasticSearchController:0x00007fdd345fe128> Did you mean? @arr):

app/controllers/elastic_search_controller.rb:19:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:45:21 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6/SCfXDuDCUMa5o+q9A28linMyG0udzRaIuqseX973qWX2UbJpglyCFbfQPzY2BvAMExp1W0xqtP6eGZNibfMw==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:12

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 27ms (ActiveRecord: 3.9ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:45:21 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (4.4ms)

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (no implicit conversion of Symbol into Integer):

 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=t[:long_url]%></td>
11:     <td><%=t[:short_url]%></td> 
12:     <td><%=t[:domain]%></td> 
13:

app/views/elastic_search/show.html.erb:10:in `block in _app_views_elastic_search_show_html_erb__3242613358292811705_70294046454020' app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294046454020' Started GET “/search” for 127.0.0.1 at 2019-01-24 12:46:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 79ms (Views: 78.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:46:07 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WkkOEcHJMWHLCDWUGTySh2TywOTNx0OEcciUmFhNkr8n4ul3l78YjOY40qlBj8QaPJTCYizKWf5Wqt+wi5ai9g==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Completed 500 Internal Server Error in 263ms (ActiveRecord: 3.0ms)

NameError (undefined local variable or method `long_url' for #<ElasticSearchController:0x00007fdd3a991af0>):

app/controllers/elastic_search_controller.rb:15:in `block in retrieve' app/controllers/elastic_search_controller.rb:12:in `each' app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:46:23 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WkkOEcHJMWHLCDWUGTySh2TywOTNx0OEcciUmFhNkr8n4ul3l78YjOY40qlBj8QaPJTCYizKWf5Wqt+wi5ai9g==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 29ms (ActiveRecord: 4.9ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:46:23 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (102.0ms)

Completed 500 Internal Server Error in 109ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (no implicit conversion of Symbol into Integer):

 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=t[:long_url]%></td>
11:     <td><%=t[:short_url]%></td> 
12:     <td><%=t[:domain]%></td> 
13:

app/views/elastic_search/show.html.erb:10:in `block in _app_views_elastic_search_show_html_erb__3242613358292811705_70294020759180' app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294020759180' Started GET “/search” for 127.0.0.1 at 2019-01-24 12:46:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 54ms (Views: 52.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:46:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jzm3Fzy7gXIb2Uinv4+YMbhpt+lYuP1lURUTZ+cBFv5aklBxas2onzbpr5rnPM6s4A+1b7m15x92d1hPNNomtw==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776 Completed 200 OK in 24ms (ActiveRecord: 3.7ms)

Started GET “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776” for 127.0.0.1 at 2019-01-24 12:46:44 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/search” for 127.0.0.1 at 2019-01-24 12:48:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 64ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:48:23 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LqP4qd0vGCkeu70dTWb6M9CdWmxJv/bw+WXbmxpfk6NTCB/Pi1kxxDOLWiAV1ayuiPtY6qiy7IreB5CzyYSj6g==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 25ms (ActiveRecord: 4.5ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:48:23 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.0ms)

Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (no implicit conversion of Symbol into Integer):

 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=t[:long_url]%></td>
11:     <td><%=t[:short_url]%></td> 
12:     <td><%=t[:domain]%></td> 
13:

app/views/elastic_search/show.html.erb:10:in `block in _app_views_elastic_search_show_html_erb__3242613358292811705_70294017839580' app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294017839580' Started GET “/search” for 127.0.0.1 at 2019-01-24 12:48:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 43ms (Views: 41.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:48:50 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5/b+BPQN7qNpNbkdFTnWM8oyXOwSLTxo0WVX0IT41LqaXRlionvHTkQFXiBNioCuklReavMgJhL2Bxz4VyPk8w==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 29ms (ActiveRecord: 3.5ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:48:50 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.4ms)

Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (no implicit conversion of Symbol into Integer):

 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=t[:long_url]%></td>
11:     <td><%=t[:short_url]%></td> 
12:     <td><%=t[:domain]%></td> 
13:

app/views/elastic_search/show.html.erb:10:in `block in _app_views_elastic_search_show_html_erb__3242613358292811705_70294074185880' app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294074185880' Started GET “/search” for 127.0.0.1 at 2019-01-24 12:49:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 44ms (Views: 42.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:49:24 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JTAnMfFjuw9r4FxvS6qCOoY8rvLN3zaZ6O6nz7v2gcdYm8BXpxWS4kbQu1ITGdSn3lqsdCzSLOPPjOznaC2xjg==", "q"=>"vip", "commit"=>"Search"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 26ms (ActiveRecord: 5.2ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 12:49:24 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.1ms)

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (no implicit conversion of Symbol into Integer):

 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=t[:long_url]%></td>
11:     <td><%=t[:short_url]%></td> 
12:     <td><%=t[:domain]%></td> 
13:

app/views/elastic_search/show.html.erb:10:in `block in _app_views_elastic_search_show_html_erb__3242613358292811705_70294073006780' app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294073006780' Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 12:49:47 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 46ms (Views: 45.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 12:49:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 65ms (Views: 58.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 12:49:54 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.1ms)

Completed 200 OK in 63ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 12:49:55 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gE0FMIKtyVeQUDhD7HgVPifvUxjMs75YCO6yBu/vst19d/E38K1NYqnTuj1MCgC7IqKLDmpKPfZXyYL2mwjrfw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 3.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 12:49:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 81ms (Views: 79.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:49:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 110ms (Views: 108.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:50:01 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y5JhHRMmkaprQzfqVfrVfUZrYUgK/e55t8M8UWepxA0eOYZ7RVC4R0Zz0NcNSYPgHg1jzuvw9AOQoXd5tHL0RA==", "q"=>"vips", "commit"=>"Search"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 316], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 314], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 23ms (ActiveRecord: 4.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 12:50:01 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 77ms (Views: 74.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 12:50:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 42ms (Views: 41.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:50:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 49ms (Views: 47.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:50:29 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7CXm9e12TylmPZqgOsJvUTizVKDu9E+srUvWeQ4yTEORjgGTuwBmxEsNfZ1icTnMYNVWJg/5VdaKKZ1R3el8Cg==", "q"=>"home", "commit"=>"Search"}

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 13ms (ActiveRecord: 3.0ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:50:29 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.8ms)

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

 5:     <th>Domain</th> 
 6: 
 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=t[:long_url]%></td>
11:     <td><%=t[:short_url]%></td>

app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294074695560' Started GET “/search” for 127.0.0.1 at 2019-01-24 12:52:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.3ms)

Completed 200 OK in 47ms (Views: 44.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:52:22 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PtOnpKSqQ+jzKgEY8LxCsIG88jqDYcL9pCGDTeOQNI5DeEDC8txqBd4a5iWoDxQt2drwvGJs2IeDQ8hlMEsExw==", "q"=>"vip", "commit"=>"Search"}

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 14ms (ActiveRecord: 2.6ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-24 12:52:22 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (4.7ms)

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

 5:     <th>Domain</th> 
 6: 
 7:   </tr>
 8:   <% @urls.each do |t| %>
 9:   <tr>
10:     <td><%=t[:long_url]%></td>
11:     <td><%=t[:short_url]%></td>

app/views/elastic_search/show.html.erb:8:in `_app_views_elastic_search_show_html_erb__3242613358292811705_70294021171220' Started GET “/search” for 127.0.0.1 at 2019-01-24 12:53:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.3ms)

Completed 200 OK in 43ms (Views: 42.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:53:17 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"U7owJBtNgREhZU6eOON6bjiHG+rqBZ8RIgDlbGMsB0guEddCTTuo/AxVqaNgUCzzYOEZbAsIhWsFYq5EsPc3AQ==", "q"=>"vip", "commit"=>"Search"}

Completed 500 Internal Server Error in 22ms (ActiveRecord: 2.0ms)

ActionView::MissingTemplate (Missing template /search with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/elastic_search_controller.rb:11:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:53:57 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:13: else without rescue is useless

else
^~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:33: syntax error, unexpected end, expecting end-of-input):

app/controllers/elastic_search_controller.rb:13: else without rescue is useless app/controllers/elastic_search_controller.rb:33: syntax error, unexpected end, expecting end-of-input Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:54:04 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"U7owJBtNgREhZU6eOON6bjiHG+rqBZ8RIgDlbGMsB0guEddCTTuo/AxVqaNgUCzzYOEZbAsIhWsFYq5EsPc3AQ==", "q"=>"vip", "commit"=>"Search"}

Redirected to localhost:3000/search Completed 200 OK in 14ms (ActiveRecord: 1.8ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:54:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 73ms (Views: 71.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:54:11 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ee7z8eBwbTyTXVkoZf7Rd5PKdQqC+Sl7392SkfncvEslD8W55lXyA9sjXUFXmsQQKYTpBqU6OEPNVZWynIOYCw==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 317], ["LIMIT", 1]]
↳ app/controllers/elastic_search_controller.rb:16

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 14ms (ActiveRecord: 1.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-24 12:54:11 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 73ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 12:54:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.9ms)

Completed 200 OK in 83ms (Views: 81.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 12:54:14 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (4.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (17.7ms)

Completed 200 OK in 112ms (Views: 90.3ms | ActiveRecord: 8.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 12:54:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (4.2ms)

Completed 200 OK in 88ms (Views: 85.2ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
Url Load (0.8ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]

Started GET “/search” for 127.0.0.1 at 2019-01-24 12:59:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 43ms (Views: 41.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 12:59:48 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0zM9aYdXIfF7JqWeaMmGBIMIHyHrSku1kVgAwFX3RcKumNoP0SEIHFYWQqMwetCZ224dpwpHUc+2Okvohix1iw==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:17

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 21ms (ActiveRecord: 3.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-24 12:59:48 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 60ms (Views: 58.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 12:59:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 84ms (Views: 82.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 13:01:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 65ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 13:01:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 52ms (Views: 50.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:01:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 103ms (Views: 98.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 13:02:07 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UtVt2O3hyZ0zS2JFAnQ82Z4jyqg2B2AXr6ma95gWKL0ONFuQ68RWons1ZiwwECm+JG1WpBHEcS+9IZ3U/UkM/Q==", "q"=>"stack over", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2)  [["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:17
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2)  [["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 37ms (ActiveRecord: 2.9ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-24 13:02:07 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 65ms (Views: 61.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:02:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 63ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:02:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 72ms (Views: 70.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 13:02:17 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Nb1OvVihURiPRNHbvV1m22posceRN0KaMyj/r1ubtxJpXHj1XoTOJ8c61bKPOXO80CYty7b0U6IhoPiMPsSTUg==", "q"=>"pipe", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 316]]
↳ app/controllers/elastic_search_controller.rb:17
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 316]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 10ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 13:02:17 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 62ms (Views: 59.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:02:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 60ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:02:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.4ms)

Completed 200 OK in 68ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:02:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 72ms (Views: 70.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:02:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 59ms (Views: 57.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 13:02:40 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dzNiYYhMAZF7XjYp+xL77ll+xuTN88ae28j1QbnoMe4r0lQpjmmerjMgMkDJdu6J4zBa6Oow16bJQPJi3LcVrg==", "q"=>"", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:17

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:02:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 99ms (Views: 96.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 13:02:45 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iRaG2L2YXuyEyt36M7/NiiDvoVKjhCho9d3wSI5yjNnV97CQu73B08y02ZMB29jtmqE9XoRHOVDnVfdr6y2omQ==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:17
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 10ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-24 13:02:45 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 66ms (Views: 63.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:03:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 58ms (Views: 56.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:03:41 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 71ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 13:03:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GEoFb6+KfjbhPSl7OQxAjNVPvRtwU8ADsYrpL06Sj7dEqzMnqa/hCalDLRILaFXrbwEhF1eQ0TujAu4MK82r9w==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:17
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 11ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-24 13:03:44 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.9ms)

Completed 200 OK in 87ms (Views: 84.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:03:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 55ms (Views: 52.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:03:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 69ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 13:16:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 95ms (Views: 93.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 13:16:36 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 69ms (Views: 67.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 13:16:37 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QexAcJqGhmuLsAMpEVt0TaPFzTxaG5i9/5gZ9BjhDnG81rR36IYCXrIzgVexKWHIpogVKvziGxOgvykEbAZX0w==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 22ms (ActiveRecord: 9.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:16:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 70ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:16:43 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 69ms (Views: 66.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 13:16:52 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UWXrdA2rQo5XrZ2MPK3QA6J88Szq+jBVT567bv03HlwNhN08C47dsR/TmeUOycVkGDJtIM05IW1dFrxNmGg6HA==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 24ms (ActiveRecord: 3.1ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-24 13:16:52 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (5.0ms)

Completed 200 OK in 101ms (Views: 92.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:17:01 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.0ms)

Completed 200 OK in 74ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 13:17:07 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2OzDE5c4kxMlUnhnPJRFcRHWcYn896SE07v47QmVHLmEDfVbkR0MLG0sfA4O8FAWq5jthds0tbzBM//ObMo4+Q==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 14ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 13:17:07 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 84ms (Views: 82.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:17:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 71ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:17:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 47ms (Views: 45.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-24 13:17:43 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:17:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 51ms (Views: 48.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:17:54 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:17:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 54ms (Views: 52.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 13:18:04 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:18:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 72ms (Views: 71.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 13:23:41 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 200 OK in 63ms (Views: 61.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 13:23:44 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8HoY+92u2Ok99Ks7WEKrw1ylLtKtiBIyvVLykLcRsCMNQOz8r65c3AR3KUX4ML5GWej2xAtxkZzidcJgw/bpgQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 3.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:23:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 67ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 13:23:46 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.0ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (19.5ms)

Completed 200 OK in 78ms (Views: 59.5ms | ActiveRecord: 10.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 13:23:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 85ms (Views: 82.5ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 14:30:52 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:20
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:42
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "codeburst.io"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 33ms (Views: 0.2ms | ActiveRecord: 9.9ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 14:30:58 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.4ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
Url Create (0.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:20
 (11.9ms)  COMMIT
↳ app/models/url.rb:20
Url Load (1.1ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2c1b9f0"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:27
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["id", 318], ["LIMIT", 1]]
↳ app/models/url.rb:27
Url Update (0.8ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "2c1b9f0"], ["id", 318]]
↳ app/models/url.rb:27
 (5.8ms)  COMMIT
↳ app/models/url.rb:27
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 7], ["id", 4]]
↳ app/workers/url_worker.rb:12

Completed 200 OK in 241ms (Views: 0.2ms | ActiveRecord: 21.6ms)

 (12.2ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started POST “/shorten-url/?long_url=codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 14:31:32 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:42

Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 3.9ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 14:32:33 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:20

Completed 200 OK in 17ms (Views: 0.2ms | ActiveRecord: 4.6ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 14:32:37 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:20
 (2.0ms)  COMMIT
↳ app/models/url.rb:20
Url Load (1.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f96a4bc"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["id", 319], ["LIMIT", 1]]
↳ app/models/url.rb:27
Url Update (0.7ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "f96a4bc"], ["id", 319]]
↳ app/models/url.rb:27
 (0.3ms)  COMMIT
↳ app/models/url.rb:27
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.8ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 8], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (0.5ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 87ms (Views: 0.2ms | ActiveRecord: 5.9ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 14:32:40 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.4ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:20
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:42

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 1.6ms)

Started GET “/short-url?short_url=d0d5774” for 127.0.0.1 at 2019-01-24 14:32:43 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"d0d5774"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d0d5774"], ["LIMIT", 1]]
↳ app/models/url.rb:65

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started GET “/short-url?short_url=www.coco/f96a4bc” for 127.0.0.1 at 2019-01-24 14:32:59 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"www.coco/f96a4bc"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f96a4bc"], ["LIMIT", 1]]
↳ app/models/url.rb:65

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 14:33:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 185ms (Views: 181.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 14:33:05 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.4ms)

Completed 200 OK in 82ms (Views: 80.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 14:33:05 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XOTzgjhwif5oPgkb4eC+d96Cq0RtPtMMj5mfqSNVdMah3geFSnANy1G9i2VBkqvy289zUsvHUKLQvq9ZV7ItZA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:33:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 67ms (Views: 65.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 14:33:06 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.5ms)

Completed 200 OK in 72ms (Views: 69.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 14:33:08 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MleRFKReZpsWlGLe9qU2qJGqYcZb2deVkq4UlToVU9huBjC/cfVK9CGevXfGrxWZNseQXz4eW9WtTgv2RxMubw==", "short_url"=>"www.coco/f96a4bc", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=codeburst.io&long_url=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&short_url=www.coco%2Ff96a4bc Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=codeburst.io&long_url=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&short_url=www.coco%2Ff96a4bc” for 127.0.0.1 at 2019-01-24 14:33:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"codeburst.io", "long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"www.coco/f96a4bc"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 99ms (Views: 97.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 14:33:13 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.5ms)

Completed 200 OK in 82ms (Views: 80.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:33:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 62ms (Views: 60.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 14:33:15 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.3ms)

Completed 200 OK in 91ms (Views: 88.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 14:33:20 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uCpJ3wL3eaV2HTLJF9z4ziWQyxef0mFgRLblIYALfMcR+UepQUHJYXiwPLf7Eho+deAhUeodvZgBDIfncMq3hQ==", "long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:20

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=codeburst.io&long_url=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&short_url=www.coco%2Ff96a4bc Completed 200 OK in 5ms (ActiveRecord: 0.5ms)

Started GET “/urls/show?Status=Already+Exists&domain=codeburst.io&long_url=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&short_url=www.coco%2Ff96a4bc” for 127.0.0.1 at 2019-01-24 14:33:20 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"codeburst.io", "long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"www.coco/f96a4bc"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 76ms (Views: 72.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 14:33:21 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.3ms)

Completed 200 OK in 72ms (Views: 70.0ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=www.coco/f96a4bc” for 127.0.0.1 at 2019-01-24 14:34:50 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"www.coco/f96a4bc"}

Completed 200 OK in 15ms (Views: 0.3ms | ActiveRecord: 4.0ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 14:34:53 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
 (0.6ms)  ROLLBACK
↳ app/models/url.rb:20

Completed 200 OK in 19ms (Views: 0.3ms | ActiveRecord: 1.5ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 14:34:56 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["domain", "codeburst.io"]]
↳ app/models/url.rb:20
 (1.4ms)  COMMIT
↳ app/models/url.rb:20
Url Load (2.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c06987"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (5.6ms)  BEGIN
↳ app/models/url.rb:27
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["id", 320], ["LIMIT", 1]]
↳ app/models/url.rb:27
Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "1c06987"], ["id", 320]]
↳ app/models/url.rb:27
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 9], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (5.7ms)  COMMIT
↳ app/models/url.rb:27
 (7.4ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 17.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:35:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 351ms (Views: 347.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 14:35:01 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (10.6ms)

Completed 200 OK in 101ms (Views: 98.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 14:35:14 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yBG6jCqHgd25B62pdFPVozDqiJzCFuxE7cNF+NYTQeRhwrT6aTExGbeqo9eYnTdTYJpi2rfZMLyoeSc+JtKKpg==", "long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "domain"=>"medium.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6"], ["LIMIT", 1]]
↳ app/models/url.rb:20
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6"], ["domain", "medium.com"]]
↳ app/models/url.rb:20
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 10], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (6.2ms)  COMMIT
↳ app/models/url.rb:20
 (8.6ms)  COMMIT
↳ app/workers/url_worker.rb:12
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "medium.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.meco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "medium.com"], ["prefix", "www.meco/"]]
↳ app/models/domain_prefix.rb:20
 (6.1ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "5ae0009"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6"], ["id", 321], ["LIMIT", 1]]
↳ app/models/url.rb:27
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "5ae0009"], ["id", 321]]
↳ app/models/url.rb:27
 (5.1ms)  COMMIT
↳ app/models/url.rb:27

Redirected to localhost:3000/urls/show?Status=Success&domain=medium.com&long_url=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&short_url=www.meco%2F5ae0009 Completed 200 OK in 87ms (ActiveRecord: 23.9ms)

Started GET “/urls/show?Status=Success&domain=medium.com&long_url=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&short_url=www.meco%2F5ae0009” for 127.0.0.1 at 2019-01-24 14:35:14 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"medium.com", "long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"www.meco/5ae0009"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 44ms (Views: 42.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:35:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.9ms)

Completed 200 OK in 90ms (Views: 88.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 14:35:24 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.8ms)

Completed 200 OK in 104ms (Views: 101.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 14:35:26 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"F9EQm6Ply2wrQpAeTyDiwQ8l2QYQBH8NR6tMtYWjVQ9LgLEwdk7nAxxIT7d/KsHwqEgon3XD8014S1PW+KUouA==", "short_url"=>"www.meco/5ae0009", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "5ae0009"], ["LIMIT", 1]]
↳ app/models/url.rb:65

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=medium.com&long_url=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&short_url=www.meco%2F5ae0009 Completed 200 OK in 14ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=medium.com&long_url=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&short_url=www.meco%2F5ae0009” for 127.0.0.1 at 2019-01-24 14:35:26 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"medium.com", "long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"www.meco/5ae0009"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.7ms)

Completed 200 OK in 113ms (Views: 110.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:35:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 68ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 14:35:28 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 67ms (Views: 63.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:35:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 88ms (Views: 85.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 14:35:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 73ms (Views: 70.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:35:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (5.2ms)

Completed 200 OK in 80ms (Views: 78.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 14:35:32 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 93ms (Views: 90.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 14:35:35 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"abtDvXYFH6G8BUPl6qrqBDMYaEJESuOYSTtfkjElKGo1WnX1cCCAnvR7R4zYzv9jiVb0TmOJ8qBbs1ixVHoMKg==", "q"=>"medium", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:19

Redirected to localhost:3000/search Completed 200 OK in 10ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 14:35:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 14:35:42 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ECM/hTDwNJsJWYQEv7ew9+XosaeZ40LgBxHercepPDtMwgnNNtWrpEEngG2N06WQX6Ytq74gU9gVmdmOovYYew==", "q"=>"medium", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:19

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 14:35:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 61ms (Views: 59.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 14:35:49 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1IzWIi7L6mChMI7jr4t3fqtX1UM8MMORKjXiVCDl9LaIbeBqKO51X+lOioqd72IZERlJTxvz0qk4veV3RbrQ9g==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 11ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 14:35:49 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 85ms (Views: 83.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 14:35:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 71ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:35:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 61ms (Views: 59.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:37:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 59ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&domain=codeburst.io” for 127.0.0.1 at 2019-01-24 14:37:47 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "domain"=>"codeburst.io"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:20
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:20
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458"], ["LIMIT", 1]]
↳ app/models/url.rb:42
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "codeburst.io"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 8.0ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (1.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.8ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:43:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 51ms (Views: 49.9ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 14:43:31 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (2.1ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (16.7ms)

Completed 200 OK in 69ms (Views: 50.3ms | ActiveRecord: 9.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:43:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 80ms (Views: 78.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 14:43:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 61ms (Views: 58.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 14:43:35 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4b9fqVcikbqTfZKdR9wT1Yt5tkSMmCbuZoZHgQ3ydxS9XmnhUQcOhdsDlvR1uAayMTcqSKtbN9Z0DkCiaK1TVA==", "q"=>"vip", "commit"=>"Search"}

Completed 500 Internal Server Error in 21ms (ActiveRecord: 4.4ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“developmenturls”,“index_uuid”:“na”,“index”:“developmenturls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“developmenturls”,“index_uuid”:“na”,“index”:“developmenturls”},“status”:404}):

app/controllers/elastic_search_controller.rb:18:in `first' app/controllers/elastic_search_controller.rb:18:in `retrieve' Started GET “/home/index” for 127.0.0.1 at 2019-01-24 14:44:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 42ms (Views: 41.0ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/” for 127.0.0.1 at 2019-01-24 15:04:46 +0530

 (0.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 951ms (Views: 946.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 15:04:49 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (12.7ms)

Completed 200 OK in 125ms (Views: 118.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 15:04:50 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2CH3vllDBLAA/uq8Y9p8/u4vVdyFsU79tb2bziGmE+klGwO5K0OAhTl9aMLDqGl762KNyiNIzVPqmqs+VUFKSw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 4.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:04:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.9ms)

Completed 200 OK in 101ms (Views: 98.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:04:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.8ms)

Completed 200 OK in 116ms (Views: 112.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:05:02 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NTxQ3ZHZ/lHOCOJCvxHilIi1cKiQ1WzoTYZezuk/EnVp3WaVl/xhboZ25iuNdffzMvvspLcWfdBfDlntjGA2NQ==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:24

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 28ms (ActiveRecord: 3.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 15:05:02 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 82ms (Views: 73.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:05:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 89ms (Views: 86.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:05:49 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"I3/WzPt5h/jIxG2gBE3FMnwVceWVIfenPlsjdhLp0ed/nuCE/VwYx4C6ack2KdBVxlvt6bLi5p8s0yRVd7b1pw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:24

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 15:05:49 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 69ms (Views: 67.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:05:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 77ms (Views: 74.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:10:15 +0530

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 4ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:10:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 519ms (Views: 518.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 15:10:17 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.6ms)

Completed 200 OK in 58ms (Views: 54.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 15:10:32 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nnDKpim3yMQhmErNhxauE0FnJMwPrRxrcs+uWrvMXXmrT4kfH1kIxUz65lSaWqvur5MsDliB3mqWPpT1EDj+/A==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 6.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:10:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 67ms (Views: 65.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:10:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 74ms (Views: 70.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:10:52 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XJaoKW7et8QDpMHLEs/FRfsG5ZYeqNxUGaaYosVYDwQJizlf9chBnmegWusOP4llPp3hfqM/5YpRzrbOC5xP2w==", "q"=>"stack", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 319], ["id", 317], ["id", 318], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 319], ["id", 317], ["id", 318], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:24

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 42ms (ActiveRecord: 3.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-24 15:10:52 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 52ms (Views: 50.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:10:53 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.4ms)

Completed 200 OK in 71ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:11:06 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ohfce54KK5Xw2U2Zn8FXt07D//TiQS7QrawM7/RQDQdvCk0NBRzdz5Td1rmDMRuXi1j7HF/WFw7lxCKDOpRN2A==", "q"=>"stack overflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 319], ["id", 317], ["id", 318], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 319], ["id", 317], ["id", 318], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:24

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 14ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-24 15:11:06 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 98ms (Views: 97.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:11:12 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 95ms (Views: 92.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 15:11:19 +0530 Started GET “/search” for 127.0.0.1 at 2019-01-24 15:11:19 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 48ms (Views: 46.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 15:11:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 58ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 15:11:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 64ms (Views: 63.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 15:11:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 59ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:11:30 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.1ms)

Completed 200 OK in 50ms (Views: 49.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 15:14:02 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 368ms (Views: 362.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 15:14:08 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.7ms)

Completed 200 OK in 91ms (Views: 88.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 15:14:48 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gKrHuTomXNzW0V4Qr2zDw1Bn2X+dA+tl0zYx1rCrSPYpecnPeZDsGNh8UG5DoiEzABczOejMN52WjFMQQGqDtA==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:42
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:42
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["domain", "housing.com"]]
↳ app/models/url.rb:42
 (5.8ms)  COMMIT
↳ app/models/url.rb:42
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.hoco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "housing.com"], ["prefix", "www.hoco/"]]
↳ app/models/domain_prefix.rb:20
 (6.0ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1d0057f"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:49
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["id", 322], ["LIMIT", 1]]
↳ app/models/url.rb:49
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "1d0057f"], ["id", 322]]
↳ app/models/url.rb:49
 (0.3ms)  COMMIT
↳ app/models/url.rb:49
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.6ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f Completed 200 OK in 146ms (ActiveRecord: 22.3ms)

Report Update (0.7ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 11], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (0.6ms)  COMMIT
↳ app/workers/url_worker.rb:12

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f” for 127.0.0.1 at 2019-01-24 15:14:48 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "short_url"=>"www.hoco/1d0057f"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.6ms)

Completed 200 OK in 82ms (Views: 77.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 15:15:07 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.9ms)

Completed 200 OK in 72ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 15:15:11 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V1i/kj+ejqz7QLRd81eXoVi+bSXyKV+Fmin/Zle3alj+i7HkfCg+aPXtuiMfmXVRCM6HY4fmg33fk52gp3ahGg==", "long_url"=>"https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:42
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:42
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon"], ["domain", "housing.com"]]
↳ app/models/url.rb:42
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 12], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (5.9ms)  COMMIT
↳ app/models/url.rb:42
 (6.8ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a10abc6"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:49
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon"], ["id", 323], ["LIMIT", 1]]
↳ app/models/url.rb:49
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "a10abc6"], ["id", 323]]
↳ app/models/url.rb:49
 (0.4ms)  COMMIT
↳ app/models/url.rb:49

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon&short_url=www.hoco%2Fa10abc6 Completed 200 OK in 38ms (ActiveRecord: 8.4ms)

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon&short_url=www.hoco%2Fa10abc6” for 127.0.0.1 at 2019-01-24 15:15:11 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon", "short_url"=>"www.hoco/a10abc6"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 88ms (Views: 86.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 15:15:34 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.9ms)

Completed 200 OK in 70ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 15:15:37 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Oit8SrRlUwoISlB3le6+RLl5Kp9cZD3J6SRW/Sf2aY2T+HI899PjzgbnXgl5IFy06QnA2Smr4TGsnjQ71zeizw==", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:42
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288"], ["LIMIT", 1]]
↳ app/models/url.rb:42
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288"], ["domain", "housing.com"]]
↳ app/models/url.rb:42
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 13], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (5.8ms)  COMMIT
↳ app/models/url.rb:42
 (6.9ms)  COMMIT
↳ app/workers/url_worker.rb:12
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:49
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288"], ["id", 324], ["LIMIT", 1]]
↳ app/models/url.rb:49
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e54de1d"], ["id", 324]]
↳ app/models/url.rb:49
 (0.4ms)  COMMIT
↳ app/models/url.rb:49

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 60ms (ActiveRecord: 8.0ms)

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-24 15:15:37 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 68ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 15:15:48 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.4ms)

Completed 200 OK in 72ms (Views: 68.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 15:16:05 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2hgNMXQDfx/CcufOUq35iV2v7Uz9LzTZcS7Z0O0FiL9zywNHN7XP28zf6bC+Yxt5Dd8HCojg6CE0lLsWHcRD/Q==", "long_url"=>"https://housing.com/in/buy/builders/480837_ashiana_homes?fltcnt=d3602393-5887-428e-b33b-a28871695e6a", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:42
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/in/buy/builders/480837_ashiana_homes?fltcnt=d3602393-5887-428e-b33b-a28871695e6a"], ["LIMIT", 1]]
↳ app/models/url.rb:42
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/in/buy/builders/480837_ashiana_homes?fltcnt=d3602393-5887-428e-b33b-a28871695e6a"], ["domain", "housing.com"]]
↳ app/models/url.rb:42
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 14], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (6.0ms)  COMMIT
↳ app/workers/url_worker.rb:12
 (5.2ms)  COMMIT
↳ app/models/url.rb:42
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bd92c05"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:49
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/in/buy/builders/480837_ashiana_homes?fltcnt=d3602393-5887-428e-b33b-a28871695e6a"], ["id", 325], ["LIMIT", 1]]
↳ app/models/url.rb:49
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "bd92c05"], ["id", 325]]
↳ app/models/url.rb:49
 (0.3ms)  COMMIT
↳ app/models/url.rb:49

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fbuilders%2F480837_ashiana_homes%3Ffltcnt%3Dd3602393-5887-428e-b33b-a28871695e6a&short_url=www.hoco%2Fbd92c05 Completed 200 OK in 53ms (ActiveRecord: 7.1ms)

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fbuilders%2F480837_ashiana_homes%3Ffltcnt%3Dd3602393-5887-428e-b33b-a28871695e6a&short_url=www.hoco%2Fbd92c05” for 127.0.0.1 at 2019-01-24 15:16:05 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/builders/480837_ashiana_homes?fltcnt=d3602393-5887-428e-b33b-a28871695e6a", "short_url"=>"www.hoco/bd92c05"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 63ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 15:16:09 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.0ms)

Completed 200 OK in 83ms (Views: 79.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:16:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 61ms (Views: 58.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:16:23 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.1ms)

Completed 200 OK in 83ms (Views: 81.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:16:33 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uZfYd42ifPYeDo1R4cLCO7c4C7fbdR5wgxTOdOapxkLlxnncWAlQmSkEUvjRyOEKEFX6Lr6ykjC89NEXm6+79Q==", "short_url"=>"www.hoco/1d0057f", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1d0057f"], ["LIMIT", 1]]
↳ app/models/url.rb:87

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f” for 127.0.0.1 at 2019-01-24 15:16:33 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "short_url"=>"www.hoco/1d0057f"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 54.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 15:16:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 126ms (Views: 123.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:16:43 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 88ms (Views: 85.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:16:47 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Hd81kKM7dwe4PlK9Ridxnj7d+gnwqNCgWs8AR52CBCNBPgPYpR7oOPBAVtR0Q2T5hJNmBddrwZhIRwdk+N0gYw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 14ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 15:16:47 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.9ms)

Completed 200 OK in 116ms (Views: 111.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:16:50 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.9ms)

Completed 200 OK in 66ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:19:05 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.0ms)

Completed 200 OK in 73ms (Views: 70.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:19:10 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"p9HTdKLA2N08Y+hm578unlHUX/yxKEzKJIzGYtw6K/P7gHLfd2v0sgtpN8/XtQ2v9rmuZdTvwIobbNkBoTxWRA==", "short_url"=>"www.hoco/1d0057f", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f” for 127.0.0.1 at 2019-01-24 15:19:10 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "short_url"=>"www.hoco/1d0057f"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.8ms)

Completed 200 OK in 64ms (Views: 63.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:19:25 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.9ms)

Completed 200 OK in 75ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:19:27 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jtcf8HhDMr7LKl51d7XPQtQOZm41eL/HtkYcruI9MerShr5brege0fwggdxHv+xzc2OX91C/M4eJpgPNnztMXQ==", "short_url"=>"www.hoco/a10abc6", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a10abc6"], ["LIMIT", 1]]
↳ app/models/url.rb:87

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon&short_url=www.hoco%2Fa10abc6 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon&short_url=www.hoco%2Fa10abc6” for 127.0.0.1 at 2019-01-24 15:19:27 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon", "short_url"=>"www.hoco/a10abc6"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.6ms)

Completed 200 OK in 73ms (Views: 71.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:19:43 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.7ms)

Completed 200 OK in 70ms (Views: 68.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:19:45 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yLaYCm0eugyztVh6gVz7/03DDibc8pU0Rb22jSmU2BOU5zmhuLWWY4S/h9OxVtjO6q7/v7k1GXR6XanuVJKlpA==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d "], ["LIMIT", 1]]
↳ app/models/url.rb:87

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-24 15:19:45 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 61.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:19:55 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.9ms)

Completed 200 OK in 71ms (Views: 69.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:19:58 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"liDwBBXu0Lzzs17Fv1YFvPuGkSMocHc2l8JMnMFrfF7KcVGvwEX808S5gWyPXCaNXOtguk23+3aoIlP/vG0B6Q==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-24 15:19:58 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 67ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:19:59 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.9ms)

Completed 200 OK in 88ms (Views: 86.7ms | ActiveRecord: 0.0ms)

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:21:21 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/UI+rl3EHYauhp+jmEuSs6YpcUBnqFWhCvOSVDUYzEehE58FiG8x6ZmMQAqoQbGCAUSA2QJv2eE1E403SB6x8A==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-24 15:21:21 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 108ms (Views: 106.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:21:22 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.5ms)

Completed 200 OK in 109ms (Views: 102.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:21:33 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J/I4xoPhWAE9MYcsp3Nl3gePB5S0AM5olOeeiK+bKNp7o5ltVkp0bgo7WIWXeUbvoOL2DdHHQiirB4Hr0p1VbQ==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-24 15:21:33 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 65ms (Views: 57.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:21:33 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.8ms)

Completed 200 OK in 86ms (Views: 84.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:21:35 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DrY13diLyO/FCL/mecsbpGrtSSXKY5+gSZGuAmpGGrNS55R2DSDkgPICYE9JwTiVzYC4vK+kE+B2cbFhF0BnBA==", "short_url"=>"www.hoco/1d0057f", "commit"=>"Find Long Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1d0057f"], ["LIMIT", 1]]
↳ app/models/url.rb:87
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f Completed 200 OK in 6ms (ActiveRecord: 0.7ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f” for 127.0.0.1 at 2019-01-24 15:21:35 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "short_url"=>"www.hoco/1d0057f"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 68ms (Views: 64.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:21:37 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (10.9ms)

Completed 200 OK in 91ms (Views: 88.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:21:41 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IG52YM6NxbSbkW4qMxJdpjL3VfXkCF3WGhgwg8mXMLJ8P9fLGybp26ybsYMDGH6XlZqkbIHP0ZYl+C/gtJFNBQ==", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-24 15:21:41 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 55.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:22:12 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:22:15 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xWGxzQQJI1vzSGae66LV2fe0K4H+IX8s4eGk7L3MDmGZMBBm0aIPNMRCuTfbqPboUNnaGJvm82zeAbuPwMpz1g==", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d "], ["LIMIT", 1]]
↳ app/models/url.rb:88

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 25ms (ActiveRecord: 3.6ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-24 15:22:15 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (3.4ms)

Completed 200 OK in 118ms (Views: 114.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:22:16 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (6.3ms)

Completed 200 OK in 71ms (Views: 68.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:22:50 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZXxC2nfTBzBxWW8f2CtAzwT4dobMJdkjzHqjd2HzEXw5LeNxongrX0ZTsLboIWP+o5WHH6niVWPzmrwUHPVsyw==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d "], ["LIMIT", 1]]
↳ app/models/url.rb:88

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 25ms (ActiveRecord: 4.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-24 15:22:50 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 317ms (Views: 314.9ms | ActiveRecord: 0.0ms)

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:24:42 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.6ms)

Completed 200 OK in 73ms (Views: 71.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:24:44 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Wmmbp1RR7FiT6Cu3QtYwFN9IzFoE5Igu4qPAOUdiDq4GODoMgfrAN6Ti9B5y3BMleCU9w2EjBG7dQ99aOmRzGQ==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d "], ["LIMIT", 1]]
↳ app/models/url.rb:88

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 22ms (ActiveRecord: 3.4ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-24 15:24:44 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 99ms (Views: 95.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:26:07 +0530 Processing by UrlsController#short_to_long as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:26:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 50ms (Views: 48.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 15:26:09 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.5ms)

Completed 200 OK in 84ms (Views: 81.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 15:26:10 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RicHhYqHQWA5SsyB3JiWNsLZOOJZizmewHexTNG9Tju7HfOC+IfFVQDJTv986oOzx5Tg9P9yujCfUIG8pVoXmQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 4.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:26:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 65ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 15:26:11 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.3ms)

Completed 200 OK in 89ms (Views: 87.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:26:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 72ms (Views: 67.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:26:14 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.4ms)

Completed 200 OK in 101ms (Views: 99.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:26:18 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"L/VkSY+0rgQ9koz2/7FCRnTjqRZQqmqNhgmXk0e+rllzpMXiWh+CawqYU1/Pu2F3045YjzVt5s256YjwOrjT7g==", "short_url"=>"www.hoco/e54de1d", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:88
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 25ms (ActiveRecord: 5.8ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-24 15:26:18 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 76ms (Views: 74.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:26:19 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.6ms)

Completed 200 OK in 78ms (Views: 76.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:28:46 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrOrUl8HnXoIjDsw1S99pFOc1/7p0+tXgtKeYh3tozba4gr5iqyxFT+G5JnlJV6V9PEmZ4wUZxe9MoEBYOvegQ==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 12ms (ActiveRecord: 3.1ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-24 15:28:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (3.2ms)

Completed 200 OK in 81ms (Views: 79.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:28:47 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (10.1ms)

Completed 200 OK in 98ms (Views: 95.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:28:53 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"evOWbicLqu5Q+51oG7N2Rhl5bTtTxlEJNBWoffYf/vgmojfF8qCGgWfxQsEruVV3vhScojYB3UkL9bceixmDTw==", "short_url"=>"    www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-24 15:28:53 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 78ms (Views: 77.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:28:54 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.8ms)

Completed 200 OK in 95ms (Views: 92.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:29:08 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+qwnxzBeQt3Nmjrn6C6+QaPaB6pnRY4DWYyqzfA+b76m/YZs5fVusvqQ5U7YJJ1wBLf2MwKCAkNmbLWujTgSCQ==", "short_url"=>"www.hoco/bd92c05", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bd92c05"], ["LIMIT", 1]]
↳ app/models/url.rb:89

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fbuilders%2F480837_ashiana_homes%3Ffltcnt%3Dd3602393-5887-428e-b33b-a28871695e6a&short_url=www.hoco%2Fbd92c05 Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fbuilders%2F480837_ashiana_homes%3Ffltcnt%3Dd3602393-5887-428e-b33b-a28871695e6a&short_url=www.hoco%2Fbd92c05” for 127.0.0.1 at 2019-01-24 15:29:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/builders/480837_ashiana_homes?fltcnt=d3602393-5887-428e-b33b-a28871695e6a", "short_url"=>"www.hoco/bd92c05"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 70ms (Views: 67.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:29:09 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.8ms)

Completed 200 OK in 93ms (Views: 91.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:29:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 66ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 15:29:10 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (2.6ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (17.8ms)

Completed 200 OK in 87ms (Views: 73.2ms | ActiveRecord: 9.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:29:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 126ms (Views: 124.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 15:29:13 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.6ms)

Completed 200 OK in 107ms (Views: 103.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 15:29:21 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J4gjyxLsN3CjSYDp52MN2XDKLAUnbulBvZPJkKTCCMqOWy29UVqHtK3kjpcLre8pILrGQ1KhNbn4KatWVAPDiA==", "long_url"=>"https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:42
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/models/url.rb:42
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8"], ["domain", "google.com"]]
↳ app/models/url.rb:42
 (6.2ms)  COMMIT
↳ app/models/url.rb:42
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.goco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "google.com"], ["prefix", "www.goco/"]]
↳ app/models/domain_prefix.rb:20
 (1.1ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2babcc3"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:49
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8"], ["id", 326], ["LIMIT", 1]]
↳ app/models/url.rb:49
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "2babcc3"], ["id", 326]]
↳ app/models/url.rb:49
 (0.3ms)  COMMIT
↳ app/models/url.rb:49

Redirected to localhost:3000/urls/show?Status=Success&domain=google.com&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.goco%2F2babcc3 Completed 200 OK in 60ms (ActiveRecord: 14.5ms)

Started GET “/urls/show?Status=Success&domain=google.com&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.goco%2F2babcc3” for 127.0.0.1 at 2019-01-24 15:29:21 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google.com", "long_url"=>"https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"www.goco/2babcc3"}
Report Load (1.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-24"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (20.2ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (2.0ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-24"], ["id", 4], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Update (4.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 15], ["id", 4]]
↳ app/workers/url_worker.rb:12
 (1.3ms)  COMMIT
↳ app/workers/url_worker.rb:12

Completed 200 OK in 67ms (Views: 65.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 15:29:24 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.4ms)

Completed 200 OK in 86ms (Views: 83.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:29:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 15:29:25 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (3.5ms)

Completed 200 OK in 78ms (Views: 74.8ms | ActiveRecord: 1.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:29:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 65ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:29:27 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 79ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:29:31 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BnoIkmWYglGkHJ3a9XKdUPT/TaVBzXj1MsjAOQam3kdamz7aY70dbuximbPHFog3TrHRqWYOac0gQMcaY/n6Bw==", "q"=>"google.com", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com Completed 200 OK in 11ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com” for 127.0.0.1 at 2019-01-24 15:29:31 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"2babcc3", "domain"=>"google.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 61.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:29:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 82ms (Views: 78.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:29:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 69ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-24 15:31:14 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:31:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 58ms (Views: 57.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 15:31:29 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.3ms)

Completed 200 OK in 60ms (Views: 58.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 15:31:30 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"se44PQ+wjPQyQgRgs4bkWVi51uVuiRWw0G/845WyQlRM1Mw6fbAIwQvBhh4T9PHcXfQO88hwlh6PSMwT4VUb9g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:31:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.4ms)

Completed 200 OK in 86ms (Views: 84.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:37:31 +0530

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.3ms)

Completed 200 OK in 331ms (Views: 325.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:37:36 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sQ4z8H2vkAwILGlF11f867CW5nDgMTPvp92MdElNczLt7wW4e4oPM0BSbSzlM+mMCth6fMfyIte1VYtXLBJXcg==", "q"=>"stac", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 23ms (ActiveRecord: 5.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:37:36 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (6.3ms)

Completed 200 OK in 78ms (Views: 74.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:37:38 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NgXYFL3MSI45GCWQZBsBozRU05awAiduHa3BgMJ8Ykpq5O5cu+nXsXFmIflWfxTEjhpPmpfBNlYPJcajpyNGCg==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 11ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:37:38 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.4ms)

Completed 200 OK in 132ms (Views: 128.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:37:40 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i5wTzrcgb6z+va4Jc4NTOvEPCc7I5npTs95atH1zYA7XfSWGsQXwk7bDqmBB50ZdS0GVwu8la2uhVl2XGCxETg==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 11ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:37:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.1ms)

Completed 200 OK in 83ms (Views: 80.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:38:05 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CgVOJq/S96gPPNzN1V/5y3u5UtLbqURILWLnD/FlGJhW5Hhuqfdol0dC2KTnO+yswffO3vxqVXA/6uAslDo82A==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 29ms (ActiveRecord: 3.9ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 15:38:05 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.9ms)

Completed 200 OK in 83ms (Views: 80.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:38:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.6ms)

Completed 200 OK in 72ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:38:11 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ntJrsJAL4JhSYafis8cGmxL0yQHxDQUfhovJt66qBEXCM134li5/pxofo4uBoxP8qLpVDdbOFCeUA86Uy/UgBQ==", "q"=>"stackove", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:38:11 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 62ms (Views: 61.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:39:11 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rKXFW90V0ya6euqYJEOpzMLyaCQd+SS308kPYwe/c7PwRPMT2zBMGfIE7vEWJ7yreLz0KDo6NY/BQQhAYuBX8w==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 34ms (ActiveRecord: 4.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 15:39:11 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (4.3ms)

Completed 200 OK in 345ms (Views: 339.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:39:13 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.6ms)

Completed 200 OK in 116ms (Views: 114.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:39:15 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Z1JZ7vYup/5uagWfeMQcywmxENm2uI2Ttg9o4DWPFnM7s2+m8As4wSYUAfZKoAmss/+M1ZF7nKukh2/DUNAyMw==", "q"=>"stac", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:39:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (9.1ms)

Completed 200 OK in 115ms (Views: 113.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:39:41 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ubYi9jArt9p8Y61J2PcR1KEIkKXX6/wFLVWFlyUyoKHlVxS+Ng4o5TQdqSDqkwSzG0YMqfAo7T0/3YK0QG2E4Q==", "q"=>"stac", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 12ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:39:41 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 63ms (Views: 59.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:39:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zt3sntfU2OhGojHQPWUwt3HBVWGmyUuvRPvkP1aXiPiSPNrW0fFH1w7cNbkPASXQy4/JbYEKWpdWc+McM8isuA==", "q"=>"google.com", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:39:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.4ms)

Completed 200 OK in 73ms (Views: 71.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:39:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fQUlLV3fEcA8pd6vODNUCHAjLncx2E0BVbUpR1HEGWIh5BNlW/qO/3Tb2sYKV0Fvym2yexYbXDlHPS5kNJs9Ig==", "q"=>"google.com", "commit"=>"Search"}
Url Load (0.9ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:39:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 59ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:39:55 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vwGLO94E+IGnp/8XNC9PVhNWMzF/Y/NikOkeZsKITarj4L1z2CFnvu/Z+34GS1oxqRivPVig4lqCYRlFp9dp6g==", "q"=>"google", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:39:55 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.4ms)

Completed 200 OK in 71ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:39:58 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NHp1IZaz2pH9l/Zsl2U/RVMihXrMmlCkkJx9PuIASOhom0NpkJZFrrXp8gWlASoi6WwZdutZQZyCFHodh19sqA==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:39:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 61ms (Views: 59.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:40:25 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"D0W2X8JgMHonMhWgHbLMx2BHyAvVn52xvRsh/H0wKbNTpIAXxEWvRW9MEckv1tmg2glUB/JcjImvkybfGG8N8w==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 16ms (ActiveRecord: 3.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:40:25 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 81ms (Views: 78.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:43:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:43:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 77ms (Views: 75.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:46:04 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V5iCoUwhPp2s5h2pfurM5mwqkWOxUTVK+tnaCFqwIK0LebTpSgShouSYGcBMjtmB1mQNb5aSJHLoUd0rP+8E7Q==", "q"=>"stackoverflow", "commit"=>"Search"}

Completed 500 Internal Server Error in 37ms (ActiveRecord: 3.3ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”},“status”:404}):

app/controllers/elastic_search_controller.rb:18:in `first' app/controllers/elastic_search_controller.rb:18:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:46:35 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V5iCoUwhPp2s5h2pfurM5mwqkWOxUTVK+tnaCFqwIK0LebTpSgShouSYGcBMjtmB1mQNb5aSJHLoUd0rP+8E7Q==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:46:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 61ms (Views: 59.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:46:37 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"URFqE6crYgAID7Ib5yslWf16Y55Je/++XYUqDknhtQ8N8FxboQ79P0BxtnLVTzA+RzT/km647oZPDS0tLL6RTw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:46:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 65ms (Views: 63.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:47:50 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 326ms (Views: 321.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:47:53 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3gLsrN6+8+3e01N1zczJ3tpu20XZQvI9FGZYIc40x9qjqQvKiMjaAPPjtEiVf59DggjZwzhP6EczBBMJHe/3kw==", "q"=>"stackoverflow", "commit"=>"Search"}

Completed 500 Internal Server Error in 40ms (ActiveRecord: 4.0ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”},“status”:404}):

app/controllers/elastic_search_controller.rb:18:in `first' app/controllers/elastic_search_controller.rb:18:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:47:54 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3gLsrN6+8+3e01N1zczJ3tpu20XZQvI9FGZYIc40x9qjqQvKiMjaAPPjtEiVf59DggjZwzhP6EczBBMJHe/3kw==", "q"=>"stackoverflow", "commit"=>"Search"}

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”},“status”:404}):

app/controllers/elastic_search_controller.rb:18:in `first' app/controllers/elastic_search_controller.rb:18:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:48:13 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3gLsrN6+8+3e01N1zczJ3tpu20XZQvI9FGZYIc40x9qjqQvKiMjaAPPjtEiVf59DggjZwzhP6EczBBMJHe/3kw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
↳ app/models/url.rb:130
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 98ms (ActiveRecord: 4.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:48:13 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 79ms (Views: 77.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:48:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4zsOi4+BDMcuwD3uShqojatFpLLtGLkmZvM8xG009Ae/2jjDiaST+Ga+OYd4fr3qEQs4vsrbqB50ezvnCGvQRw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
↳ app/models/url.rb:120
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 51ms (ActiveRecord: 3.7ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:48:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (26.8ms)

Completed 200 OK in 82ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:49:06 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PMEGnkHfUROiILUCP5Nf8to+FjfylNC5zyWlIg3xD2VgIDDWR/rOLOpesWsN90qVYHCKO9VXwYHdraIBaK4rJQ==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 16ms (ActiveRecord: 3.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:49:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 79ms (Views: 77.5ms | ActiveRecord: 0.0ms)

Url Load (0.2ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:49:56 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MS64mB5PDlDEgpVcJU90hX5TLzM5WjsGpUgrqHxQTXFtz47QGGqRb4z8kTUXK2HixB2zPx6ZKj63wCyLGQ9pMQ==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 16ms (ActiveRecord: 3.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:49:56 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 55ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:50:34 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3PoII1Mpmfbl6Z6djCTSOEGGbcVQzivnC6j6J62GQQKAGz5rVQwGya2XmvS+QMdf+8jxyXcNOt8ZIP0EyNllQg==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 20ms (ActiveRecord: 3.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:50:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (8.1ms)

Completed 200 OK in 323ms (Views: 320.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:51:07 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DhOvL3PzDU6QCnbJ75fjOYGJeCluEgnYCs01o8/sFQ5S8plnddaScdh0cqDd8/ZeO8fkJUnRGOAYRTKAqrMxTg==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 18ms (ActiveRecord: 3.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:51:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 91ms (Views: 88.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:51:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.1ms)

Completed 200 OK in 73ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:51:11 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rqGSDjXF4vdD8bbWLeYNuXHrxdmWP4Z4Y7QAZhjO4Q/TCnVoY7PLGm7BUet1VVskKY3HX3cynAJE1ktOyxXRRg==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:51:11 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.4ms)

Completed 200 OK in 117ms (Views: 114.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:51:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 83ms (Views: 81.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-24 15:51:13 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:51:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 63ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 15:51:20 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.9ms)

Completed 200 OK in 324ms (Views: 319.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 15:51:21 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QwHqwARzmXIIsEdYYkbJrcCRudddYXf1MbdZaxLqfpi+Ox7HdnMdRzEzxSbCNNwoxdxhwfuY9FtukGmbZg0nOg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 4.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:51:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 100ms (Views: 97.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:51:23 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.1ms)

Completed 200 OK in 118ms (Views: 115.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:51:25 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2xtYzrOXNBAfhK763vzb/9i1MdRmcEG0x6Nirk+PSuuH+m6GtbKrL1f6qpPsmM6YYvut2EGzUIzVK2WNKtBuqw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 20ms (ActiveRecord: 3.6ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:51:25 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.3ms)

Completed 200 OK in 69ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:52:30 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WIveb0V8G4Clv3UsRPY9ihN3D2GTNZM1hCvvCdZDUV8EaugnQ1mEv+3BcUV2kijtqTmTbbT2gg2Wo+gqsxx1Hw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 13ms (ActiveRecord: 3.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:52:30 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 70ms (Views: 68.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:52:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 66ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:52:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 76ms (Views: 73.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:52:35 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EE19jMuwdk5nsa7r1cQWXOLaBnDXwINAg7iBSa8UwjFMrEvEzZXpcS/PqoLnoAM7WJSafPADkniRMIZqykvmcQ==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:52:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 58ms (Views: 57.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:52:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 94ms (Views: 91.3ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 15:52:37 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (2.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (18.7ms)

Completed 200 OK in 64ms (Views: 46.5ms | ActiveRecord: 12.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:52:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 86ms (Views: 81.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:52:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 74ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:52:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BxUZLb6QV5bo9ToluaUc1QNeaYMOdnsUw6V2odAMN9lb9C9luLXIqaCLPkyLwQmyuRD1jym1aizRLXGCtVMTmQ==", "q"=>"medium.com", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:52:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.4ms)

Completed 200 OK in 73ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 15:53:50 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 264ms (Views: 259.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:53:53 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (50.6ms)

Completed 200 OK in 94ms (Views: 91.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:53:54 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RRG+ePRdFHQbaVkL1m+cMJm/l7w4MIZcwFKmLnHcbxkZ8Igw8niLS1MXXWLkC4lXI/ELsB/zl2TS2qENFINLWQ==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 26ms (ActiveRecord: 6.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:53:54 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 107ms (Views: 104.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:54:53 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YbLVBU+aVE3zf+5xvNiU/cRliFsq348OMmSw1tPBGPM9U+NNSb/LcrsB6hiOvIGafisUVw0cnjYg7Lf1tp48sw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:19

Redirected to localhost:3000/search Completed 200 OK in 16ms (ActiveRecord: 3.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:54:53 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 63ms (Views: 61.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:54:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 76ms (Views: 74.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 15:55:23 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 268ms (Views: 262.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:55:24 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.7ms)

Completed 200 OK in 99ms (Views: 94.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:55:26 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i/xF4ttig5R3a+5hB1iLFlGzGjEaqUmBaU/Y8m8Xp9jXHXOq3Uccqz8V6gg1PJ5x6/2GPT1qWLl7x9/RCkiDmA==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:19

Redirected to localhost:3000/search Completed 200 OK in 22ms (ActiveRecord: 5.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:55:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 98ms (Views: 96.4ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:56:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.4ms)

Completed 200 OK in 70ms (Views: 68.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:56:22 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oNA8nQInQ8O3bdwRnlnXQar1R4mWINXb874qkTBCzrvde9v7VFFqLppdOyzG6oHc8pNFD3ctz6HU3GG545n+8g==", "q"=>"google.com", "commit"=>"Search"}
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:19

Redirected to localhost:3000/search Completed 200 OK in 17ms (ActiveRecord: 3.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:56:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.9ms)

Completed 200 OK in 63ms (Views: 61.0ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:56:59 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5pVwinJEje4nWAJs992D+PAN0e4xnTxn43IZqMoDgMm6dEbCdGES0W8mBgXFuZafSkNN4hZeLV/x+h6Lr1ykiQ==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:24

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 36ms (ActiveRecord: 3.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 15:56:59 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 66ms (Views: 64.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:57:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 59ms (Views: 57.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-24 15:57:03 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:57:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 58ms (Views: 56.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:57:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 44ms (Views: 42.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 15:57:37 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 89ms (Views: 87.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 15:57:38 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"etFYpXII1xkrr+zilJW7JZMQtHXY1N1XhJcAF/44NrCH66yiAAhTLBIsbpw0566gll1sY34tXvnbsDDnit9vEg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 4.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:57:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 77ms (Views: 75.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 15:57:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.2ms)

Completed 200 OK in 86ms (Views: 83.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 15:57:41 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BuNmxfbYug8SRc3Z2zYPBqj+0fqSIYwyRZVpV0wAMUtaAlCN8P0lMFo7ybDpUhphErBN9rXinQpXHW50KV8VCw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 22ms (ActiveRecord: 3.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 15:57:41 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:57:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 77ms (Views: 74.6ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-24 15:57:43 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:57:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 58ms (Views: 56.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 15:58:59 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 200 OK in 59ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 15:59:01 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7PuOh23uOSO3rxLKsYHp8cyZ8WIdIxybz7XGbYR4NuMRwXqAH+69Fo4skLQR8/x0ydQpdLvanzWQkvad8J9vQQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 4.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:59:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 77ms (Views: 75.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 15:59:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.3ms)

Completed 200 OK in 84ms (Views: 82.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:59:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.7ms)

Completed 200 OK in 83ms (Views: 81.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-24 15:59:05 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.7ms)

Completed 200 OK in 81ms (Views: 78.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-24 15:59:10 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DCxZUx4TKzOFUFeuSuW61g3/quSBc9k1sWKadYdx1blQffj4y7gHXLJaiAd675nnqpJbfeS0VXWOgoUW+neoDg==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:89
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 22ms (ActiveRecord: 5.4ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-24 15:59:10 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 64ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 15:59:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.7ms)

Completed 200 OK in 81ms (Views: 78.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 16:02:09 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 263ms (Views: 258.0ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" LIMIT $1  [["LIMIT", 11]]
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
Url Import (72.2ms)  {"count":25}
Url Search (59.5ms)  curl http://localhost:9200/urls_development/_search?pretty -H 'Content-Type: application/json' -d '{"query":{"dis_max":{"queries":[{"multi_match":{"query":"medium","boost":10,"operator":"and","analyzer":"searchkick_search","fields":["*.analyzed"],"type":"best_fields"}},{"multi_match":{"query":"medium","boost":10,"operator":"and","analyzer":"searchkick_search2","fields":["*.analyzed"],"type":"best_fields"}},{"multi_match":{"query":"medium","boost":1,"operator":"and","analyzer":"searchkick_search","fuzziness":1,"prefix_length":0,"max_expansions":3,"fuzzy_transpositions":true,"fields":["*.analyzed"],"type":"best_fields"}},{"multi_match":{"query":"medium","boost":1,"operator":"and","analyzer":"searchkick_search2","fuzziness":1,"prefix_length":0,"max_expansions":3,"fuzzy_transpositions":true,"fields":["*.analyzed"],"type":"best_fields"}}]}},"timeout":"11s","_source":false,"size":10000,"from":0}'
Url Search (27.2ms)  curl http://localhost:9200/urls_development/_search?pretty -H 'Content-Type: application/json' -d '{"query":{"dis_max":{"queries":[{"multi_match":{"query":"medium","boost":10,"operator":"and","analyzer":"searchkick_search","fields":["*.analyzed"],"type":"best_fields"}},{"multi_match":{"query":"medium","boost":10,"operator":"and","analyzer":"searchkick_search2","fields":["*.analyzed"],"type":"best_fields"}},{"multi_match":{"query":"medium","boost":1,"operator":"and","analyzer":"searchkick_search","fuzziness":1,"prefix_length":0,"max_expansions":3,"fuzzy_transpositions":true,"fields":["*.analyzed"],"type":"best_fields"}},{"multi_match":{"query":"medium","boost":1,"operator":"and","analyzer":"searchkick_search2","fuzziness":1,"prefix_length":0,"max_expansions":3,"fuzzy_transpositions":true,"fields":["*.analyzed"],"type":"best_fields"}}]}},"timeout":"11s","_source":false,"size":10000,"from":0}'
Url Search (23.0ms)  curl http://localhost:9200/urls_development/_search?pretty -H 'Content-Type: application/json' -d '{"query":{"dis_max":{"queries":[{"multi_match":{"query":"medium.com","boost":10,"operator":"and","analyzer":"searchkick_search","fields":["*.analyzed"],"type":"best_fields"}},{"multi_match":{"query":"medium.com","boost":10,"operator":"and","analyzer":"searchkick_search2","fields":["*.analyzed"],"type":"best_fields"}},{"multi_match":{"query":"medium.com","boost":1,"operator":"and","analyzer":"searchkick_search","fuzziness":1,"prefix_length":0,"max_expansions":3,"fuzzy_transpositions":true,"fields":["*.analyzed"],"type":"best_fields"}},{"multi_match":{"query":"medium.com","boost":1,"operator":"and","analyzer":"searchkick_search2","fuzziness":1,"prefix_length":0,"max_expansions":3,"fuzzy_transpositions":true,"fields":["*.analyzed"],"type":"best_fields"}}]}},"timeout":"11s","_source":false,"size":10000,"from":0}'
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/” for 127.0.0.1 at 2019-01-24 16:38:01 +0530

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/views/layouts/application.html.erb:31: syntax error, unexpected end-of-input, expecting end):

app/views/layouts/application.html.erb:31: syntax error, unexpected end-of-input, expecting end Started GET “/” for 127.0.0.1 at 2019-01-24 16:38:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 431ms (Views: 429.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 16:38:20 +0530 Processing by HomeController#index as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}
Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 49ms (Views: 46.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 16:38:23 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.2ms)

Completed 200 OK in 79ms (Views: 75.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 16:38:24 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Aa5Jxai2FJxd2sBSoRyzHSPizUdcMk/x76O+W9q4uTn8lL3C2raQqWRZQiwBbqaYJq8VUfrLzF+whI6rrl/gmw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 26ms (ActiveRecord: 4.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 16:38:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (6.1ms)

Completed 200 OK in 122ms (Views: 119.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 16:40:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 500 Internal Server Error in 701ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `search_show' for #<#<Class:0x00007ffb1ed3cb08>:0x00007ffb1ed44768> Did you mean? search_show_url):

12:   <body>
13:     <header>
14:       <%= link_to "Search" , home_index_path %>
15:       <%= form_tag search_show, method: :get do %>
16:       <%= text_field_tag :q,nil %>
17:       <%end%>
18:     </header>

app/views/layouts/application.html.erb:15:in `_app_views_layouts_application_html_erb__2585882704200182620_70358265425540' Started GET “/home/index” for 127.0.0.1 at 2019-01-24 16:41:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 90ms (Views: 89.2ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 16:41:07 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (0.3ms)

Completed 200 OK in 43ms (Views: 41.2ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=” for 127.0.0.1 at 2019-01-24 16:44:34 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>""}

Completed 500 Internal Server Error in 22ms (ActiveRecord: 1.9ms)

NameError (undefined local variable or method `searchkick' for #<Class:0x00007ffb1e6039b8>):

app/models/url.rb:2:in `<class:Url>' app/models/url.rb:1:in `<main>' app/controllers/search_controller.rb:3:in `show' Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 16:45:17 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}

Completed 500 Internal Server Error in 18ms (ActiveRecord: 1.6ms)

NameError (undefined local variable or method `searchkick' for #<Class:0x00007ffb21b7a718>):

app/models/url.rb:2:in `<class:Url>' app/models/url.rb:1:in `<main>' app/controllers/search_controller.rb:3:in `show' Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 16:46:29 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 45ms (Views: 41.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 16:46:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fsPTKqJX3Z6ZTm4FuF3SEMlt/C4nJ380ZxhKhKuCMrLXEN1c4eFtWpfjYHtUkzDgmR0WaFLoo8wioihCW0P58A==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `searchkick' for #<Class:0x00007ffb258210e0>):

app/models/url.rb:2:in `<class:Url>' app/models/url.rb:1:in `<main>' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:57:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 16:46:33 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fsPTKqJX3Z6ZTm4FuF3SEMlt/C4nJ380ZxhKhKuCMrLXEN1c4eFtWpfjYHtUkzDgmR0WaFLoo8wioihCW0P58A==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `searchkick' for #<Class:0x00007ffb21a0beb8>):

app/models/url.rb:2:in `<class:Url>' app/models/url.rb:1:in `<main>' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:57:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 16:46:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fsPTKqJX3Z6ZTm4FuF3SEMlt/C4nJ380ZxhKhKuCMrLXEN1c4eFtWpfjYHtUkzDgmR0WaFLoo8wioihCW0P58A==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant ApplicationRecord::Base):

app/models/url.rb:1:in `<main>' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:57:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 16:47:41 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fsPTKqJX3Z6ZTm4FuF3SEMlt/C4nJ380ZxhKhKuCMrLXEN1c4eFtWpfjYHtUkzDgmR0WaFLoo8wioihCW0P58A==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 15ms (ActiveRecord: 1.4ms)

NameError (undefined local variable or method `searchkick' for #<Class:0x00007ffb22eab508>):

app/models/url.rb:2:in `<class:Url>' app/models/url.rb:1:in `<main>' app/controllers/urls_controller.rb:6:in `shorten_url' app/controllers/urls_controller.rb:57:in `show_shorten' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 16:48:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fsPTKqJX3Z6ZTm4FuF3SEMlt/C4nJ380ZxhKhKuCMrLXEN1c4eFtWpfjYHtUkzDgmR0WaFLoo8wioihCW0P58A==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:11
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:11
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:11
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:33
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f Completed 200 OK in 32ms (ActiveRecord: 8.4ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&short_url=www.hoco%2F1d0057f” for 127.0.0.1 at 2019-01-24 16:48:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "short_url"=>"www.hoco/1d0057f"}
Rendering urls/show.erb within layouts/application
Rendered urls/show.erb within layouts/application (1.2ms)

Completed 200 OK in 64ms (Views: 60.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 16:48:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 16:48:04 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}

Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `search' for #<Class:0x00007ffb21d70b08>):

app/controllers/search_controller.rb:3:in `show' Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 16:48:58 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant Url::Elasticsearch):

app/models/url.rb:2:in `<class:Url>' app/models/url.rb:1:in `<main>' app/controllers/search_controller.rb:3:in `show' Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 16:49:53 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (8.6ms)

Completed 200 OK in 379ms (Views: 359.4ms | ActiveRecord: 1.6ms)

Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 16:49:58 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (9.3ms)

Completed 200 OK in 55ms (Views: 53.2ms | ActiveRecord: 0.0ms)

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]

Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 16:50:25 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (8.0ms)

Completed 200 OK in 52ms (Views: 50.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 16:50:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 70ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=” for 127.0.0.1 at 2019-01-24 16:50:31 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>""}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (7.0ms)

Completed 200 OK in 47ms (Views: 44.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 16:50:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 79ms (Views: 76.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 16:57:13 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.2ms)

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'jquery-ui' with type 'text/css' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
   5:     <%= csrf_meta_tags %>
   6:     <%= csp_meta_tag %>
   7: 
   8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
   9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  10:   </head>
  11:

app/assets/stylesheets/application.scss:15 app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb___2128716408401262109_70266673988680' Started GET “/search” for 127.0.0.1 at 2019-01-24 16:58:41 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.3ms)

Completed 500 Internal Server Error in 36ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'jquery-ui' with type 'application/javascript' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
   6:     <%= csp_meta_tag %>
   7: 
   8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
   9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  10:   </head>
  11: 
  12:   <body>

app/assets/javascripts/application.js:18 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___2128716408401262109_70266710708720' Started GET “/search” for 127.0.0.1 at 2019-01-24 17:07:04 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.8ms)

Completed 500 Internal Server Error in 52ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'jquery-ui' with type 'application/javascript' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
   6:     <%= csp_meta_tag %>
   7: 
   8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
   9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  10:   </head>
  11: 
  12:   <body>

app/assets/javascripts/application.js:18 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___2128716408401262109_70266718144760' Started GET “/search” for 127.0.0.1 at 2019-01-24 17:07:49 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 117ms (Views: 114.8ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 17:07:52 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (7.2ms)

Completed 200 OK in 84ms (Views: 60.8ms | ActiveRecord: 6.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:07:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 60ms (Views: 58.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 17:07:55 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.2ms)

Completed 200 OK in 100ms (Views: 97.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 17:07:57 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tsVpisMC41eTspoUwXQl7bZr2JwLVghoZteuPPEm76pL/52NsQJnYqoxGGphBjBosyYAiq2vi8Y58J7MhcG2CA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 18ms (ActiveRecord: 5.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:07:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 51ms (Views: 49.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 17:08:00 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 74ms (Views: 71.9ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=” for 127.0.0.1 at 2019-01-24 17:08:02 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>""}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (8.7ms)

Completed 200 OK in 69ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:08:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 56ms (Views: 53.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-24 17:08:07 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:08:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 42ms (Views: 40.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:08:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 346ms (Views: 344.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 17:08:44 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 71ms (Views: 69.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 17:08:46 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8iuNxib4sRHzfh7/bMLOcSRJf6xvcwp8EHS1/JxyWVAPEXnBVPg1JMr9nIHMsNv0IQSnusmKidJPU4UM6JUA8g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (2.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 19ms (ActiveRecord: 7.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:08:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 61ms (Views: 59.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 17:08:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.6ms)

Completed 200 OK in 68ms (Views: 65.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 17:08:49 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vewRmbL2N6onjDBnmL2xWaGgSpkrNPrXaG7pTCwqLPHhDSfRtNOolW/yNA6q2aQ+G+7WlQz36+965u5vSXUIsQ==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (1.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 23ms (ActiveRecord: 4.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 17:08:49 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 59ms (Views: 56.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 17:08:50 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 82ms (Views: 80.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 17:08:52 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"N/A4Mt1z/dwMopWR4YtgsWHLRgweF4N4qjKVbdTPSIFrEQ5621Zi40TckfjT73XW24XaADnUkkC4upJOsZBswQ==", "q"=>"google", "commit"=>"Search"}
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 6ms (ActiveRecord: 0.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 17:08:52 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 59ms (Views: 58.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 17:08:56 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8ftXjZpj/NcwHwou3IfNqqLoOOKX8IqMkaG7LM3qrIGtGmHFnEZj6HhhDkfu49jNGKak7rAzm7SDKbwPqLWIwQ==", "q"=>"google.com", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com Completed 200 OK in 10ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com” for 127.0.0.1 at 2019-01-24 17:08:56 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"2babcc3", "domain"=>"google.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 61ms (Views: 57.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 17:09:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 80ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 17:09:08 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pFUJv2NsauoDyiKpJCsve+bvHEcI9fr8B9iunI6qgiP4tD/3ZUn11Uu0JsAWTzocXKGASy8268QVUKm/6/WmYw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 9ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 17:09:08 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 67ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:09:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.1ms)

Completed 200 OK in 78ms (Views: 75.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 17:19:43 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 44ms (Views: 42.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 17:19:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"P9WROAg6PdG1SJAHXHrmyAPF502hVVt6gha3Cs9a55NjNKdwDh+i7v02lG5uHvOvuYt7QYaWSkKQnrApqgXD0w==", "q"=>"google.com", "commit"=>"Search"}
Url Load (0.8ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com Completed 200 OK in 12ms (ActiveRecord: 3.9ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com” for 127.0.0.1 at 2019-01-24 17:19:46 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"2babcc3", "domain"=>"google.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.0ms)

Completed 200 OK in 67ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:19:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 61ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 17:25:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.3ms)

Completed 200 OK in 64ms (Views: 62.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-24 17:25:23 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EiRy1JiFjGdLe56i1oCL+wNqC7KL8SW311C1Bl/ycxK793yi2zM8o0XWkNw6TmkLUxrh9P4++U+S6tfArzO4UA==", "long_url"=>"https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:28
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:28
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:28
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:50
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon&short_url=www.hoco%2Fa10abc6 Completed 200 OK in 20ms (ActiveRecord: 5.8ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon&short_url=www.hoco%2Fa10abc6” for 127.0.0.1 at 2019-01-24 17:25:23 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://housing.com/rent/2622613-160-sqft-2-bhk-independent-floor-on-rent-in-sector-38-gurgaon", "short_url"=>"www.hoco/a10abc6"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 56ms (Views: 55.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 17:25:24 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 43ms (Views: 42.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:32:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 44ms (Views: 43.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 17:32:40 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.2ms)

Completed 200 OK in 54ms (Views: 52.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 17:32:42 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YwWLonN/Z9yPcDGP4jqvMjWWezdugN72AE1/2e8EQ1SeP3+lAX/j6bbzs/FCSLq3MNujIch5XVhfak8pm+Ma9g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 7ms (ActiveRecord: 4.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:32:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 72ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 17:32:44 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (8.2ms)

Completed 200 OK in 69ms (Views: 40.5ms | ActiveRecord: 4.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:32:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 70ms (Views: 65.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-24 17:32:48 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 17:32:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 50ms (Views: 47.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 18:13:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'jquery-ui' with type 'application/javascript' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
   6:     <%= csp_meta_tag %>
   7: 
   8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
   9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  10:   </head>
  11: 
  12:   <body>

app/assets/javascripts/application.js:19 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___2128716408401262109_70266669930100' Started GET “/” for 127.0.0.1 at 2019-01-24 18:14:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'jquery-ui' with type 'text/css' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
   5:     <%= csrf_meta_tags %>
   6:     <%= csp_meta_tag %>
   7: 
   8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
   9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  10:   </head>
  11:

app/assets/stylesheets/application.scss:17 app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb___2128716408401262109_70266663024720' Started GET “/” for 127.0.0.1 at 2019-01-24 18:14:57 +0530

 (7.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 1621ms (Views: 1615.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-24 18:16:29 +0530

NoMethodError (undefined method `collections' for #<ActionDispatch::Routing::Mapper:0x00007fdfe027af20> Did you mean? collection):

config/routes.rb:26:in `block in <main>' config/routes.rb:1:in `<main>' Started GET “/users/login” for 127.0.0.1 at 2019-01-24 18:16:41 +0530

ArgumentError (can't use collection outside resource(s) scope):

config/routes.rb:26:in `block in <main>' config/routes.rb:1:in `<main>' Started GET “/users/login” for 127.0.0.1 at 2019-01-24 18:17:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.7ms)

Completed 200 OK in 256ms (Views: 253.7ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-24 18:17:29 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"11518U7+Ir0r6To1pHFLICS3LALdZURMtTDu6KFcC0Oq9ZKXGIgLUAbZ3Qj8wh29fNEuhDxoXjaSUqXAcoc7Cg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 18ms (ActiveRecord: 6.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:17:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (8.7ms)

Completed 200 OK in 187ms (Views: 185.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:17:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 159ms (Views: 157.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 18:17:36 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"O2ZcKe93Vr2HElDQCflqM3jVwELpnoQRqaygURNOCb1nh2ph6VLJgs9sVLk7nX9UwptcTs5dlSm7JKdydhEt/Q==", "q"=>"google.com", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com Completed 200 OK in 29ms (ActiveRecord: 4.1ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com” for 127.0.0.1 at 2019-01-24 18:17:36 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"2babcc3", "domain"=>"google.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 206ms (Views: 200.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:17:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.0ms)

Completed 200 OK in 167ms (Views: 164.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:21:18 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 399ms (Views: 398.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:21:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 228ms (Views: 225.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:21:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 398ms (Views: 396.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:21:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 185ms (Views: 183.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:21:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 194ms (Views: 191.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:22:15 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 828ms (Views: 823.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:22:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (13.5ms)

Completed 200 OK in 163ms (Views: 161.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:24:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 481ms (Views: 479.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:24:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.0ms)

Completed 200 OK in 207ms (Views: 204.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:24:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 196ms (Views: 193.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:25:03 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:25:04 +0530 Completed 200 OK in 828ms (Views: 823.1ms | ActiveRecord: 0.0ms)

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.6ms)

Completed 200 OK in 134ms (Views: 132.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-24 18:25:06 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wvm6Pi3ipPevTJ9hXgl0IeuTYQVIYR6LtuNvsw3sXSueGIx2K8c7yOcymwhsbWFGUd39CW+iD7Oka2iQaLN5aw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 31ms (ActiveRecord: 5.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-24 18:25:06 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.9ms)

Completed 200 OK in 166ms (Views: 156.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:25:08 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 167ms (Views: 164.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:25:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 184ms (Views: 181.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:25:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 214ms (Views: 201.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-24 18:25:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 196ms (Views: 192.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:27:01 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.7ms)

Completed 200 OK in 906ms (Views: 899.3ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-24 18:27:04 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.7ms)  SELECT "reports".* FROM "reports"
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (15.1ms)

Completed 200 OK in 92ms (Views: 72.1ms | ActiveRecord: 8.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:27:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 87ms (Views: 85.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-24 18:27:07 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (11.2ms)

Completed 200 OK in 117ms (Views: 113.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:27:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 66ms (Views: 63.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-24 18:28:24 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 293ms (Views: 285.8ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-24 18:28:26 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (8.4ms)

Completed 200 OK in 123ms (Views: 60.8ms | ActiveRecord: 1.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:28:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 64ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:28:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 746ms (Views: 744.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:29:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (Error: Invalid CSS after “ */”: expected 1 selector or at-rule, was “*= require jquery-u”

on line 15 of app/assets/stylesheets/application.scss

>> */

---^

):

 5:     <%= csrf_meta_tags %>
 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11:

app/assets/stylesheets/application.scss:15 app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__719247717457417673_70124814570500' Started GET “/home/index” for 127.0.0.1 at 2019-01-24 18:29:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 589ms (Views: 587.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-25 10:22:07 +0530

 (2.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.7ms)

Completed 200 OK in 954ms (Views: 947.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 10:22:10 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (10.4ms)

Completed 200 OK in 179ms (Views: 175.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 10:22:11 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BrW+LmNfziqxpnMxp3Ldd9smpz94HgZc1WniwlUwGCLsrXvoDsElpFlBH0nv37OzxtK9Yo+J4NiPTvNg4N5b2A==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (14.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 58ms (ActiveRecord: 44.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 10:22:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 200ms (Views: 186.7ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-25 10:22:14 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (52.9ms)

Completed 200 OK in 307ms (Views: 292.4ms | ActiveRecord: 4.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 10:22:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 299ms (Views: 296.8ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=” for 127.0.0.1 at 2019-01-25 10:24:02 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>""}
Rendering search/show.html.erb within layouts/application
Url Load (13.3ms)  SELECT "urls".* FROM "urls"
↳ app/views/search/show.html.erb:8
Rendered search/show.html.erb within layouts/application (34.6ms)

Completed 200 OK in 328ms (Views: 304.4ms | ActiveRecord: 18.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 10:24:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 231ms (Views: 228.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 10:29:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 500 Internal Server Error in 180ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:6:23: unexpected newline):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__4318248492396912567_70193968951720' Started POST “/__web_console/repl_sessions/01595a49174acb699f168a8294038b2c/trace” for 127.0.0.1 at 2019-01-25 10:29:24 +0530 Started GET “/search” for 127.0.0.1 at 2019-01-25 10:29:46 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.2ms)

Completed 500 Internal Server Error in 158ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:6:23: unexpected newline):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__4318248492396912567_70193988946100' Started GET “/search” for 127.0.0.1 at 2019-01-25 10:30:10 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-25 10:30:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 12ms (Views: 7.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-25 10:31:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 500 Internal Server Error in 136ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:6:23: unexpected newline):

3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track'=> true %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7:   </head>
8: 
9:   <body>

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__4318248492396912567_70193989660600' Started GET “/” for 127.0.0.1 at 2019-01-25 10:31:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 481ms (Views: 478.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-25 10:32:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 459ms (Views: 458.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-25 10:33:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 196ms (Views: 194.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-25 10:35:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 416ms (Views: 414.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 10:35:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 230ms (Views: 226.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 10:36:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 213ms (Views: 211.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 10:36:49 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/search_controller.rb:18: syntax error, unexpected end-of-input, expecting end):

app/controllers/search_controller.rb:18: syntax error, unexpected end-of-input, expecting end Started GET “/search” for 127.0.0.1 at 2019-01-25 10:37:06 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.8ms)

Completed 200 OK in 212ms (Views: 210.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 10:37:33 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 213ms (Views: 211.3ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=rails” for 127.0.0.1 at 2019-01-25 10:38:09 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"rails"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (12.3ms)

Completed 200 OK in 251ms (Views: 228.5ms | ActiveRecord: 2.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 10:38:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.9ms)

Completed 200 OK in 224ms (Views: 222.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 10:38:17 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 244ms (Views: 243.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 10:38:48 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 218ms (Views: 216.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 10:40:17 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.4ms)

Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'jquery-ujs' with type 'application/javascript' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-ui-rails-6.0.1/app/assets/images
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-ui-rails-6.0.1/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-ui-rails-6.0.1/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
  3:   <head>
  4:     <title>UrlShortner</title>
  5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track'=> true %>
  6:     <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  7:   </head>
  8: 
  9:   <body>

app/assets/javascripts/application.js:19 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__4318248492396912567_70193991310680' Started GET “/search” for 127.0.0.1 at 2019-01-25 10:41:34 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.8ms)

Completed 500 Internal Server Error in 67ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'jquery-ujs' with type 'application/javascript' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-ui-rails-6.0.1/app/assets/images
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-ui-rails-6.0.1/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-ui-rails-6.0.1/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
  3:   <head>
  4:     <title>UrlShortner</title>
  5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track'=> true %>
  6:     <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  7:   </head>
  8: 
  9:   <body>

app/assets/javascripts/application.js:19 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__4318248492396912567_70193989679900' Started GET “/search” for 127.0.0.1 at 2019-01-25 10:42:53 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 356ms (Views: 354.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 10:43:10 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 251ms (Views: 249.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 10:43:24 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 416ms (Views: 413.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 10:45:21 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 1367ms (Views: 1362.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:09:52 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 407ms (Views: 405.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:10:30 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 279ms (Views: 276.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:11:33 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.8ms)

Completed 200 OK in 302ms (Views: 296.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:12:36 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 302ms (Views: 300.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:14:01 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 381ms (Views: 378.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:14:10 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 194ms (Views: 192.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:16:23 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.3ms)

Completed 500 Internal Server Error in 225ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:6:23: unexpected newline):

3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track'=> true %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7:   </head>
8: 
9:   <body>

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3658935082066622741_70108696197300' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:16:32 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 423ms (Views: 421.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:16:41 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 194ms (Views: 192.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:16:53 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 353ms (Views: 351.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:17:23 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 364ms (Views: 362.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:21:00 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 500 Internal Server Error in 101ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'jquery-ui/widgets/autocomplete' with type 'application/javascript' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-ui-rails-5.0.5/app/assets/images
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-ui-rails-5.0.5/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-ui-rails-5.0.5/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
  3:   <head>
  4:     <title>UrlShortner</title>
  5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track'=> true %>
  6:     <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  7:     <%=javascript_include_tag "autocomplete-rails.js"%>
  8: 
  9:   </head>

app/assets/javascripts/application.js:21 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3658935082066622741_70108680174640' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:21:23 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 322ms (Views: 320.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:24:23 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 300ms (Views: 298.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:24:39 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 398ms (Views: 396.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:26:21 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.5ms)

Completed 500 Internal Server Error in 143ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:5:3: reserved word 'function'):

3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track'=> true %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7:     
8:   </head>
9:

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3658935082066622741_70108658165740' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:27:19 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.8ms)

Completed 500 Internal Server Error in 144ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track'=> true %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7:     
8:   </head>
9:

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3658935082066622741_70108678588940' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:30:48 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.3ms)

Completed 500 Internal Server Error in 126ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track'=> true %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7:   </head>
8: 
9:   <body>

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3658935082066622741_70108694240480' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:31:18 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 500 Internal Server Error in 144ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
7:   </head>
8: 
9:   <body>

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3658935082066622741_70108694665200' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:31:43 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 500 Internal Server Error in 200ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
7:     <%= javascript_include_tag 'query'%>
8:   </head>
9:

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3658935082066622741_70108697246740' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:32:45 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 301ms (Views: 300.1ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=pp” for 127.0.0.1 at 2019-01-25 11:32:50 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"pp"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (15.0ms)

Completed 200 OK in 211ms (Views: 183.1ms | ActiveRecord: 6.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 11:32:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.0ms)

Completed 200 OK in 161ms (Views: 159.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:32:53 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.3ms)

Completed 200 OK in 200ms (Views: 198.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:32:55 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nPB4DifWvMJ/MwQZW1F6/X6z6RUb3FOES3rgkqMp/8526L3ISkhXTJfUaGET/BQ5Y0fzSOxLtQARXfEwFse8NA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request' devise (4.5.0) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token' activesupport (5.2.2) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.2) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.2) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' searchkick (3.1.2) lib/searchkick/logging.rb:209:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:32:56 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nPB4DifWvMJ/MwQZW1F6/X6z6RUb3FOES3rgkqMp/8526L3ISkhXTJfUaGET/BQ5Y0fzSOxLtQARXfEwFse8NA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request' devise (4.5.0) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token' activesupport (5.2.2) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.2) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.2) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' searchkick (3.1.2) lib/searchkick/logging.rb:209:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:32:58 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nPB4DifWvMJ/MwQZW1F6/X6z6RUb3FOES3rgkqMp/8526L3ISkhXTJfUaGET/BQ5Y0fzSOxLtQARXfEwFse8NA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request' devise (4.5.0) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token' activesupport (5.2.2) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.2) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.2) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' searchkick (3.1.2) lib/searchkick/logging.rb:209:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:33:12 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nPB4DifWvMJ/MwQZW1F6/X6z6RUb3FOES3rgkqMp/8526L3ISkhXTJfUaGET/BQ5Y0fzSOxLtQARXfEwFse8NA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 7ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request' devise (4.5.0) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token' activesupport (5.2.2) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.2) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.2) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' searchkick (3.1.2) lib/searchkick/logging.rb:209:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:33:24 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.9ms)

Completed 500 Internal Server Error in 1117ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

2: <html>
3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
7:   </head>
8:

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__2689124702466078067_70268820209140' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:33:45 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 500 Internal Server Error in 87ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

2: <html>
3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
7:   </head>
8:

(execjs):7539:12 (execjs):7543:21 (execjs):1:46 app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__2689124702466078067_70268832029140' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:34:09 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:34:11 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NGbmrOPx2xcF0iI7C1MhQMwPGASnNC2k5iOA3pSMfeLefiNqjm8wme01TkND/k+E0fsCWVCjyyC8BJF8IWI+GA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request' devise (4.5.0) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token' activesupport (5.2.2) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.2) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.2) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' searchkick (3.1.2) lib/searchkick/logging.rb:209:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:36:05 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.6ms)

Completed 200 OK in 12ms (Views: 6.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:36:07 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ScG5JkpkNcZp+/lBsSaKafzCseHwAXa8GwvkIu0UhYaj2XzgJ/reSIEclTn5i+St4TarvAeWkDhBLPWAWPrGfA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 2ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request' devise (4.5.0) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token' activesupport (5.2.2) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.2) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.2) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' searchkick (3.1.2) lib/searchkick/logging.rb:209:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:36:19 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.4ms)

Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:36:21 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"o8LQFMBQVOiy6g7s5f0yShbkinsjz7SG71mz/op5+TFJ2hXSrc6/ZloNYpStUFyOCxCQJtRYUgK1fqJcP5e6yw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request' devise (4.5.0) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token' activesupport (5.2.2) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.2) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.2) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' searchkick (3.1.2) lib/searchkick/logging.rb:209:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:36:35 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 500 Internal Server Error in 757ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

2: <html>
3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
7:   </head>
8:

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___3941727029143350504_70304822289340' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:36:58 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.2ms)

Completed 500 Internal Server Error in 715ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

2: <html>
3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
7:   </head>
8:

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__787304209284658176_70225627463260' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:38:58 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 500 Internal Server Error in 197ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

2: <html>
3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
7:   </head>
8:

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__787304209284658176_70225647460960' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:39:11 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.6ms)

Completed 500 Internal Server Error in 170ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

2: <html>
3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
7:   </head>
8:

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__787304209284658176_70225632897000' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:39:25 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.5ms)

Completed 500 Internal Server Error in 176ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:6:4: unexpected ():

2: <html>
3:   <head>
4:     <title>UrlShortner</title>
5:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
6:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
7:   </head>
8:

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb__787304209284658176_70225629418860' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:39:56 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 1159ms (Views: 1156.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:39:58 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WyRhNraUJ8C47X1uGhvhCkolll4XV2Bt/8cBiN4zZQWxPKTw2wrMTlAKERZSto/OV9GMA+DAhuml4BAqa90m/w==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request' devise (4.5.0) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token' activesupport (5.2.2) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.2) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.2) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' searchkick (3.1.2) lib/searchkick/logging.rb:209:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:40:15 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 230ms (Views: 227.0ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=pl” for 127.0.0.1 at 2019-01-25 11:40:27 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"pl"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (16.9ms)

Completed 200 OK in 204ms (Views: 192.4ms | ActiveRecord: 2.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 11:40:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 166ms (Views: 165.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:40:31 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 199ms (Views: 197.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:40:32 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DSzOGsmoRheZqoQTROkvpAxD0LLUJFVUbHz+QwPSK8CLHb+BrhKlraBxmgFvsp6jcUVHzzHd9ELluJbueELVQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:211:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:243:in `handle_unverified_request' devise (4.5.0) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.2.2) lib/action_controller/metal/request_forgery_protection.rb:238:in `verify_authenticity_token' activesupport (5.2.2) lib/active_support/callbacks.rb:426:in `block in make_lambda' activesupport (5.2.2) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>' activesupport (5.2.2) lib/active_support/callbacks.rb:199:in `block in halting' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `block in invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `each' activesupport (5.2.2) lib/active_support/callbacks.rb:513:in `invoke_before' activesupport (5.2.2) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' searchkick (3.1.2) lib/searchkick/logging.rb:209:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:38:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/login” for 127.0.0.1 at 2019-01-25 11:41:30 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 173ms (Views: 172.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 11:41:31 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aQHpXik3kvygC5CDbGkcj+Y3QphPIw+41F34x/zqW914Zuv5Wt6bcRauPjdmSEdNTGAIzgaqvHHhk1mXilWmkw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 22ms (ActiveRecord: 6.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 11:41:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 181ms (Views: 179.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:41:34 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 176ms (Views: 173.8ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=pp” for 127.0.0.1 at 2019-01-25 11:41:37 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"pp"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (20.6ms)

Completed 200 OK in 195ms (Views: 193.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 11:41:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 243ms (Views: 239.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 11:42:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 544ms (Views: 540.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:42:07 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 176ms (Views: 175.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:42:22 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 500 Internal Server Error in 227ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:9:5: unmatched }):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__787304209284658176_70225602664800' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:42:36 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 500 Internal Server Error in 223ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:5: unmatched }):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__787304209284658176_70225630720920' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:44:39 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.5ms)

Completed 500 Internal Server Error in 214ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:5:3: reserved word 'function'):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__787304209284658176_70225612818380' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:44:51 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.0ms)

Completed 500 Internal Server Error in 238ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__787304209284658176_70225612725960' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:45:00 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.5ms)

Completed 500 Internal Server Error in 242ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__787304209284658176_70225602510740' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:46:21 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.4ms)

Completed 500 Internal Server Error in 227ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:8:3: unmatched }):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__787304209284658176_70225647953520' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:46:48 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.0ms)

Completed 500 Internal Server Error in 260ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:7:3: unmatched }):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__787304209284658176_70225648951480' Started GET “/search” for 127.0.0.1 at 2019-01-25 11:46:56 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 502ms (Views: 500.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 11:47:19 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/search_controller.rb:17: syntax error, unexpected '}', expecting =>

render json: {"Test"}
                    ^):

app/controllers/search_controller.rb:17: syntax error, unexpected '}', expecting => Started GET “/search” for 127.0.0.1 at 2019-01-25 11:47:30 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 186ms (Views: 185.2ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&q=stackoverflow” for 127.0.0.1 at 2019-01-25 11:50:08 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "q"=>"stackoverflow"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (11.2ms)

Completed 200 OK in 240ms (Views: 232.0ms | ActiveRecord: 1.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 11:50:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 252ms (Views: 247.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-25 12:00:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 500 Internal Server Error in 921ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (Asset was not declared to be precompiled in production. Add `Rails.application.config.assets.precompile += %w( search.js )` to `config/initializers/assets.rb` and restart your server):

 6:     <%= csp_meta_tag %>
 7:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 8:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'search' %>
10:   </head>
11: 
12:   <body>

app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__787304209284658176_70225647582040' Started GET “/” for 127.0.0.1 at 2019-01-25 12:00:42 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 500 Internal Server Error in 821ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (Asset was not declared to be precompiled in production. Add `Rails.application.config.assets.precompile += %w( search.js )` to `config/initializers/assets.rb` and restart your server):

 6:     <%= csp_meta_tag %>
 7:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 8:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'search' %>
10:   </head>
11: 
12:   <body>

app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__1868107413399966059_70117268168760' Started GET “/” for 127.0.0.1 at 2019-01-25 12:01:28 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 693ms (Views: 685.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-25 12:02:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 318ms (Views: 316.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 12:02:08 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.4ms)

Completed 200 OK in 205ms (Views: 202.7ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 12:02:10 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BvF80Co6fjpEv9IuxcrFkzJxtcEf0rr45LlpkmNgkw3s6bkWR6SVtKxYvlaNZ6tXL4WvnOhFXHy+nngw1o7Q9w==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 4.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:02:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 230ms (Views: 211.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:02:12 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 222ms (Views: 219.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:03:05 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 321ms (Views: 317.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:05:11 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.7ms)

Completed 200 OK in 313ms (Views: 311.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:05:48 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 327ms (Views: 323.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:07:25 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 319ms (Views: 317.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:08:10 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 192ms (Views: 190.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-25 12:08:27 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.1ms)

Completed 200 OK in 224ms (Views: 222.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:08:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 196ms (Views: 193.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:08:31 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.8ms)

Completed 200 OK in 184ms (Views: 182.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:09:04 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 368ms (Views: 367.1ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&query=plplplplp” for 127.0.0.1 at 2019-01-25 12:09:09 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "query"=>"plplplplp"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (16.7ms)

Completed 200 OK in 260ms (Views: 229.6ms | ActiveRecord: 1.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:09:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 202ms (Views: 200.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:09:13 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (10.7ms)

Completed 200 OK in 222ms (Views: 218.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:09:34 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 334ms (Views: 332.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:10:03 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (0.7ms)

Completed 200 OK in 183ms (Views: 181.9ms | ActiveRecord: 0.0ms)

Started GET “/search.js” for 127.0.0.1 at 2019-01-25 12:10:03 +0530 Processing by SearchController#search as JS

Rendering search/search.html.erb
Rendered search/search.html.erb (1.3ms)

Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:10:34 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 184ms (Views: 183.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:10:52 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 175ms (Views: 173.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:11:12 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (4.5ms)

Completed 200 OK in 181ms (Views: 179.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:11:19 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (4.0ms)

Completed 200 OK in 189ms (Views: 184.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:13:21 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (3.8ms)

Completed 200 OK in 336ms (Views: 333.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:13:39 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 339ms (Views: 338.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:15:12 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (3.4ms)

Completed 200 OK in 321ms (Views: 319.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:15:27 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (4.0ms)

Completed 200 OK in 329ms (Views: 328.3ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&query=vip” for 127.0.0.1 at 2019-01-25 12:15:51 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "query"=>"vip"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (7.8ms)

Completed 200 OK in 210ms (Views: 175.4ms | ActiveRecord: 1.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:15:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 312ms (Views: 309.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:15:58 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (4.0ms)

Completed 200 OK in 186ms (Views: 184.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:16:17 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (4.1ms)

Completed 200 OK in 181ms (Views: 180.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-25 12:25:30 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 453ms (Views: 446.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 12:25:32 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (14.3ms)

Completed 200 OK in 125ms (Views: 119.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 12:25:33 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"A14O1bqkHvqsdazX5N4yimAa0xT0bqpiWYjJo4qWlejpRssT1zr1dESSwK+sc1xOfe7JSQP5TOYDr9gBP3jWEg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 23ms (ActiveRecord: 4.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:25:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 68ms (Views: 65.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:25:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 52ms (Views: 50.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:25:38 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XJ6MvjjpeodfmDbEiHsgGw3azVmeG7CdQO3WBPUbwXe71fWeFmxyF9diXWTUd54vAJM5i3GUPyrvlmtrHcXJlg==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.8ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 35ms (ActiveRecord: 4.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 12:25:38 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 69ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:25:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 86ms (Views: 83.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:25:43 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7IUDzZOkyDkWuZKsodY5PhrQjFusOoIfij56ZJQyqqgLznrtvSHAqZ5D+Qz92ocKF5l4iUO1DaglRccLfOyiSQ==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 14ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 12:25:43 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 71ms (Views: 70.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:25:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 73ms (Views: 70.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:25:48 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"q8rZYL7lYtwUiRMBlUCIUNb2hhF302BuH5KrKmS5JHNMgaBAkGBqTJxzeKHJTDZk279yw5hc79mw6RZFjGcskg==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 11ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 12:25:48 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 65ms (Views: 63.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:26:01 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.1ms)

Completed 200 OK in 70ms (Views: 66.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:29:17 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"j16bayWXz8Hp1WYkP00iN50fFWMWGSkUVhw8gvoVpVdoFeJLCxLHUWEvDYRjQZwDkFbhsfmWpqP5Z4HtEsuttg==", "q"=>"abc", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 10ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:29:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.4ms)

Completed 200 OK in 73ms (Views: 70.8ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 12:29:18 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 71ms (Views: 68.1ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 12:29:20 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 60ms (Views: 58.0ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 12:29:22 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 67ms (Views: 64.3ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 12:29:23 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 66ms (Views: 64.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:29:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 67ms (Views: 65.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:29:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 66ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:29:29 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G48wGilJ2fMsY/1L+JFzss2gvDn6GflJom5qYAkUvA78xEk6B8zRY6SZluuknc2GwOlI6xWWdv4NFdcP4cq07w==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 10ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 12:29:29 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 72ms (Views: 70.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:29:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 59ms (Views: 57.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:30:04 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"I/dozRrIKp40Q38qifY8RtkX2X7JstqWkN96wZ+WA5DEvBHtNE0iDry5FIrV+oJy1F4trCY9VSE/pMeud0gLcQ==", "q"=>"ra", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:30:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 68ms (Views: 66.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:39:55 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:40:00 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TDay4O9sMfu9faV8t9MeuprQVvYbxk4OTyJcIU72Sn1dUbBHnIU4dgvYC8i98kV4MIccoFJP/cd67P1xOEm3Mw==", "q"=>"rail", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 20ms (ActiveRecord: 7.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:40:00 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 82ms (Views: 80.3ms | ActiveRecord: 0.0ms)

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]

Started GET “/” for 127.0.0.1 at 2019-01-25 12:43:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.2ms)

Completed 200 OK in 63ms (Views: 61.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:44:00 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 67ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:44:01 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IYio0A3548ji27Htu+n6s5bNUf2kZ6S8JSyz3dvcdh7Gw9HwI3zrWGoh2k3n5USHm4SlL0voKwuKVw6yMwJ+/w==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 18ms (ActiveRecord: 3.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:44:02 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 84ms (Views: 81.9ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:44:22 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"754/l9SCre3xyAgh5Qax4g3IiWuydjfkXhTfRQh/OosI1Ua3+gelfXkyY4G5Cg/WAIF9uV35uFPxb2Iq4KEyag==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 17ms (ActiveRecord: 0.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 12:44:22 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 113ms (Views: 111.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:44:24 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.8ms)

Completed 200 OK in 100ms (Views: 96.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 12:44:26 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RmNfojv3wCRfwLAEHoPeBQMnOcwRpMor4CEOfX8PK+uhKCaCFXLItNc626RCj2AxDm7NHv4rRZxPWrMSl9EjCg==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 11ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 12:44:26 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 74ms (Views: 72.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:44:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 72ms (Views: 69.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:47:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'jquery-ui' with type 'text/css' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
  4:     <title>UrlShortner</title>
  5:     <%= csrf_meta_tags %>
  6:     <%= csp_meta_tag %>
  7:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
  8:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  9:   </head>
 10:

app/assets/stylesheets/application.scss:15 app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__657785887707595677_70291596564900' Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:48:27 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 1881ms (Views: 1874.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 12:48:31 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (11.2ms)

Completed 200 OK in 336ms (Views: 333.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 12:48:32 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QH4VS4qkoImoIp/k2+Qh1vkKSgbKd0xqgs2Js+mZ3oyqZtCN5zpLB0DF85yTSU8S5P5QWz3gqu7Y6pgRXHeddg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:22

Redirected to localhost:3000/home/index Completed 200 OK in 18ms (ActiveRecord: 6.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:48:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 240ms (Views: 233.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:48:35 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (57.2ms)

Completed 500 Internal Server Error in 60ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (Asset was not declared to be precompiled in production. Add `Rails.application.config.assets.precompile += %w( search.js )` to `config/initializers/assets.rb` and restart your server):

1: <%= link_to "Search" , home_index_path %>
2:       <%= form_tag search_show_path, method: :get do %>
3:       <%= text_field_tag :query %>
4:       <%= javascript_include_tag 'search', 'data-turbolinks-track': 'reload' %>
5: 
6:       <%end%>

app/views/search/search.html.erb:4:in `block in _app_views_search_search_html_erb___1833351915714051502_70280246864220' app/views/search/search.html.erb:2:in `_app_views_search_search_html_erb___1833351915714051502_70280246864220' Started GET “/search” for 127.0.0.1 at 2019-01-25 12:49:35 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (413.5ms)

Completed 200 OK in 696ms (Views: 688.9ms | ActiveRecord: 0.0ms)

Started GET “/search/show?utf8=%E2%9C%93&query=plplplplp” for 127.0.0.1 at 2019-01-25 12:49:39 +0530 Processing by SearchController#show as HTML

Parameters: {"utf8"=>"✓", "query"=>"plplplplp"}
Rendering search/show.html.erb within layouts/application
Rendered search/show.html.erb within layouts/application (15.9ms)

Completed 200 OK in 174ms (Views: 164.5ms | ActiveRecord: 1.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 12:49:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 164ms (Views: 162.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:49:45 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (3.4ms)

Completed 200 OK in 258ms (Views: 256.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:50:12 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (3.8ms)

Completed 200 OK in 364ms (Views: 361.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:54:12 +0530

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (706.3ms)

Completed 200 OK in 1038ms (Views: 1031.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:55:49 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (4.9ms)

Completed 200 OK in 188ms (Views: 186.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:56:08 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 190ms (Views: 186.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:57:03 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 184ms (Views: 182.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:57:19 +0530 Processing by SearchController#search as HTML

Rendering search/search.html.erb within layouts/application
Rendered search/search.html.erb within layouts/application (4.3ms)

Completed 200 OK in 185ms (Views: 182.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 12:59:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.4ms)

Completed 200 OK in 418ms (Views: 416.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:00:02 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"C9RKJ6jWLEBSWSB9ohbKN9J15je1TUxlK2nPucAUvz0as0iA2z8lzeT8jsmoN5H1eCKsYfzE/6wep27ptqtCcw==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 31ms (ActiveRecord: 4.8ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 13:00:02 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 91ms (Views: 88.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:00:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 88ms (Views: 85.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:00:36 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Z6hJn0dSb+cQoJ33Suhv6ZHDyc5angACg+a5ySrMYjeA4zC/addnd5ha9lcW5NHdnIo9HLURj7UsnQSmwhJq1g==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 316], ["id", 313], ["id", 314]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 16ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 13:00:36 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 140ms (Views: 128.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:00:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 70ms (Views: 68.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:00:43 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"voAOLF0LAEfU/UtMt2IDDR2XfGrXhPz0UgnMQO5LsYlZy3cMc44I11wHIOzrbr05EN6IuDgLc0P9cnEvBpW5aA==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 10ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 13:00:43 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 65ms (Views: 64.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:00:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 87ms (Views: 85.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:00:49 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3UEpSids6XnJvVJvMSJRbq9IW+tMnBCtFHKO4SrBLdc6ClBqCenh6UFHOc9tLu9aogGvOaMTnxq7CTOOwh8lNg==", "q"=>"rail", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 10ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:00:49 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 64ms (Views: 62.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:00:59 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"H9JXXND8VkbR1NgNL1DbJClbzyThze1cjRMRHrXrciD4mS58/nle1lkus61zXGUQJBI79g5CYusiaKxxXTV6wQ==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 12ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 13:00:59 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 70ms (Views: 68.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:03:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 77ms (Views: 75.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:04:09 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eT3E0ZlzJrgOoPFIi7obtvuJyUO0eNlx29DH8TxKMxKedr3xt/YuKIZamujXtqWC9sA9kVv3VsZ0q3qe1JQ78w==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 11ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 13:04:09 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 70.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:04:12 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 78ms (Views: 75.1ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/” for 127.0.0.1 at 2019-01-25 13:19:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 71ms (Views: 69.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 13:19:44 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.3ms)

Completed 200 OK in 92ms (Views: 90.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 13:19:45 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Xhn59GqHymKwOp24cTmGhjj6jQVhRvrIXqkr/7hEBEa0ATwyBxkh7Fjd8cA5lOhCJQ6XWJbRHEwEjjpdDapHvA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 5.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 13:19:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 91ms (Views: 88.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:19:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 81ms (Views: 78.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:19:53 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+SEPfzRdlWJPj1aZ1JofuRv7oY+mCF9to8gBv8pF01EeanZfGtid8sd1PTmIlqGNFrJVXUmH0NoMs7zQIpvbsA==", "q"=>"*rails*", "commit"=>"Search"}
Url Load (0.8ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 311], ["id", 321], ["id", 312], ["id", 298]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 311], ["id", 321], ["id", 312], ["id", 298]]
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides Completed 200 OK in 76ms (ActiveRecord: 3.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides” for 127.0.0.1 at 2019-01-25 13:19:53 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 84ms (Views: 80.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:20:14 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 87ms (Views: 85.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:22:57 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:21: else without rescue is useless

else
^~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:47: syntax error, unexpected end, expecting end-of-input):

app/controllers/elastic_search_controller.rb:21: else without rescue is useless app/controllers/elastic_search_controller.rb:47: syntax error, unexpected end, expecting end-of-input Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:22:58 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:21: else without rescue is useless

else
^~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:47: syntax error, unexpected end, expecting end-of-input):

app/controllers/elastic_search_controller.rb:21: else without rescue is useless app/controllers/elastic_search_controller.rb:47: syntax error, unexpected end, expecting end-of-input Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:23:08 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G1zy/qEWcGV5wf/uUI9Xym3z6cjtUt50mj+yemq+ZSP8F4vej5N49fE7lE4Mg+n+YLodGgLdUcM1RA8VgmBtwg==", "q"=>"rail", "commit"=>"Search"}
Url Load (1.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 311], ["id", 321], ["id", 312], ["id", 298]]
↳ app/controllers/elastic_search_controller.rb:24
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 311], ["id", 321], ["id", 312], ["id", 298]]
↳ app/controllers/elastic_search_controller.rb:30

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides Completed 200 OK in 49ms (ActiveRecord: 4.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides” for 127.0.0.1 at 2019-01-25 13:23:08 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 84ms (Views: 82.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:23:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 74ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 13:23:13 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gAlUqp+Fj+Zi2oRKJ+k4tBOXrAUu7f2pR9pfxsnIwjlnQi2KsQCHduog7+p75YaAHt5Y18Fich7ooeKpIRbK2A==", "q"=>"go", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 311], ["id", 304], ["id", 312], ["id", 326]]
↳ app/controllers/elastic_search_controller.rb:24
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 311], ["id", 304], ["id", 312], ["id", 326]]
↳ app/controllers/elastic_search_controller.rb:30

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Falgorithm%2F&array%5B%5D%5Bshort_url%5D=8cc58d8&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com Completed 200 OK in 23ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Falgorithm%2F&array%5B%5D%5Bshort_url%5D=8cc58d8&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com” for 127.0.0.1 at 2019-01-25 13:23:13 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"http://www.crazyforcode.com/algorithm/", "short_url"=>"8cc58d8", "domain"=>"crazyforcode"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"2babcc3", "domain"=>"google.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 113ms (Views: 111.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 13:23:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 72ms (Views: 68.6ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]

Started GET “/” for 127.0.0.1 at 2019-01-25 14:38:00 +0530

 (6.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 593ms (Views: 587.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 14:38:01 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.9ms)

Completed 200 OK in 115ms (Views: 111.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 14:38:03 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"atm+1Y5s/LblKy6uBfIcG8LwfXsAmAsL+o3FkUuIDUOAwXsT4/IXOA3MQtZNX3Lf3wRnJvcP7Y+gqtQz/mZOuQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 29ms (ActiveRecord: 5.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 14:38:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 55ms (Views: 53.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 14:38:05 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 73ms (Views: 69.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 14:38:10 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WNeloTlvDENV19tZw27WokJAc9IUB87MHetZ1u+xqJpJsKcGSoYFzuNyde3JT41g6Bc5hF2OfQUoJfiGmQ5V1A==", "q"=>"vipul", "commit"=>"Search"}
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 306], ["id", 296], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:24
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 306], ["id", 296], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:30

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&array%5B%5D%5Bshort_url%5D=50a8e7e&array%5B%5D%5Bdomain%5D=heroku&array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 58ms (ActiveRecord: 4.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&array%5B%5D%5Bshort_url%5D=50a8e7e&array%5B%5D%5Bdomain%5D=heroku&array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-25 14:38:10 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://devcenter.heroku.com/articles/heroku-cli-commands/vipul", "short_url"=>"50a8e7e", "domain"=>"heroku"}, {"long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"39b2a84", "domain"=>"crazyforcode"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.1ms)

Completed 200 OK in 99ms (Views: 94.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 14:38:11 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 83ms (Views: 82.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 14:38:18 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hFoEsuqQTjNjoYSc+OP5PgOJYCFlGI/mhWtmQQ2yvpljEX2SxBVGo+tb7zyk70cKDsCU84qXAFEqENsu5Wy2eA==", "q"=>"vipul", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 306], ["id", 296], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:24
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 306], ["id", 296], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:30

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&array%5B%5D%5Bshort_url%5D=50a8e7e&array%5B%5D%5Bdomain%5D=heroku&array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 29ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&array%5B%5D%5Bshort_url%5D=50a8e7e&array%5B%5D%5Bdomain%5D=heroku&array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-25 14:38:18 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://devcenter.heroku.com/articles/heroku-cli-commands/vipul", "short_url"=>"50a8e7e", "domain"=>"heroku"}, {"long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"39b2a84", "domain"=>"crazyforcode"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 98ms (Views: 91.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 14:38:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 80ms (Views: 78.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 14:38:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 98ms (Views: 95.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 14:39:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (103.3ms)

Completed 200 OK in 145ms (Views: 143.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 14:43:03 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (449.4ms)

Completed 200 OK in 526ms (Views: 520.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 14:49:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 184ms (Views: 182.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 14:49:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (65.3ms)

Completed 200 OK in 105ms (Views: 103.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 14:49:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 74ms (Views: 72.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 14:58:35 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 14:58:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 1693ms (Views: 1691.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 14:58:38 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (13.3ms)

Completed 200 OK in 206ms (Views: 203.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 14:58:39 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zS6UWEMevUIAoCDXm+WEMXNoF6ZEefqBEFKiiTlchN8nNlGeLoBWzOhHTK/TSOr1bpwN+7PuHAVKdbMrjLLHJQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 17ms (ActiveRecord: 4.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 14:58:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 194ms (Views: 191.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 14:59:56 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 1054ms (Views: 1052.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 14:59:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 233ms (Views: 231.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 14:59:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 195ms (Views: 193.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:00:00 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 177ms (Views: 175.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:05:54 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 500 Internal Server Error in 347ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:5:23: unexpected newline):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___3793899105252966449_70300389221560' Started GET “/search” for 127.0.0.1 at 2019-01-25 15:06:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 563ms (Views: 559.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:07:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 666ms (Views: 663.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:07:53 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.1ms)

Completed 200 OK in 517ms (Views: 516.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:21:12 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 15:21:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 218ms (Views: 216.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 15:21:14 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.8ms)

Completed 200 OK in 230ms (Views: 227.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:21:17 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 15:21:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 228ms (Views: 226.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 15:21:19 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 249ms (Views: 247.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 15:21:20 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rHmRkkYfVBqN1XOQctnK+HUOJOvKZVZKYhSX0imr3rdGYVRUK4G/lGUyH+g6dKQ8aPo+tj3ysM44M4ZwnEWdTQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 6.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 15:21:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 250ms (Views: 248.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:21:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 253ms (Views: 250.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:36:54 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.8ms)

Completed 200 OK in 1576ms (Views: 1570.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:37:52 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.2ms)

Completed 200 OK in 364ms (Views: 360.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:38:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 1024ms (Views: 1022.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 15:38:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 541ms (Views: 539.8ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0

Started GET “/” for 127.0.0.1 at 2019-01-25 16:37:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 535ms (Views: 532.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 16:37:34 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.4ms)

Completed 200 OK in 332ms (Views: 328.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 16:37:35 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tneg1TNxoOkvSilpIUviUojR4WlQnVcpcO3Uc4E2+hBcb2UTXu9LZ8etRRFp5oyWlSX7NKcKsa0qysXRNNi56g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 28ms (ActiveRecord: 9.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 16:37:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 344ms (Views: 340.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:37:36 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.8ms)

Completed 200 OK in 332ms (Views: 323.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:37:39 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kcoFT9SEASjAAb7RftIptmdOTyInc2AWODGpCZk0hpV2gXxv+gEJuEj71XEi3peCage78Mj876GXShRmceqOdA==", "q"=>"rail", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 34ms (ActiveRecord: 4.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:37:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 298ms (Views: 296.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:38:14 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"q+wrHhK1H12BkjMvgIGSLfGn96yQKO7oqmYcPqfp6mxMp1I+PDAXzQloWI/cjSwZ/O4Dfn+nYV8FHaFRTzfijQ==", "q"=>"rail", "commit"=>"Search"}
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 311], ["id", 321], ["id", 312], ["id", 298]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 311], ["id", 321], ["id", 312], ["id", 298]]
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides Completed 200 OK in 45ms (ActiveRecord: 4.2ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides” for 127.0.0.1 at 2019-01-25 16:38:14 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 432ms (Views: 391.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:38:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 310ms (Views: 307.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:38:22 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ySxvpS3PswvKJEmRKXPhUYGGXVJVLqUST/iA79THEFwuZxaFA0q7m0LeIjF1f19ljM+pgLqhKqXggz2APBkYvQ==", "q"=>"ze", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:19
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 17ms (ActiveRecord: 0.6ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 16:38:22 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 300ms (Views: 298.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:38:24 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 335ms (Views: 333.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:41:16 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.3ms)

Completed 200 OK in 261ms (Views: 259.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:41:20 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4EkKSnos2hEnfdblbYBS7iLVTInS93J+sw6mQ8oecp7xLgjtCcXTnJHYeFFnoQksiIIG35t+wbeGwAcTvKGP0A==", "q"=>"rails", "commit"=>"Search"}

Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.5ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:42}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:42},“status”:400}):

app/controllers/elastic_search_controller.rb:26:in `first' app/controllers/elastic_search_controller.rb:26:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:41:21 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4EkKSnos2hEnfdblbYBS7iLVTInS93J+sw6mQ8oecp7xLgjtCcXTnJHYeFFnoQksiIIG35t+wbeGwAcTvKGP0A==", "q"=>"rails", "commit"=>"Search"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:42}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:42},“status”:400}):

app/controllers/elastic_search_controller.rb:26:in `first' app/controllers/elastic_search_controller.rb:26:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:41:36 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4EkKSnos2hEnfdblbYBS7iLVTInS93J+sw6mQ8oecp7xLgjtCcXTnJHYeFFnoQksiIIG35t+wbeGwAcTvKGP0A==", "q"=>"rails", "commit"=>"Search"}

Completed 500 Internal Server Error in 12ms (ActiveRecord: 1.6ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [field]”,“line”:1,“col”:41}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [field]”,“line”:1,“col”:41},“status”:400}):

app/controllers/elastic_search_controller.rb:26:in `first' app/controllers/elastic_search_controller.rb:26:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:42:04 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4EkKSnos2hEnfdblbYBS7iLVTInS93J+sw6mQ8oecp7xLgjtCcXTnJHYeFFnoQksiIIG35t+wbeGwAcTvKGP0A==", "q"=>"rails", "commit"=>"Search"}

Redirected to localhost:3000/search Completed 200 OK in 17ms (ActiveRecord: 2.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:42:05 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 259ms (Views: 255.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:42:29 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"o0jlg24qEjZuMJzl2iKRR7q3HWhcsIFI4XTjJlI2dcxEA5yjQK8apubK90WGLi9zt/7purM/Dv9OD15Juuh9LQ==", "q"=>"rails", "commit"=>"Search"}
Url Load (1.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 17ms (ActiveRecord: 5.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:42:29 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (10.8ms)

Completed 200 OK in 243ms (Views: 240.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:42:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 332ms (Views: 330.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:42:37 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tQYx5oaWnLr+r+/bU/Af/pPluIh2rPa4b2OAuKzISkKkYTNB9X+VN0gKQW9Z0UQ8ObLy3j8lRXFarSHo2ne3DA==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 11ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:42:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.7ms)

Completed 200 OK in 260ms (Views: 252.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:42:52 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8JOSMEkFJ8zE5+DARKDhyblmKCavzhRz+pEQMd0FtNEX2OsQZ4AvXEwdi2AYrF/9tC/c9EBBm8RV6q1eNdu8MA==", "q"=>"53f4373", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:42:52 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.4ms)

Completed 200 OK in 237ms (Views: 235.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:42:55 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 221ms (Views: 219.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:42:58 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"F9zGE8mfP3UaBimrvY6zDV3KIj0rQMvGLck60nBUk0YGu8S0unY2+Kyjhx+3r+jP951oa2LJeA8YB5uCButuCA==", "q"=>"53f4373", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:42:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 217ms (Views: 215.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:43:16 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BkrSPHtuvO/+XdNFZU6uPynSL6gSQ4YOqOIr2235yKfhAascVeu0f3anuOU5QhALJJvbev3MCbkHmZa0hSfARg==", "q"=>"53f4373", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:26
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 23ms (ActiveRecord: 3.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 16:43:16 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 246ms (Views: 242.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:43:18 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 266ms (Views: 262.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:43:21 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BylsZffDepdDV4frflevot2SOKwbezhahWW0LrQoR4fgYhVF2UZyB8ut7EsiWxGW0NvMfvT0t+0qHglBXPZPZg==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:43:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 236ms (Views: 234.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 16:43:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 237ms (Views: 235.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:43:24 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 258ms (Views: 256.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:43:52 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3OuzJLkyiyzFL5PtyH05Xy97FG9DKnZB5szrXaAscBE7oMoEl7eDvE3V+E2UcYdrIjLgvayl+fZJt1YySPJ48A==", "q"=>"", "commit"=>"Search"}
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.7ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:43:52 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 199ms (Views: 197.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:45:18 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 433ms (Views: 431.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:45:21 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NdZDvsJ4AxZC3Vq3Njvrih8ifn9sRpcvu3Xd6/JLadUksUEZsZEKm/R49AM8GrBItXU0KSXPJOaOu3y7hPSUmw==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/search Completed 200 OK in 18ms (ActiveRecord: 3.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:45:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 88ms (Views: 50.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:45:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 50ms (Views: 49.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:45:41 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JmihPrFTyzmqlNGZgljXKlx5bGVcDFLJBtZb4gpyIwE3D6OZwrrCtBwxfy2IeYzo9i4mMxWF4QAzGPqyfM3eTw==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/search Completed 200 OK in 16ms (ActiveRecord: 3.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:45:41 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.8ms)

Completed 200 OK in 74ms (Views: 71.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:45:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IMRN7cM3rsbP9CAhYv6JqOt+D77Bmgq8FZgwrijlNabHjzTN7bKmVkcOS4E+8jec5jf7bC4VhQu6443BwDs9Rw==", "q"=>"53f4373", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:27
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:32

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 15ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 16:45:45 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.3ms)

Completed 200 OK in 89ms (Views: 87.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:45:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 59ms (Views: 56.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:46:04 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Mjmid0FEBYKrDzpufN0PVuNtV5KdJgsp/OqtX8C3ZDnVcttXb8ENEiP1Uc4g0bFi7iSjQHKphJ5TkRAwKGls2A==", "q"=>"53f4373", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:27
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:32

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 20ms (ActiveRecord: 3.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 16:46:04 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 70.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:46:05 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.5ms)

Completed 200 OK in 89ms (Views: 85.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:46:09 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"F1/UKYAscib5dzt1gETel7aY6c2ii038WIjhR6a7jJPwFK0Jrql6tnGNUNXcSGCju9EdH00Ewkv381woTmWEcg==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.9ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:46:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 67ms (Views: 65.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:47:16 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OeIi+8/URQrKPinCQ73GSue43sAGjqYmigv8RXm893neqVvb4VFNmkLEQmIfsXh+6vEqEukBKZElcEEqkWL/mA==", "q"=>"53f4373", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:26
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:31

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 20ms (ActiveRecord: 3.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 16:47:16 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 71ms (Views: 68.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:47:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 88ms (Views: 86.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:47:20 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"b/SWFV5kTyRrc3Wcc1UWnwYN14yc3IOH8AUWyuDXfRmIv+81cOFHtOOJHjwvWairC0QjXnNTDDBffqulCAl1+A==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:47:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 67ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 16:47:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 59ms (Views: 57.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:48:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 71ms (Views: 69.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:48:06 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ChBQV9BUJbKtXhnWX9w5rNwJkP/MV3771s6Q2dGob7rtWyl3/tEtIiWkcnYD0IeY0UBkLSPY8Ux5tS22OXZnWw==", "q"=>"53f4373", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:26
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:31

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 23ms (ActiveRecord: 3.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 16:48:07 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 66ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:48:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 72ms (Views: 71.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:48:11 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"X+Zn8NxMSRM8DfMi0pS45b8L0jGLbSuEDt1ADt/2Yqu4rR7Q8slBg7T3mIKOmAbRskIm42TipDOhpv1hNyhqSg==", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:48:11 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 82ms (Views: 80.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:48:15 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hm9w9d9JjgpaV3WkOyXE1WQ7VNSGtisIHZIspB6MPAdhJAnV8cyGmtKtHgRnKXrhaXKgBmk5pL+y6ZHL9lI05g==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:48:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:48:18 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.0ms)

Completed 200 OK in 53ms (Views: 51.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:50:23 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 250ms (Views: 248.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:50:25 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nb2xxn6jYjJm8n4xw0qxJ6CjrzUH/vHSpEzn4z3Bs8mM2rNhDUprv9BX0IXJa+rlCvTlY053QhuRgkazS35Ohw==", "q"=>"53f4373", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:26
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 24ms (ActiveRecord: 3.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 16:50:25 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 227ms (Views: 224.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:50:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 252ms (Views: 250.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:50:29 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uRxTq0iwJbOvVIRGamRLzgZHsKk99vnNkvb+Gzsgbf1eVyqLZjUtIyeu7+Y2aPX6Cw5Ee9J5dno9jUN00/5lHA==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.6ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:50:29 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 214ms (Views: 212.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:50:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LcWGHgBrWKgSjbrTyckYUj3v8Eqhi81KM17doRx5oiXKjv8+Lu5QOJp30XOVxaZmMKYEmE4EQv2cJWDO9KeqxA==", "q"=>"53f4373", "commit"=>"Search"}

Completed 500 Internal Server Error in 13ms (ActiveRecord: 1.3ms)

NoMethodError (undefined method `as_indexed_json' for #<Elasticsearch::Model::Response::Result:0x00007f957da13988>):

app/controllers/elastic_search_controller.rb:35:in `block in retrieve' app/controllers/elastic_search_controller.rb:34:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-25 16:54:30 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:21: syntax error, unexpected ':', expecting =>

"short_url" : params[:q]
            ^

/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:22: syntax error, unexpected '}', expecting end

}
^):

app/controllers/elastic_search_controller.rb:21: syntax error, unexpected ':', expecting => app/controllers/elastic_search_controller.rb:22: syntax error, unexpected '}', expecting end Started GET “/search” for 127.0.0.1 at 2019-01-25 16:54:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.3ms)

Completed 200 OK in 207ms (Views: 205.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:54:48 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ePtBY+ecrcSaxZN6kIH1OsahXOmhqeJrsI/834lc4A1pnEPElHWkSSxgPc6aoK74bPYWv+ggUaKFQV2P/+MdQw==", "q"=>"53f4373", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:25
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:33

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 19ms (ActiveRecord: 3.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 16:54:48 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 235ms (Views: 232.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:54:50 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 265ms (Views: 262.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 16:55:06 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7SzuObaT74g9af0L5aDEUcbTZEMTxJ5FavC4eCoOFwAKZ5cZmBbnGLWTlqu5rHply5qQkfxLEfLFiwUXwtAf4Q==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/search Completed 200 OK in 16ms (ActiveRecord: 3.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 16:55:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 336ms (Views: 330.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 17:33:53 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 17:33:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 248ms (Views: 246.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 17:33:54 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.7ms)

Completed 200 OK in 239ms (Views: 234.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 17:33:55 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6l/p2+8FY+Dlsmx3b58k5ZeWn93byyOOFWFrRuDAZ+sARywdgpuIbg1VAA8nMkohimKFgCxcxQpPRnrkVS4kEQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 19ms (ActiveRecord: 6.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 17:33:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 252ms (Views: 247.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 17:33:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 201ms (Views: 197.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 17:34:08 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/aITqd1Hb9rdUj1G7snXq/MGaFVGMY5D/atLuk/RQh/sxREOrq5mV2v3k/Lk6IxpWVEiAw+4PYrIZerqOW6/UQ==", "q"=>"d0d5774", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:28
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:36

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 25ms (ActiveRecord: 3.9ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-25 17:34:08 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 215ms (Views: 211.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 17:34:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.6ms)

Completed 200 OK in 239ms (Views: 236.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 17:34:12 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TF2iHIrYhwqxlXSRxmLCC8lstscsjmFtvrxZLtMjxg6rFts8pF2PmjlvHzGabnw/xCVCFcMB7toRx+RBO/3O7w==", "q"=>"d0d577", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:28
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:36

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 12ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-25 17:34:12 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 233ms (Views: 231.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 17:34:14 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 222ms (Views: 218.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 17:35:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 63ms (Views: 61.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 17:36:06 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cNPSnEQziV8I9h/D+DhiFY1+UdZngW4kblfwrXYHUAlhtNA7N9qA0r5TsXfyGTnXJykbgC4I3e1bmVH9ALitRw==", "q"=>"d0d57", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:29
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 25ms (ActiveRecord: 3.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-25 17:36:06 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 70.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 17:36:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 87ms (Views: 85.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 17:36:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 76ms (Views: 74.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 17:40:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 68ms (Views: 65.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 17:40:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 71ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 17:40:45 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/maAcaTM2xbANp+JunwEo6KFxT25B1vBjNGnRO9BL+gZLflRiknThkjM9CnmcLqXr8wx71aI1HYjqhorB58nCQ==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:29
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 12ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 17:40:45 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.8ms)

Completed 200 OK in 93ms (Views: 89.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 17:40:53 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 66ms (Views: 64.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 17:40:59 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jy2GiaK52bnNE5tvLY/im1AI5ckhtnOmoWXeMG9IZjnAZv+pjDzRKUXp8M9xg1yvXUERG845/BEOHmNfh5Zu2A==", "q"=>"f4373", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:29
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 11ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-25 17:40:59 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 64ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 17:41:03 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 98ms (Views: 96.0ms | ActiveRecord: 0.0ms)

Started GET “/_search” for 127.0.0.1 at 2019-01-25 17:50:19 +0530

ActionController::RoutingError (No route matches [GET] “/_search”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread'

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" LIMIT $1  [["LIMIT", 11]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]

Started GET “/” for 127.0.0.1 at 2019-01-25 18:06:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 98ms (Views: 94.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-25 18:06:57 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 73ms (Views: 70.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-25 18:06:58 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cLGrV0RZ2fRMaps6la5TmqLH3F6lwtCjyT3hirr7YfeaqW6RKccyeqSN90LdAz1evzPGA1JVNieTGvAoDxUiDQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 17ms (ActiveRecord: 6.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-25 18:06:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 56ms (Views: 54.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:06:59 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 70ms (Views: 68.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 18:07:18 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MNbW5AKfWWGHYbGUDAFJJzb3i6/rktMHmNxnzjw0pKnXna/ELBpR8Q+b2jRQDfcTO75/fQQdXLA3p9qh1OqsSA==", "q"=>"39b2a84", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:20
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode Completed 200 OK in 26ms (ActiveRecord: 3.1ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode” for 127.0.0.1 at 2019-01-25 18:07:18 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"39b2a84", "domain"=>"crazyforcode"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 66ms (Views: 61.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:07:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 82ms (Views: 76.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 18:07:22 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3hRrICFxMTeZcaF2GYLBBOy94jLq5PM7TZQ3uopYxRc5XxIAD/Q5pxGLytZFjn8w4fQW4AVrfIzi74rVYobN9g==", "q"=>"39b2a8", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:20
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode Completed 200 OK in 10ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode” for 127.0.0.1 at 2019-01-25 18:07:22 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"39b2a84", "domain"=>"crazyforcode"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.7ms)

Completed 200 OK in 63ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:07:24 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 67ms (Views: 65.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 18:07:34 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bDk+cR7DrdN3qbGzaRZtKBqaADjIrE9gDlr1tj6zVNCLckdRMEalQ/9T2hM1GtMcF9P06icjwNehIUjZ1m1cMQ==", "q"=>"39b2a84", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:20
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode Completed 200 OK in 24ms (ActiveRecord: 3.8ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode” for 127.0.0.1 at 2019-01-25 18:07:34 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"39b2a84", "domain"=>"crazyforcode"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 95ms (Views: 93.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:07:41 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 75ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 18:07:47 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MaUidzhTJCgCa2WR0NAxIsAVQetBiSl4HMjE1RyQjhTW7ltXFtYsuIqRDjGM3I8WzVy1Oa4Gps+zs3m69E6G9Q==", "q"=>"vipu", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:20

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:07:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 60ms (Views: 58.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 18:07:54 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SyYawjG3P5kqsCRo0pA8FJdafXCBdR3CFCxMYbQwHrGsbWPiHzI3CaJKT8iOnIIgmhOJom76knW7V/EOXO4WUA==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:20
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 11ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-25 18:07:54 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.8ms)

Completed 200 OK in 88ms (Views: 84.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:07:55 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 71ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 18:09:56 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:23: syntax error, unexpected ':', expecting =>

match : { "short_url" : "stack" }
      ^

/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:23: syntax error, unexpected ':', expecting => … match : { “short_url” : “stack” } … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:23: syntax error, unexpected '}', expecting end …tch : { “short_url” : “stack” } … ^):

app/controllers/elastic_search_controller.rb:23: syntax error, unexpected ':', expecting => app/controllers/elastic_search_controller.rb:23: syntax error, unexpected ':', expecting => app/controllers/elastic_search_controller.rb:23: syntax error, unexpected '}', expecting end Started GET “/search” for 127.0.0.1 at 2019-01-25 18:11:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 73ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 18:11:47 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0PA9Ib4Ojc6vVNRE0l5xPdoPH97lcZgITxjm4jbSppHBlz+GzeeEQxnxevDYfyr/cFhViKz4K8F61keyQG1b3w==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:28

Redirected to localhost:3000/search Completed 200 OK in 16ms (ActiveRecord: 3.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:11:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 63ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 18:12:29 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dFKSNr7gufctMHyfuMVmx4KBevrmUT8sOVY3McIDB0mTGesWkGWxZ6XKFz/kydjzj8iOKAnesJuWLYpeKt0PqA==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:28

Redirected to localhost:3000/search Completed 200 OK in 18ms (ActiveRecord: 5.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:12:29 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 75ms (Views: 73.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:12:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 87ms (Views: 84.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-25 18:12:35 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+f3NwzWzmudqflSlAVd0aCXHRkbN/ThCzCTr5zXyq9noms9kRlqTatzb+hELdi+qj5AMEIR0i4v56kq3Q01Wlw==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:28

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-25 18:12:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 75ms (Views: 73.9ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/” for 127.0.0.1 at 2019-01-26 11:23:26 +0530

 (3.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.9ms)

Completed 500 Internal Server Error in 1213ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:4:1: reserved word 'var'):

 5:     <%= csrf_meta_tags %>
 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11:

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__1036247114664939690_70302155816100' Started GET “/” for 127.0.0.1 at 2019-01-26 11:24:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 372ms (Views: 370.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-26 11:24:22 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.2ms)

Completed 200 OK in 48ms (Views: 46.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-26 11:24:23 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"38fuVYief0K49IFWZO7W+T7aN0ZikadXKeaOj2sTYasoyX0e4ZH4NWphdbL8aosy1YbZrDJZJpjYdiWGCz8N5w==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (28.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 71ms (ActiveRecord: 58.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 11:24:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 60ms (Views: 54.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 11:24:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 64ms (Views: 61.9ms | ActiveRecord: 0.0ms)

Started GET “/search/seaech” for 127.0.0.1 at 2019-01-26 11:24:29 +0530 Processing by SearchController#search_user as HTML

Parameters: {"q"=>"seaech"}
Url Load (12.4ms)  SELECT "urls".* FROM "urls" WHERE (url_long_url LIKE '%seaech%')
↳ app/controllers/search_controller.rb:4

Completed 500 Internal Server Error in 33ms (ActiveRecord: 14.6ms)

ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR: column “url_long_url” does not exist LINE 1: SELECT “urls”.* FROM “urls” WHERE (url_long_url LIKE '%seaec…

^

: SELECT “urls”.* FROM “urls” WHERE (url_long_url LIKE '%seaech%')):

app/controllers/search_controller.rb:4:in `search_user' Started GET “/search/user_seach” for 127.0.0.1 at 2019-01-26 11:24:35 +0530 Processing by SearchController#search_user as HTML

Parameters: {"q"=>"user_seach"}
Url Load (1.8ms)  SELECT "urls".* FROM "urls" WHERE (url_long_url LIKE '%user_seach%')
↳ app/controllers/search_controller.rb:4

Completed 500 Internal Server Error in 5ms (ActiveRecord: 1.8ms)

ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR: column “url_long_url” does not exist LINE 1: SELECT “urls”.* FROM “urls” WHERE (url_long_url LIKE '%user_…

^

: SELECT “urls”.* FROM “urls” WHERE (url_long_url LIKE '%user_seach%')):

app/controllers/search_controller.rb:4:in `search_user' Started GET “/search/user_seach” for 127.0.0.1 at 2019-01-26 11:24:54 +0530 Processing by SearchController#search_user as HTML

Parameters: {"q"=>"user_seach"}

Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 11:26:14 +0530

ActionController::RoutingError (No route matches [GET] “/search”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/search/search_user” for 127.0.0.1 at 2019-01-26 11:26:28 +0530 Processing by SearchController#search_user as HTML Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:41:38 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 500 Internal Server Error in 269ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'twitter/typeahead' with type 'application/javascript' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/Intern/Url_Shortner/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
   6:     <%= csp_meta_tag %>
   7: 
   8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
   9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  10:   </head>
  11: 
  12:   <body>

app/assets/javascripts/application.js:19 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb__1036247114664939690_70302199733420' Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:42:21 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (1.0ms)

Completed 500 Internal Server Error in 533ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'twitter/typeahead' with type 'application/javascript' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-multiselect-rails-0.9.9/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-multiselect-rails-0.9.9/vendor/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
   5:     <%= csrf_meta_tags %>
   6:     <%= csp_meta_tag %>
   7: 
   8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
   9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  10:   </head>
  11:

app/assets/javascripts/application.js:19 app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3585065235765098003_70319992032760' Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:43:28 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.7ms)

Completed 500 Internal Server Error in 146ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (couldn't find file 'twitter/typeahead' with type 'application/javascript' Checked in these paths:

/Users/vipul/Intern/Url_Shortner/app/assets/config
/Users/vipul/Intern/Url_Shortner/app/assets/images
/Users/vipul/Intern/Url_Shortner/app/assets/javascripts
/Users/vipul/Intern/Url_Shortner/app/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-multiselect-rails-0.9.9/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-multiselect-rails-0.9.9/vendor/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/jquery-rails-4.3.3/vendor/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actioncable-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/activestorage-5.2.2/app/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/actionview-5.2.2/lib/assets/compiled
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/turbolinks-source-5.2.0/lib/assets/javascripts
/Users/vipul/Intern/Url_Shortner/node_modules
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/stylesheets
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/javascripts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/fonts
/Users/vipul/.rvm/gems/ruby-2.6.0/gems/bootstrap-sass-3.4.0/assets/images):
   5:     <%= csrf_meta_tags %>
   6:     <%= csp_meta_tag %>
   7: 
   8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
   9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
  10:   </head>
  11:

app/assets/javascripts/application.js:19 app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb___3946684542074028859_70245030637300' Started GET “/” for 127.0.0.1 at 2019-01-26 11:45:38 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 1200ms (Views: 1192.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-26 11:45:40 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (8.8ms)

Completed 200 OK in 111ms (Views: 106.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-26 11:45:42 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"F4i/STuaFE6wOluOi3G7tPWdEbcQLs36UqPhBOfTrwrghiwCUpWTOWKvr2oT9eZ/HsH/XUDmTDWjM0oNh//DRg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 27ms (ActiveRecord: 10.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 11:45:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 131ms (Views: 128.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 11:45:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 74ms (Views: 72.7ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:45:51 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 83ms (Views: 80.7ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:46:27 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 53ms (Views: 52.3ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:48:17 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 159ms (Views: 157.5ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:49:19 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 163ms (Views: 162.3ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:49:40 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 479ms (Views: 474.2ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:50:50 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 112ms (Views: 110.2ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:52:04 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 48ms (Views: 47.2ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:54:38 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 500 Internal Server Error in 346ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:4:1: reserved word 'var'):

 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11: 
12:   <body>

(execjs):7539:8 (execjs):7545:14 (execjs):1:102 app/views/layouts/application.html.erb:9:in `_app_views_layouts_application_html_erb___2584730874121540684_70242753767680' Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:56:03 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (1.2ms)

Completed 500 Internal Server Error in 263ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (SyntaxError: [stdin]:4:1: reserved word 'var'):

 5:     <%= csrf_meta_tags %>
 6:     <%= csp_meta_tag %>
 7: 
 8:     <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 9:     <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10:   </head>
11:

app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__3415093764891599158_70143767905500' Started GET “/home/search” for 127.0.0.1 at 2019-01-26 11:56:52 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 355ms (Views: 353.7ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:00:43 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 644ms (Views: 639.3ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-26 12:01:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 239ms (Views: 237.1ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:01:41 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 96ms (Views: 93.0ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:05:24 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 491ms (Views: 486.4ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:08:17 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 645ms (Views: 639.8ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:08:52 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 203ms (Views: 201.1ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:10:08 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.4ms)

Completed 200 OK in 53ms (Views: 52.3ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:10:11 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 76ms (Views: 74.7ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:13:12 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.7ms)

Completed 200 OK in 569ms (Views: 563.0ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:14:11 +0530

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 562ms (Views: 557.4ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:15:04 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 207ms (Views: 205.8ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:15:44 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 492ms (Views: 487.5ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:16:49 +0530 Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:16:49 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)
Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.0ms)

Completed 200 OK in 569ms (Views: 563.2ms | ActiveRecord: 0.0ms)

Completed 200 OK in 599ms (Views: 596.5ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:18:10 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.7ms)

Completed 200 OK in 605ms (Views: 596.5ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:24:21 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 610ms (Views: 605.0ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:25:36 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 211ms (Views: 209.4ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:25:47 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 56ms (Views: 54.8ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:26:15 +0530

 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 497ms (Views: 491.6ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:27:04 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 610ms (Views: 605.0ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:28:54 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.7ms)

Completed 200 OK in 586ms (Views: 580.5ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:29:12 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 207ms (Views: 205.4ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 12:30:41 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 85ms (Views: 83.8ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:02:21 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 1761ms (Views: 1756.8ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:02:51 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 553ms (Views: 552.5ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:03:20 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 305ms (Views: 303.1ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:03:34 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 290ms (Views: 289.5ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:03:48 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 285ms (Views: 282.9ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:04:07 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 292ms (Views: 291.1ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:04:59 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 182ms (Views: 180.9ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:07:05 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.3ms)

Completed 200 OK in 315ms (Views: 314.0ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:07:14 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.7ms)

Completed 200 OK in 852ms (Views: 846.9ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:09:50 +0530 Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.5ms)

Completed 200 OK in 599ms (Views: 597.8ms | ActiveRecord: 0.0ms)

Started GET “/home/search” for 127.0.0.1 at 2019-01-26 15:12:13 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#search as HTML

Rendering home/search.html.erb within layouts/application
Rendered home/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 960ms (Views: 955.4ms | ActiveRecord: 0.0ms)

Started GET “/home/autocomplete?term=vip” for 127.0.0.1 at 2019-01-26 15:12:23 +0530 Processing by HomeController#typeahead as JSON

Parameters: {"term"=>"vip"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-26 15:16:45 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 1534ms (Views: 1529.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-26 15:16:49 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.3ms)

Completed 200 OK in 264ms (Views: 261.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-26 15:16:50 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jLmI9o0T1c/ijahLM8GTNL52xQauRhNGABxdTPIjZEJZnw8VVE8kUHYx+WjIqI2J0tnBMDxVv/tY1ayPiol6Lg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 4.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 15:16:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (9.4ms)

Completed 200 OK in 192ms (Views: 190.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:16:52 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.3ms)

Completed 200 OK in 182ms (Views: 179.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:17:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 451ms (Views: 448.8ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=vi” for 127.0.0.1 at 2019-01-26 15:17:25 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"vi"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:18:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 263ms (Views: 262.2ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=39b2a84” for 127.0.0.1 at 2019-01-26 15:18:42 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39b2a84"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/elastic_search_controller.rb:46:in `+' app/controllers/elastic_search_controller.rb:46:in `autocomplete' Started GET “/elastic_search/autocomplete?term=39b2a8” for 127.0.0.1 at 2019-01-26 15:18:43 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39b2a8"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/elastic_search_controller.rb:46:in `+' app/controllers/elastic_search_controller.rb:46:in `autocomplete' Started GET “/search” for 127.0.0.1 at 2019-01-26 15:20:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 220ms (Views: 219.0ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=39b2a84” for 127.0.0.1 at 2019-01-26 15:20:25 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39b2a84"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/elastic_search_controller.rb:46:in `+' app/controllers/elastic_search_controller.rb:46:in `autocomplete' Started GET “/elastic_search/autocomplete?term=39b2a8” for 127.0.0.1 at 2019-01-26 15:20:25 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39b2a8"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/elastic_search_controller.rb:46:in `+' app/controllers/elastic_search_controller.rb:46:in `autocomplete' Started GET “/search” for 127.0.0.1 at 2019-01-26 15:20:55 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 223ms (Views: 222.3ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=vv” for 127.0.0.1 at 2019-01-26 15:20:57 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"vv"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/elastic_search_controller.rb:46:in `+' app/controllers/elastic_search_controller.rb:46:in `autocomplete' Started GET “/elastic_search/autocomplete?term=vvp” for 127.0.0.1 at 2019-01-26 15:21:01 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"vvp"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/elastic_search_controller.rb:46:in `+' app/controllers/elastic_search_controller.rb:46:in `autocomplete' Started GET “/search” for 127.0.0.1 at 2019-01-26 15:22:12 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 228ms (Views: 226.8ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=wsd” for 127.0.0.1 at 2019-01-26 15:22:15 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"wsd"}

Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:22:43 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 225ms (Views: 224.0ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=plo” for 127.0.0.1 at 2019-01-26 15:22:46 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"plo"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/elastic_search_controller.rb:46:in `+' app/controllers/elastic_search_controller.rb:46:in `autocomplete' Started GET “/search” for 127.0.0.1 at 2019-01-26 15:24:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 221ms (Views: 220.3ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=39” for 127.0.0.1 at 2019-01-26 15:24:13 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/elastic_search_controller.rb:46:in `+' app/controllers/elastic_search_controller.rb:46:in `autocomplete' Started GET “/elastic_search/autocomplete?term=39b” for 127.0.0.1 at 2019-01-26 15:24:14 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39b"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

TypeError (no implicit conversion of nil into String):

app/controllers/elastic_search_controller.rb:46:in `+' app/controllers/elastic_search_controller.rb:46:in `autocomplete' Started GET “/search” for 127.0.0.1 at 2019-01-26 15:24:56 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 226ms (Views: 224.5ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=39” for 127.0.0.1 at 2019-01-26 15:25:00 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39"}

Completed 500 Internal Server Error in 223ms (ActiveRecord: 6.4ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”},“status”:404}):

app/controllers/elastic_search_controller.rb:59:in `autocomplete' Started GET “/elastic_search/autocomplete?term=39b” for 127.0.0.1 at 2019-01-26 15:25:01 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39b"}

Completed 500 Internal Server Error in 36ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“development_urls”,“index_uuid”:“na”,“index”:“development_urls”},“status”:404}):

app/controllers/elastic_search_controller.rb:59:in `autocomplete'

Url Load (1.6ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:25:58 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.6ms)

Completed 200 OK in 905ms (Views: 899.7ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=39” for 127.0.0.1 at 2019-01-26 15:26:04 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:59

Completed 200 OK in 104ms (Views: 0.2ms | ActiveRecord: 4.2ms)

Started GET “/elastic_search/autocomplete?term=39b” for 127.0.0.1 at 2019-01-26 15:26:05 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39b"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:59

Completed 200 OK in 20ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:26:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 228ms (Views: 227.0ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=39” for 127.0.0.1 at 2019-01-26 15:26:22 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:59

Completed 200 OK in 31ms (Views: 0.2ms | ActiveRecord: 4.5ms)

Started GET “/elastic_search/autocomplete?term=39b” for 127.0.0.1 at 2019-01-26 15:26:22 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39b"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:59

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-26 15:26:27 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"F9k+ZLYDEldSOwhLmXsOsSeYpwm0abBHX3oxvBcm9MdsEsGKA4RpfycqDmJU1UZwg87E35ulkzXfBjheqZVG9w==", "q"=>"39b2a84", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:28
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:36

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode Completed 200 OK in 26ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode” for 127.0.0.1 at 2019-01-26 15:26:27 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"39b2a84", "domain"=>"crazyforcode"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 290ms (Views: 285.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:26:30 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (11.1ms)

Completed 200 OK in 281ms (Views: 277.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-26 15:27:15 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"COPeHV1d/b9T+loEASHsdZUV5WIqzXAQqfipwCwpfaS+b/B8CtgIJzzbn8VDxIbxMt3DzmH2JCZ4tXlsOxOSIA==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:28

Redirected to localhost:3000/search Completed 200 OK in 25ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:27:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 327ms (Views: 325.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-26 15:28:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (4.2ms)

Completed 200 OK in 709ms (Views: 705.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:28:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 299ms (Views: 297.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 15:29:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 391ms (Views: 389.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:29:37 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.4ms)

Completed 200 OK in 239ms (Views: 236.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:29:54 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.2ms)

Completed 200 OK in 309ms (Views: 307.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:30:14 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.0ms)

Completed 200 OK in 394ms (Views: 392.4ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/autocomplete?term=39” for 127.0.0.1 at 2019-01-26 15:30:49 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:59

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started GET “/elastic_search/autocomplete?term=39b” for 127.0.0.1 at 2019-01-26 15:30:49 +0530 Processing by ElasticSearchController#autocomplete as JSON

Parameters: {"term"=>"39b"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:59

Completed 200 OK in 15ms (Views: 0.1ms | ActiveRecord: 0.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-26 15:30:53 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NklSX/zBI0h7idpbgU1tSNHo+3OvryzqTc9rvP/US9lNgq2xSUZYYA6Y3HJM4yWJdb6YpYBjD5jNs2JeQWf56Q==", "short_url"=>"39b2a84", "commit"=>"Find Long Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "39b2a84"], ["LIMIT", 1]]
↳ app/models/url.rb:73
DomainPrefix Load (14.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "crazyforcode"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84 Completed 200 OK in 36ms (ActiveRecord: 17.4ms)

Started GET “/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84” for 127.0.0.1 at 2019-01-26 15:30:53 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"crazyforcode", "long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"www.caco/39b2a84"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 320ms (Views: 317.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:30:55 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.9ms)

Completed 200 OK in 253ms (Views: 252.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:32:22 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.4ms)

Completed 200 OK in 820ms (Views: 818.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=39b” for 127.0.0.1 at 2019-01-26 15:32:27 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"39b"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/urls_controller.rb:73

Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 3.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-26 15:32:29 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6tLpijbWLlXCBijT3U7S/5i1J7rKCrYNK6a6svyeOlGRGRZkg1FVfbcXLvoQ4Jo+PONEbOXGlX+r2rNQQi2IYQ==", "short_url"=>"39b2a84", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84 Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84” for 127.0.0.1 at 2019-01-26 15:32:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"crazyforcode", "long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"www.caco/39b2a84"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 252ms (Views: 250.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-26 15:33:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (428.0ms)

Completed 500 Internal Server Error in 431ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `search_path' for #<#<Class:0x00007fb8b026a4b0>:0x00007fb8b02682f0> Did you mean? search_field_tag):

 5: <%= link_to "Find Short Url",urls_long_to_short_path%> <br>
 6: <%= link_to "Find Long Url",urls_short_to_long_path%> <br>
 7: <%=link_to 'Generate Report',home_generate_report_path%><br>
 8: <%=link_to 'Elastic Search',search_path%><br>
 9: 
10: <%=link_to "LogOut",users_logout_path %>
11: <% else %>

app/views/home/index.html.erb:8:in `_app_views_home_index_html_erb___1011752839267804325_70215603017220' Started GET “/” for 127.0.0.1 at 2019-01-26 15:33:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 319ms (Views: 317.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:34:01 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.5ms)

Completed 200 OK in 200ms (Views: 198.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:34:29 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.2ms)

Completed 200 OK in 235ms (Views: 233.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=39” for 127.0.0.1 at 2019-01-26 15:34:34 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"39"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/urls_controller.rb:73

Completed 200 OK in 30ms (Views: 0.2ms | ActiveRecord: 4.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-26 15:34:38 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YB3ZDj/aEFW+tejr0n3wEfO8MUb75Rkye9P4Z7nSxvkb1ibgil1rfcuk7sIf07jQV+pSkNQpOkD7r/GFB2F0yQ==", "short_url"=>"39b2a84", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84 Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=crazyforcode&long_url=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&short_url=www.caco%2F39b2a84” for 127.0.0.1 at 2019-01-26 15:34:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"crazyforcode", "long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"www.caco/39b2a84"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 266ms (Views: 262.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:34:39 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.8ms)

Completed 200 OK in 255ms (Views: 253.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-26 15:36:02 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 824ms (Views: 818.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-26 15:36:05 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.8ms)

Completed 200 OK in 167ms (Views: 163.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-26 15:37:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 709ms (Views: 706.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-26 15:37:19 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.0ms)

Completed 200 OK in 254ms (Views: 251.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-26 15:37:21 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"A/tt2LVlmOVsACVwk/sUTvJj7kDuW9l2GdsR6MK3v6DW3eo7bDlpevi8dFNokgrznszqdnxIdctBEuAruh2hzA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 16ms (ActiveRecord: 5.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 15:37:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 249ms (Views: 247.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:37:23 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.8ms)

Completed 200 OK in 205ms (Views: 203.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-26 15:37:38 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2Bum6WcfSynWUNekf+4G4iYG5n6BZ5qD2fCaNC0UAcF1G/zSH+i0xbIBNaPyg4qmBjpEntcTGULC7GcTZiVufw==", "short_url"=>"www.hoco/e54de1d", "commit"=>"Find Long Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:73
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 24ms (ActiveRecord: 6.5ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-26 15:37:38 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.3ms)

Completed 200 OK in 230ms (Views: 228.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:37:40 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.6ms)

Completed 200 OK in 236ms (Views: 234.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:38:09 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.0ms)

Completed 200 OK in 219ms (Views: 218.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=8” for 127.0.0.1 at 2019-01-26 15:38:11 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"8"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 303], ["id", 299], ["id", 301], ["id", 304], ["id", 305], ["id", 306], ["id", 296], ["id", 315], ["id", 297], ["id", 320]]
↳ app/controllers/urls_controller.rb:73

Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started GET “/urls/autocomplete?term=6” for 127.0.0.1 at 2019-01-26 15:38:41 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"6"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 314], ["id", 301], ["id", 305], ["id", 319], ["id", 323], ["id", 297], ["id", 298], ["id", 320]]
↳ app/controllers/urls_controller.rb:73

Completed 200 OK in 15ms (Views: 0.2ms | ActiveRecord: 0.3ms)

Started GET “/urls/autocomplete?term=66” for 127.0.0.1 at 2019-01-26 15:38:42 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"66"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 298]]
↳ app/controllers/urls_controller.rb:73

Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-26 15:38:43 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JEeX25Eu1Xd2aVgOFAEWxaCuiIL1Nqn3duN4AjiFhvNfjGg1JKmuXwN4XifZr14EBPjrVNr6ioX2n3HghjY0ww==", "short_url"=>"660fcf0", "commit"=>"Find Long Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "660fcf0"], ["LIMIT", 1]]
↳ app/models/url.rb:73
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "guides"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0 Completed 200 OK in 6ms (ActiveRecord: 1.1ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0” for 127.0.0.1 at 2019-01-26 15:38:43 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"www.guco/660fcf0"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 236ms (Views: 234.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:38:45 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.3ms)

Completed 200 OK in 234ms (Views: 232.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 15:38:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 226ms (Views: 223.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 15:39:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 76ms (Views: 74.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:40:00 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.4ms)

Completed 200 OK in 68ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 15:40:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (30.2ms)

Completed 200 OK in 82ms (Views: 79.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:40:08 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 69ms (Views: 66.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-26 15:40:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 298ms (Views: 295.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:40:50 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.8ms)

Completed 200 OK in 226ms (Views: 223.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:41:53 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.6ms)

Completed 200 OK in 650ms (Views: 644.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=39” for 127.0.0.1 at 2019-01-26 15:41:57 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"39"}
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/urls_controller.rb:73

Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 4.2ms)

Started GET “/urls/autocomplete?term=66” for 127.0.0.1 at 2019-01-26 15:42:00 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"66"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 298]]
↳ app/controllers/urls_controller.rb:73

Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-26 15:42:02 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JlQRqKdAVPXQ2spGlPyIA8LIeD+XlPKy8HGr9OJOlPRdn+5GEscv3aXLzG9ZUsDCZp4b6bhY0cBwDaIWXP0mxA==", "short_url"=>"660fcf0", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0 Completed 200 OK in 4ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=guides&long_url=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&short_url=www.guco%2F660fcf0” for 127.0.0.1 at 2019-01-26 15:42:02 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"guides", "long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"www.guco/660fcf0"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 335ms (Views: 333.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-26 15:42:03 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.5ms)

Completed 200 OK in 338ms (Views: 335.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 15:42:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 236ms (Views: 232.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-26 15:42:40 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 854ms (Views: 848.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-26 15:42:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (9.5ms)

Completed 200 OK in 104ms (Views: 101.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-26 15:42:45 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"666kAE0FbnctoLvGQOoHd8dwhDE+1Mbut3SJg0TQR6ZdIophGoCb70KBfgcCD23zYLiinXXvkthmOVkvU+qoIg==", "q"=>"53f437", "commit"=>"Search"}
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:29
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 35ms (ActiveRecord: 4.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-26 15:42:45 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 91ms (Views: 89.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 15:42:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 129ms (Views: 126.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-26 15:42:53 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-26 15:42:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 56ms (Views: 55.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 10:05:28 +0530

 (2.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 1123ms (Views: 1117.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 10:05:32 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.8ms)

Completed 200 OK in 241ms (Views: 239.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 10:05:34 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Z6N9vUUEj2NduX2qN7sxlZmdiHu9RyyBRs4y5J8V3l6MjWBywKyv3HvXELP7RDuTyYvIfKkEIYnh7CKf3jHpyg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (27.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 70ms (ActiveRecord: 58.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:05:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 174ms (Views: 169.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:05:35 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.7ms)

Completed 200 OK in 245ms (Views: 243.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:05:44 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.4ms)

Completed 200 OK in 206ms (Views: 204.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=53” for 127.0.0.1 at 2019-01-28 10:05:47 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"53"}
Url Load (1.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2)  [["id", 313], ["id", 311]]
↳ app/controllers/urls_controller.rb:73

Completed 200 OK in 167ms (Views: 0.2ms | ActiveRecord: 4.5ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/” for 127.0.0.1 at 2019-01-28 10:12:18 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 399ms (Views: 394.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:12:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.6ms)

Completed 200 OK in 70ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:12:23 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JzXuH2pNEYL02jDrg7EYWePD1qN5LtvBgsLznu5LtAfdbbTao+ELAtMGNZKCOnNCvyXX9J1BHw+Z/F/cq7FP9g==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/search Completed 200 OK in 24ms (ActiveRecord: 3.6ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:12:23 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.1ms)

Completed 200 OK in 120ms (Views: 116.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:14:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:14:13 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BgwWjFyqOSrdDcNXgf447Rzhu0YlvCGjsGZR7wA95SJzFkQpd+s7cG3bPc2vIv52Pqs+YYwWRhofizaWbotfyQ==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 29ms (ActiveRecord: 3.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:14:13 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 73ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:14:16 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JB69ZNufEBQs+1OrNZPL7Hn6/DRBwXChQHe/RNlnFz3eRuehEjMKlAsnVtI0GKD3JRz9Y6WutG9bSRMGnJ3szA==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:14:16 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 59ms (Views: 57.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:14:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 64ms (Views: 61.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:14:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.2ms)

Completed 200 OK in 85ms (Views: 82.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:14:22 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KImsu6gqpXW+U9ITaCK6A9AcKCVvidPSBHQXB4IvAGfS0fZ+YYa/9ZmP12ppqdEYjPopcovmFxwfSrtFx9X7lg==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:26

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:14:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 55ms (Views: 53.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:16:27 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 64ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:16:30 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"q5rS6Y/SKli5jB2tV/IQuHDY3upTqygFXCwFdbkLErXegIBMpJMoAgla4zd5LtYjUpJbzfoBT7zzwWIM172oXg==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:27
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:32

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 21ms (ActiveRecord: 3.2ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 10:16:30 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 76ms (Views: 74.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:16:32 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 101ms (Views: 98.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:16:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.4ms)

Completed 200 OK in 45ms (Views: 43.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:16:56 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AukB4gATMbW8+YI1RAZaRFIQxdJV1rz9XVhs6TBP0Tl381NHK1Iz7wwvfK9q2pzfcFpA9fx820TytQuQXvlr0g==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:25

Completed 500 Internal Server Error in 15ms (ActiveRecord: 3.2ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:27:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-28 10:20:26 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 369ms (Views: 362.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:20:31 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kgR/OcBDSwvrjP74chh9eXFEsUdED+YbvAzke0Gy8SznHi2c6wJJUVtaAGJcxLviUw40YO2lgaIT4YMCLwRLxw==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:27

Redirected to localhost:3000/search Completed 200 OK in 21ms (ActiveRecord: 4.7ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:20:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.5ms)

Completed 200 OK in 109ms (Views: 108.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:21:57 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 256ms (Views: 250.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:22:02 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qqrzP/UA8zoqIiq6V+/aW3tibEuVJMdVuE9W3aHthsffsKGa3kHxYJr01CB5MxzAWSjpbDyOoOwXojGkz1s8LA==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:29

Redirected to localhost:3000/search Completed 200 OK in 22ms (ActiveRecord: 4.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:22:02 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 128ms (Views: 59.2ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:22:41 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 315ms (Views: 309.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:22:45 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SbeqeE+4XyRy5SifSPnLDY5Is+kzEPrrQnln9ZJGoO08rfjdZPldfsIz1gVmJQ2WrAI2zpq6nVLtlACM/PAaBg==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:29

Redirected to localhost:3000/search Completed 200 OK in 21ms (ActiveRecord: 3.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:22:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (6.4ms)

Completed 200 OK in 109ms (Views: 97.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:23:00 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.4ms)

Completed 200 OK in 107ms (Views: 106.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:23:04 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iRVq6eDnyZnrzw7KagZgNnHAxYSAfgs3cXBpdWkvCZ38DzhMy6bLw1sZ8FBE2qatU4pAoynUbI7enQ4MB5mzdg==", "q"=>"5ae", "commit"=>"Search"}

Redirected to localhost:3000/search Completed 200 OK in 15ms (ActiveRecord: 3.7ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:23:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 90ms (Views: 88.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:24:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 61.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:25:04 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7Cgab22k4sDi6sD4IvqdV5qHw5QiAqpoWEsgpKS8T9uZMkjKRuXgmlI8PmIMJlvMuM1Gs4uozdH3pkfdygr1MA==", "q"=>"5ae", "commit"=>"Search"}

Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.9ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [default_field]”,“line”:1,“col”:49}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [default_field]”,“line”:1,“col”:49},“status”:400}):

app/controllers/elastic_search_controller.rb:29:in `first' app/controllers/elastic_search_controller.rb:29:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:25:07 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7Cgab22k4sDi6sD4IvqdV5qHw5QiAqpoWEsgpKS8T9uZMkjKRuXgmlI8PmIMJlvMuM1Gs4uozdH3pkfdygr1MA==", "q"=>"5ae", "commit"=>"Search"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [default_field]”,“line”:1,“col”:49}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [default_field]”,“line”:1,“col”:49},“status”:400}):

app/controllers/elastic_search_controller.rb:29:in `first' app/controllers/elastic_search_controller.rb:29:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-28 10:25:35 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:25:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 51ms (Views: 49.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 10:25:36 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.9ms)

Completed 200 OK in 90ms (Views: 88.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 10:25:37 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pPkwI4fPrF5hjQt1K9rhfz9yb9qKVQfmn6un0IhJE/tP1y3sAmeM4UfjZmznJet5b2Qv3Z4WCu44iberyW0kbw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 4.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:25:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 90ms (Views: 88.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:25:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 77ms (Views: 74.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:25:43 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"r+xBhHZdfPvd0Q3z65FvNbidrncDFP6MiF0u23Mm6JZVtBtBv/Fme/oNCIrqGgQu5HuvIOd7OkKTY4KZNtwTZw==", "q"=>"5ae", "commit"=>"Search"}

Completed 500 Internal Server Error in 13ms (ActiveRecord: 2.3ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ unknown token [VALUE_NULL] after [query]”,“line”:1,“col”:34}],“type”:“parsing_exception”,“reason”:“ unknown token [VALUE_NULL] after [query]”,“line”:1,“col”:34},“status”:400}):

app/controllers/elastic_search_controller.rb:29:in `first' app/controllers/elastic_search_controller.rb:29:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-28 10:26:00 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:26: syntax error, unexpected tSTRING_DEND, expecting ')'

}
^):

app/controllers/elastic_search_controller.rb:26: syntax error, unexpected tSTRING_DEND, expecting ')' Started GET “/search” for 127.0.0.1 at 2019-01-28 10:26:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 46ms (Views: 44.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:26:13 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FDsit0q5Z7HhMGq00Zq0IyCABTLC80cAa7V38ZJBX8NhIXASYfhl61HmlC7/RnK4AsqAFWtZILnEWBCI/PflKA==", "q"=>"5ae", "commit"=>"Search"}

Completed 500 Internal Server Error in 13ms (ActiveRecord: 3.6ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query malformed, no start_object after query name”,“line”:1,“col”:19}],“type”:“parsing_exception”,“reason”:“ query malformed, no start_object after query name”,“line”:1,“col”:19},“status”:400}):

app/controllers/elastic_search_controller.rb:28:in `first' app/controllers/elastic_search_controller.rb:28:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-28 10:26:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 88ms (Views: 87.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:26:39 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wbbBqqfSbxt9jlwix4EgJ8b//h0qP+pZrrJSjzReU/m0rJMPjJNtQc1YorjpXea85LV7OoOVjeABXzX2WujpEg==", "q"=>"5ae", "commit"=>"Search"}

Completed 500 Internal Server Error in 21ms (ActiveRecord: 3.3ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“Unknown key for a VALUE_NULL in [query].”,“line”:1,“col”:10}],“type”:“parsing_exception”,“reason”:“Unknown key for a VALUE_NULL in [query].”,“line”:1,“col”:10},“status”:400}):

app/controllers/elastic_search_controller.rb:25:in `first' app/controllers/elastic_search_controller.rb:25:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-28 10:27:02 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 62ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:27:06 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EtqxkBLQN4v/I18Mhy7+0nwdNUd48W4kVctGI9SsotdnwOM1OZE10U/1oZap8jhJXlewYNFbCZ36JiFauhoYPA==", "q"=>"5ae", "commit"=>"Search"}

Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.1ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“Unknown key for a VALUE_STRING in [query].”,“line”:1,“col”:10}],“type”:“parsing_exception”,“reason”:“Unknown key for a VALUE_STRING in [query].”,“line”:1,“col”:10},“status”:400}):

app/controllers/elastic_search_controller.rb:25:in `first' app/controllers/elastic_search_controller.rb:25:in `retrieve'

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:39:15 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 309ms (Views: 302.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:39:19 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MtO0WEqvVjUml2dv/qZUH/sM0d3NwBRXK8fAn3GnqqRHyeb9Ye5Ub5ZBmfXQepKE2UZU+mRqc+6EKqfmHxEQTw==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:20
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 26ms (ActiveRecord: 4.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 10:39:19 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.2ms)

Completed 200 OK in 94ms (Views: 92.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:39:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 172ms (Views: 169.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:39:26 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"t/rTZLqrOPIha91hUMWKdrI/VDaW3BZoWdDJ5OWiG9xNoomhcwcicga32BhRTuFt7tlVYXKz0qZC7mWmoFjgLQ==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:20

Redirected to localhost:3000/search Completed 200 OK in 29ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:39:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.2ms)

Completed 200 OK in 74ms (Views: 72.4ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:45:21 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

ActionController::RoutingError (No route matches [GET] “/search”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-28 10:45:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 655ms (Views: 652.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:45:27 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.3ms)

Completed 200 OK in 273ms (Views: 268.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:45:40 +0530 Processing by UrlsController#short_to_long as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:45:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 206ms (Views: 204.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 10:45:44 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.8ms)

Completed 200 OK in 232ms (Views: 230.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 10:45:46 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yrUyszotcy+gZChWvumQsTO0GvUGc+mtEaZD2l9QJFUhmy98v4VTkIYKRU9yFpq3Y6Ja8hIw5KW2hFOhHnQTwQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 34ms (ActiveRecord: 4.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:45:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 241ms (Views: 239.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:45:47 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.5ms)

Completed 200 OK in 249ms (Views: 247.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 10:46:15 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PuCo8U7Ga/NtFNOZrhMoC6re0TKwGJ4REkh7ibQ3CzB3GRqUtU8SXA7QR5wnaRAhW6OGThb5so/9gJ9AfibSYg==", "short_url"=>"5ae", "commit"=>"Find Long Url"}
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "5ae"], ["LIMIT", 1]]
↳ app/models/url.rb:99

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 48ms (ActiveRecord: 3.7ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-28 10:46:15 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (5.1ms)

Completed 200 OK in 267ms (Views: 264.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:46:17 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.5ms)

Completed 200 OK in 346ms (Views: 343.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:47:19 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 874ms (Views: 868.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:47:21 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (6.0ms)

Completed 200 OK in 254ms (Views: 251.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:47:25 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.3ms)

Completed 200 OK in 239ms (Views: 237.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=5” for 127.0.0.1 at 2019-01-28 10:47:28 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"5"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 40ms (Views: 0.2ms | ActiveRecord: 4.0ms)

Started GET “/urls/autocomplete?term=5ae” for 127.0.0.1 at 2019-01-28 10:47:28 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"5ae"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 20ms (Views: 0.3ms | ActiveRecord: 0.6ms)

Started GET “/urls/autocomplete?term=5” for 127.0.0.1 at 2019-01-28 10:47:33 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"5"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 8ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started GET “/urls/autocomplete?term=5ae” for 127.0.0.1 at 2019-01-28 10:47:33 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"5ae"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 0.3ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:48:10 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (4.4ms)

Completed 200 OK in 1455ms (Views: 1450.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=5ae” for 127.0.0.1 at 2019-01-28 10:48:14 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"5ae"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 26ms (Views: 0.2ms | ActiveRecord: 4.6ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 10:48:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 339ms (Views: 336.1ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 10:48:29 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (27.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (49.2ms)

Completed 200 OK in 390ms (Views: 343.7ms | ActiveRecord: 36.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:48:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 252ms (Views: 250.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:48:32 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (5.1ms)

Completed 200 OK in 249ms (Views: 247.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 10:48:35 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.5ms)

Completed 200 OK in 290ms (Views: 288.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=5ae” for 127.0.0.1 at 2019-01-28 10:48:38 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"5ae"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 3.0ms)

Url Load (0.6ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:50:05 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 384ms (Views: 377.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:50:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 56ms (Views: 54.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 10:50:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.7ms)

Completed 200 OK in 116ms (Views: 114.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:50:30 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (8.0ms)

Completed 200 OK in 92ms (Views: 88.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:50:33 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LFEoQDmdUSNVcSOUcZy91wRM2tP7aZOpCczbM0+f38rWCXKF8DFLo3KtJu1wF9bMWKrbhB8GV2cS8ndxCmUkOw==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:20

Redirected to localhost:3000/search Completed 200 OK in 21ms (ActiveRecord: 4.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:50:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 66ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:50:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 74ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 10:50:37 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 66ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 10:50:48 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bKLACpeHjOXdpj+5OElZAjhhpL/24JdvEjHg0c+QpilTfssIgTjI+pzarH1OnAW2NNoDbsVj7coDarhXPwCI3Q==", "long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/"], ["LIMIT", 1]]
↳ app/models/url.rb:52
Url Create (15.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/"], ["domain", "housing.com"]]
↳ app/models/url.rb:52
 (22.8ms)  COMMIT
↳ app/models/url.rb:52
DomainPrefix Load (13.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e9147c5"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:59
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/"], ["id", 327], ["LIMIT", 1]]
↳ app/models/url.rb:59
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e9147c5"], ["id", 327]]
↳ app/models/url.rb:59
 (0.3ms)  COMMIT
↳ app/models/url.rb:59

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&short_url=www.hoco%2Fe9147c5 Completed 200 OK in 124ms (ActiveRecord: 56.3ms)

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&short_url=www.hoco%2Fe9147c5” for 127.0.0.1 at 2019-01-28 10:50:48 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"www.hoco/e9147c5"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 83ms (Views: 80.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 10:50:51 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 68ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 10:50:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 78ms (Views: 76.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 10:50:53 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 65ms (Views: 63.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 10:50:56 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rCyIUwA+7LwG76O0UVymKTbsFnxIzMVNHnW/Y5lNiE9WdNKWyZL2PCEzps1Q180yagoXK6yjAYMFSxMh3Ldzvg==", "q"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "commit"=>"Search"}

Completed 500 Internal Server Error in 45ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“query_shard_exception”,“reason”:“Failed to parse query [www.webascender.com/blog/rails-elasticsearch-searchkick-depth/]”,“index_uuid”:“zGi-rATMR7uG1AgosPtC0g”,“index”:“urls”}],“type”:“search_phase_execution_exception”,“reason”:“all shards failed”,“phase”:“query”,“grouped”:true,“failed_shards”:[{“shard”:0,“index”:“urls”,“node”:“5ItitXsvSPqbpFFbtoxkkQ”,“reason”:{“type”:“query_shard_exception”,“reason”:“Failed to parse query [www.webascender.com/blog/rails-elasticsearch-searchkick-depth/]”,“index_uuid”:“zGi-rATMR7uG1AgosPtC0g”,“index”:“urls”,“caused_by”:{“type”:“parse_exception”,“reason”:“Cannot parse 'www.webascender.com/blog/rails-elasticsearch-searchkick-depth/': Lexical error at line 1, column 71. Encountered: <EOF> after : ""”,“caused_by”:{“type”:“token_mgr_error”,“reason”:“Lexical error at line 1, column 71. Encountered: <EOF> after : ""”}}}}]},“status”:400}):

app/controllers/elastic_search_controller.rb:20:in `first' app/controllers/elastic_search_controller.rb:20:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-28 10:52:02 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 68ms (Views: 65.9ms | ActiveRecord: 0.0ms)

Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/search” for 127.0.0.1 at 2019-01-28 11:06:58 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:06:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 262ms (Views: 260.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 11:06:59 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (6.1ms)

Completed 200 OK in 127ms (Views: 125.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 11:07:00 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PgO3vYVLUWhFd7BBEuikwXHFFNO8l1KhjZxayi9EQaPVLapyAONx12MZ3VjeF67HIdNU1KjUX6kqvkqxbmB2Nw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 4.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:07:00 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 116ms (Views: 114.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 11:07:01 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.0ms)

Completed 200 OK in 127ms (Views: 120.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 11:07:04 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TuKIUjd9n5GAE1pY/kYPvLorA+IyRpC/dPa/PQ0H10e0utKX/tGFEafPXyH/zWSn5s0CtdYpVHFvyBN/SP0stg==", "q"=>"bced776", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 314]]
↳ app/controllers/elastic_search_controller.rb:20
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 314]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 41ms (ActiveRecord: 3.2ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-28 11:07:04 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 63ms (Views: 59.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 11:07:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 92ms (Views: 90.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:07:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 73ms (Views: 70.8ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-28 11:08:06 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:52
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["domain", "elasticsearch"]]
↳ app/models/url.rb:52
 (6.2ms)  COMMIT
↳ app/models/url.rb:52
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.elco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (2.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "elasticsearch"], ["prefix", "www.elco/"]]
↳ app/models/domain_prefix.rb:20
 (10.4ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f8c7123"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:59
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["id", 328], ["LIMIT", 1]]
↳ app/models/url.rb:59
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "f8c7123"], ["id", 328]]
↳ app/models/url.rb:59
 (0.3ms)  COMMIT
↳ app/models/url.rb:59

Completed 200 OK in 90ms (Views: 0.3ms | ActiveRecord: 29.3ms)

Started GET “/short-url?short_url=www.elco/f8c7123” for 127.0.0.1 at 2019-01-28 11:09:07 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"www.elco/f8c7123"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f8c7123"], ["LIMIT", 1]]
↳ app/models/url.rb:99

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started GET “/short-url?short_url=f8c7123” for 127.0.0.1 at 2019-01-28 11:09:16 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"f8c7123"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 11:09:44 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 83ms (Views: 80.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:09:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 72ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 11:09:47 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.6ms)

Completed 200 OK in 73ms (Views: 71.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:09:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 92ms (Views: 89.5ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 11:09:49 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (8.8ms)

Completed 200 OK in 86ms (Views: 64.1ms | ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:09:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 81ms (Views: 79.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 11:09:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 73ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:09:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 98ms (Views: 96.1ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/_search” for 127.0.0.1 at 2019-01-28 11:14:19 +0530

ActionController::RoutingError (No route matches [GET] “/_search”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html” for 127.0.0.1 at 2019-01-28 11:21:51 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (1.1ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (6.2ms)  ROLLBACK
↳ app/models/url.rb:52

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 7.5ms)

Started POST “/shorten-url/?domain=elasticsearch” for 127.0.0.1 at 2019-01-28 11:21:58 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:52

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.8ms)

Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-28 11:22:03 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.5ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (1.1ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:52
Url Load (1.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:74
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 9.1ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-28 11:22:07 +0530 Processing by UrlsController#short_url as / Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/models/url.rb:92:in `short_url' app/controllers/urls_controller.rb:8:in `short_url' Started GET “/short-url” for 127.0.0.1 at 2019-01-28 11:24:11 +0530 Processing by UrlsController#short_url as / Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.7ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/models/url.rb:95:in `short_url' app/controllers/urls_controller.rb:8:in `short_url' Started GET “/short-url” for 127.0.0.1 at 2019-01-28 11:24:38 +0530 Processing by UrlsController#short_url as / Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.5ms)

Started GET “/short-url?short_url=f8c7123” for 127.0.0.1 at 2019-01-28 11:24:41 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"f8c7123"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f8c7123"], ["LIMIT", 1]]
↳ app/models/url.rb:102

Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 2.3ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-28 11:24:45 +0530 Processing by UrlsController#short_url as / Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=f8c7123” for 127.0.0.1 at 2019-01-28 11:24:48 +0530 Processing by UrlsController#short_url as /

Parameters: {"short_url"=>"f8c7123"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html&domain=poll” for 127.0.0.1 at 2019-01-28 11:25:05 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html", "domain"=>"poll"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:52
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 41ms (Views: 0.3ms | ActiveRecord: 4.0ms)

Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-28 11:25:19 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.9ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:52

Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 1.2ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 11:33:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 70ms (Views: 69.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 11:33:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.9ms)

Completed 200 OK in 73ms (Views: 71.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 11:33:27 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UFX3o31nq7FWWggzY/IzFKWT+Ij8PdGnKlGXrCIabu67e+ps+M+LDnA0ZSqvDTkS9YW4j+h+3K+Nc4fXYz5Zeg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 5.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:33:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 58ms (Views: 55.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 11:33:40 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 79ms (Views: 74.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:33:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 52ms (Views: 50.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 11:33:45 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (14.9ms)

Completed 200 OK in 79ms (Views: 67.5ms | ActiveRecord: 7.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:33:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 80ms (Views: 77.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 11:59:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 126ms (Views: 125.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 11:59:02 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.3ms)

Completed 200 OK in 65ms (Views: 63.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 11:59:03 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iLnsJPK4EChBRCW0kZOlVbOWg6kGDnJ48VdOEEnaecBjl/HrdxAwl2cqSK1dbK9T44DDrhJNf3BWdV5rCP5OVA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (3.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 8.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:59:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 75ms (Views: 73.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 11:59:05 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (21.8ms)

Completed 200 OK in 66ms (Views: 63.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:59:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.4ms)

Completed 200 OK in 68ms (Views: 65.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 11:59:11 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 72ms (Views: 69.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 11:59:15 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8c9MIIJQygsfTdL3QQEWeTEU/BXhWG25jzpMxfP/B+3OE0cilO+OFF4xQTM31ErNPa9bxNLbFxyeYRRDA28pGQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:52
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["domain", "housing.com"]]
↳ app/models/url.rb:52
 (5.8ms)  COMMIT
↳ app/models/url.rb:52
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "33e355c"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:59
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["id", 329], ["LIMIT", 1]]
↳ app/models/url.rb:59
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "33e355c"], ["id", 329]]
↳ app/models/url.rb:59
 (0.3ms)  COMMIT
↳ app/models/url.rb:59

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 62ms (ActiveRecord: 11.2ms)

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 11:59:15 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 58ms (Views: 56.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 11:59:20 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 79ms (Views: 77.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:59:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (4.3ms)

Completed 200 OK in 59ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 11:59:22 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.6ms)

Completed 200 OK in 67ms (Views: 66.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 11:59:25 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zVEGmlJ1wS5UAsK2KB0WABmGmcVtmDFnKvcvfAlRqfSEqLT/qfy4gTfGVrOhZy4q6PvOuct5HfnFP8u1w0Bwpg==", "short_url"=>"www.hoco/33e355c", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "33e355c"], ["LIMIT", 1]]
↳ app/models/url.rb:102

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 11:59:25 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 70ms (Views: 66.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 11:59:33 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.8ms)

Completed 200 OK in 81ms (Views: 77.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 11:59:37 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"y6ozzp8GgF5HlyDi35oZRnNzuYYr/QCdblXlgxka0WSCU4GrZI/58SRTtOdW4CFsgg7u+o0cLAOBnQFK0wsINg==", "short_url"=>"www.hoco/33e355c", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 11:59:37 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 63ms (Views: 61.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 11:59:41 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.9ms)

Completed 200 OK in 81ms (Views: 80.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 11:59:44 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SV3KYazeZr1fYeZWQCTlovAloKFbmYOB6BxEpR87owkApHgEV1cfEjylclPJXt2IAVj33f14rx8H1KBs1Sp6Ww==", "short_url"=>"www.hoco/33e355c", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 11:59:44 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 11:59:45 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.8ms)

Completed 200 OK in 113ms (Views: 109.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 11:59:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 87ms (Views: 85.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 11:59:47 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.3ms)

Completed 200 OK in 79ms (Views: 77.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 11:59:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"b+9J5m3ia0S84EX9KQFJAbHpC54e2mS4DfAPI7a5KoNQM0Lke10vW/2c1jlf1BW1vVKsTy1ZHh0cq1elRikEdw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:52
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:74

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 8ms (ActiveRecord: 1.1ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 11:59:54 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 75ms (Views: 43.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 11:59:56 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.3ms)

Completed 200 OK in 73ms (Views: 71.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 11:59:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mWVmOJOycL5f5Q/CL/FmgAuEMq2vS+d/80XzqB0IdCCmuW06hQ00oR6ZnAZZJDo0Bz+VfJzIndriHqsu7Zha1A==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:52

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 5ms (ActiveRecord: 0.6ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 11:59:59 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 75ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:03:42 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.4ms)

Completed 200 OK in 70ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:09:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 64ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 12:13:30 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.3ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (9.4ms)

Completed 200 OK in 65ms (Views: 56.4ms | ActiveRecord: 6.6ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 12:13:47 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (2.2ms)

Completed 200 OK in 56ms (Views: 53.7ms | ActiveRecord: 0.6ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 12:14:07 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:6
Rendered home/generate_report.html.erb within layouts/application (2.6ms)

Completed 200 OK in 56ms (Views: 54.2ms | ActiveRecord: 0.4ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 12:14:28 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:9
Rendered home/generate_report.html.erb within layouts/application (2.0ms)

Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:14:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 67ms (Views: 65.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 12:16:24 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 62ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:16:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 126ms (Views: 124.1ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 12:16:26 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.9ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (4.1ms)

Completed 200 OK in 105ms (Views: 100.1ms | ActiveRecord: 0.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:16:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 69ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 12:16:49 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (2.6ms)

Completed 200 OK in 75ms (Views: 70.0ms | ActiveRecord: 0.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:16:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 73ms (Views: 69.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:16:52 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 84ms (Views: 81.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 12:16:55 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/8dM2RxAZHP/ckTk2P0TJ70aj1fEds8ox1878Cn/rKvAG0fbCv8gbL4O1yCuKE+TsaEohvf1tY3WBGN22W+CXw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.7ms)  ROLLBACK
↳ app/models/url.rb:52
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:74
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 9ms (ActiveRecord: 1.7ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 12:16:55 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 56ms (Views: 52.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:18:00 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 86ms (Views: 84.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:26:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 50ms (Views: 48.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 12:26:43 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.7ms)

Completed 200 OK in 90ms (Views: 87.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 12:26:44 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KzX2CWD2JeCa/n6Of7kL7UWb8sXvd+8+najVVnpTehTAG+vG5V4FX7yQE5ezRgHrFY2ywvs04jY6isUtO3dNgA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 7ms (ActiveRecord: 3.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:26:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 79ms (Views: 77.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:26:46 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.7ms)

Completed 200 OK in 71ms (Views: 69.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 12:26:48 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"l7rTQm8YTpSIiEIzvdFWbZPwg58dVzstj/2NepRI75zeQ2EnlJE3O+tM1jY0q25HYo3U47u2F7NgNWmzXlk2zg==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:102
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 21ms (ActiveRecord: 3.4ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-28 12:26:48 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 80ms (Views: 78.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-28 12:27:25 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 50ms (Views: 49.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:30:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:30:11 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.8ms)

Completed 200 OK in 58ms (Views: 56.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 12:30:19 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OF7SeSnC3z5NdbPex1oWrqQV1zv81vk8YG8mt1QxipRxp2Ac0kumkS6xJ9tOIC6EVWiAR1o31aKPp8J+niBTxg==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-28 12:30:19 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 75ms (Views: 72.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:30:20 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.5ms)

Completed 200 OK in 80ms (Views: 78.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:30:36 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.4ms)

Completed 200 OK in 58ms (Views: 56.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 12:30:39 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LVQiVdAAyjdu29wYvPAoCE5pqIGVYlTFcWF95bqDK8xYTnDw+0HIbd4NIoKSLO6TbCMtpjzIM3zejBqc1DWRJw==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-28 12:30:39 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 64ms (Views: 62.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:30:41 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.5ms)

Completed 200 OK in 89ms (Views: 86.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:30:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 120ms (Views: 118.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 12:31:20 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.9ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (9.7ms)

Completed 200 OK in 97ms (Views: 89.5ms | ActiveRecord: 5.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:33:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 77ms (Views: 73.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:33:47 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.5ms)

Completed 200 OK in 85ms (Views: 81.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:34:17 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.2ms)

Completed 200 OK in 47ms (Views: 45.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:36:15 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.3ms)

Completed 200 OK in 58ms (Views: 56.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:40:48 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.6ms)

Completed 200 OK in 49ms (Views: 47.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 12:40:52 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ws+S/VjplqSEBkJ1Dl85k51tF+joaikq+6F7XXtaTGK31cBYc6iU/jTQvO8gg/8IvyeSz0HATpNUTBwkFez2iQ==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:102
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 5ms (ActiveRecord: 0.6ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-28 12:40:52 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 74ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-28 12:41:35 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 56ms (Views: 55.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:41:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 64ms (Views: 61.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:41:44 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.5ms)

Completed 200 OK in 62ms (Views: 59.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 12:41:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"//Lb73DqW0/Ek9KpAJtlr5h38dcyMfkcHgkVmsCXDabALtDtZlUfUIXvQW12TjkblMxWBgGyg7kPUk0cMAcjUg==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:52
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:74

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 7ms (ActiveRecord: 0.9ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 12:41:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 71ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:41:51 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 70ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:41:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:41:57 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 54ms (Views: 52.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:42:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 75ms (Views: 72.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:42:23 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (4.0ms)

Completed 200 OK in 74ms (Views: 72.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 12:42:26 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"h+wakIcUwrAFLK8fRJ/bktGLWtp7d9Ofas1/93KFZnLOFaj1fJ27H2boOxrN5eO4IPYNpt2W/wGFBZs+uJS/IA==", "short_url"=>"", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/short_to_long Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:42:26 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.0ms)

Completed 200 OK in 60ms (Views: 58.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:42:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 77ms (Views: 74.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:42:29 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.6ms)

Completed 200 OK in 68ms (Views: 66.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:42:46 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 60ms (Views: 59.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:42:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 120ms (Views: 118.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 12:42:52 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:42:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 77ms (Views: 74.1ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:42:53 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (3.0ms)

Completed 200 OK in 72ms (Views: 66.6ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:43:49 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (1.7ms)

Completed 200 OK in 59ms (Views: 57.9ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:43:51 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (1.5ms)

Completed 200 OK in 44ms (Views: 42.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:43:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 80ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 12:43:53 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 71ms (Views: 69.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 12:43:54 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"E9qs2QNMPAdp33oJ/nCGksl9qqPP7L1KnYTaz2kJQub49LEWhuQcuE+xFxAyj4yUmWvqpNuvsEI6psq0KC11cg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:43:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 63ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 12:43:56 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:43:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 54ms (Views: 52.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:43:57 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.8ms)

Completed 200 OK in 78ms (Views: 75.6ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:44:11 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.7ms)

Completed 200 OK in 48ms (Views: 46.9ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:45:06 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (1.7ms)

Completed 200 OK in 58ms (Views: 56.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:45:08 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.3ms)

Completed 200 OK in 45ms (Views: 44.1ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:46:43 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.9ms)

Completed 200 OK in 59ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:50:11 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.5ms)

Completed 200 OK in 48ms (Views: 46.8ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:50:21 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.0ms)

Completed 200 OK in 56ms (Views: 55.0ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 12:50:45 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.1ms)

Completed 200 OK in 81ms (Views: 79.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:51:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.8ms)

Completed 200 OK in 108ms (Views: 103.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 12:51:05 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.2ms)

Completed 200 OK in 71ms (Views: 68.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 12:51:06 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JRPJbut/bjPJVdODMvknRdycyvUJzjzkzTpfF9SW3wjOPdShbtdOjO87vpr+Bi1DjIqK8h2NMexqGE9slbLonA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:51:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 69.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:52:34 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 856ms (Views: 849.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:52:38 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (7.6ms)

Completed 200 OK in 171ms (Views: 169.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:52:42 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.5ms)

Completed 200 OK in 249ms (Views: 247.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=666” for 127.0.0.1 at 2019-01-28 12:52:47 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"666"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 22ms (Views: 0.1ms | ActiveRecord: 3.9ms)

Started GET “/urls/autocomplete?term=ae8” for 127.0.0.1 at 2019-01-28 12:52:51 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"ae8"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 12:54:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 228ms (Views: 223.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:54:06 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.0ms)

Completed 200 OK in 299ms (Views: 297.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:54:09 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.3ms)

Completed 200 OK in 226ms (Views: 224.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=aer” for 127.0.0.1 at 2019-01-28 12:54:12 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"aer"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 18ms (Views: 0.1ms | ActiveRecord: 2.9ms)

Started GET “/urls/autocomplete?term=adsd” for 127.0.0.1 at 2019-01-28 12:54:20 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"adsd"}
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 8ms (Views: 0.1ms | ActiveRecord: 0.2ms)

Started GET “/urls/autocomplete?term=39b” for 127.0.0.1 at 2019-01-28 12:54:43 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"39b"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 28ms (Views: 0.8ms | ActiveRecord: 0.5ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:55:57 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.7ms)

Completed 200 OK in 238ms (Views: 237.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=wsd” for 127.0.0.1 at 2019-01-28 12:56:00 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"wsd"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 3.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 12:59:19 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 749ms (Views: 743.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 12:59:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 233ms (Views: 232.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 12:59:31 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.7ms)

Completed 200 OK in 317ms (Views: 316.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 12:59:32 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iN1Tg4UV4qFfW9lTJ61f1KTSyiKp1ercNRxs5k8j8ZwNQhZztB9fjzIV6yuHQkqtayow/KbDdLwzy/1HtbQg8Q==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 35ms (ActiveRecord: 5.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:59:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 231ms (Views: 222.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:59:33 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.6ms)

Completed 200 OK in 313ms (Views: 311.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 12:59:51 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"e5mvUTuZkXJzJJcXY0SvO59EDkl+8VE1gl1TsrTdtBd0j8LwOdhpseCg1kzlRxxNsfspYPgVJMKNnd1t03Cliw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.html", "domain"=>"tutorialspoint", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.html"], ["LIMIT", 1]]
↳ app/models/url.rb:52
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.html"], ["domain", "tutorialspoint"]]
↳ app/models/url.rb:52
 (6.3ms)  COMMIT
↳ app/models/url.rb:52
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.tuco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "tutorialspoint"], ["prefix", "www.tuco/"]]
↳ app/models/domain_prefix.rb:20
 (6.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0c47646"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:59
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.html"], ["id", 330], ["LIMIT", 1]]
↳ app/models/url.rb:59
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "0c47646"], ["id", 330]]
↳ app/models/url.rb:59
 (0.4ms)  COMMIT
↳ app/models/url.rb:59

Redirected to localhost:3000/urls/show?Status=Success&domain=tutorialspoint&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.html&short_url=www.tuco%2F0c47646 Completed 200 OK in 85ms (ActiveRecord: 22.3ms)

Started GET “/urls/show?Status=Success&domain=tutorialspoint&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.html&short_url=www.tuco%2F0c47646” for 127.0.0.1 at 2019-01-28 12:59:51 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"tutorialspoint", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.html", "short_url"=>"www.tuco/0c47646"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 203ms (Views: 200.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 12:59:55 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.9ms)

Completed 200 OK in 244ms (Views: 243.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 12:59:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 210ms (Views: 208.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 12:59:57 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.7ms)

Completed 200 OK in 198ms (Views: 195.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 13:00:01 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.7ms)

Completed 200 OK in 207ms (Views: 206.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=oc4” for 127.0.0.1 at 2019-01-28 13:00:04 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"oc4"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 6ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started GET “/urls/autocomplete?term=oc44” for 127.0.0.1 at 2019-01-28 13:00:07 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"oc44"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started GET “/urls/autocomplete?term=oc444” for 127.0.0.1 at 2019-01-28 13:00:08 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"oc444"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 7ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started GET “/urls/autocomplete?term=e84” for 127.0.0.1 at 2019-01-28 13:00:42 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"e84"}
Url Load (1.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 305]]
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 8ms (Views: 0.1ms | ActiveRecord: 1.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:00:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 218ms (Views: 214.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 13:00:48 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 203ms (Views: 201.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 13:00:53 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zwUGVVGqvjILOxbAM76O4DkKufokSv5DlUpdyHeoqsXAE2v0U+tG8Zi/V5u1vT2WF7We06Kui7SaitMXEAW7WQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:52
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:74
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 11ms (ActiveRecord: 1.1ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 13:00:53 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 199ms (Views: 197.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 13:00:55 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.3ms)

Completed 200 OK in 216ms (Views: 211.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 13:01:03 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XJyhDSBHkQFUA9KroQZ/222zi8DNkp/G+4onE5WR0HFTisysIgZpwseHk/AnBcytQwys6Ut26jH0SqnM8jzB7Q==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_index_apis.htm", "domain"=>"tutorialspoint", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_index_apis.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:52
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_index_apis.htm"], ["domain", "tutorialspoint"]]
↳ app/models/url.rb:52
 (5.7ms)  COMMIT
↳ app/models/url.rb:52
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f4db229"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:59
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_index_apis.htm"], ["id", 331], ["LIMIT", 1]]
↳ app/models/url.rb:59
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "f4db229"], ["id", 331]]
↳ app/models/url.rb:59
 (0.4ms)  COMMIT
↳ app/models/url.rb:59

Redirected to localhost:3000/urls/show?Status=Success&domain=tutorialspoint&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_index_apis.htm&short_url=www.tuco%2Ff4db229 Completed 200 OK in 39ms (ActiveRecord: 8.1ms)

Started GET “/urls/show?Status=Success&domain=tutorialspoint&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_index_apis.htm&short_url=www.tuco%2Ff4db229” for 127.0.0.1 at 2019-01-28 13:01:03 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"tutorialspoint", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_index_apis.htm", "short_url"=>"www.tuco/f4db229"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 211ms (Views: 209.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 13:01:06 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.2ms)

Completed 200 OK in 176ms (Views: 174.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:01:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 222ms (Views: 220.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 13:01:08 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.9ms)

Completed 200 OK in 168ms (Views: 166.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 13:01:11 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.6ms)

Completed 200 OK in 166ms (Views: 164.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/autocomplete?term=f4d” for 127.0.0.1 at 2019-01-28 13:01:14 +0530 Processing by UrlsController#autocomplete as JSON

Parameters: {"term"=>"f4d"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 331]]
↳ app/controllers/urls_controller.rb:64

Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:01:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 293ms (Views: 290.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 13:01:18 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:01:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 192ms (Views: 190.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 13:02:12 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 391ms (Views: 385.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 13:02:14 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.2ms)

Completed 200 OK in 87ms (Views: 85.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 13:02:15 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cN03GyCvzzXPEtyHO2Y6vukf5VRuIqaA+TlQtirMXdT1QnLrEaVyG6Jc7v+biS/HJucfimE0OOD/7sEX0FuMuQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 21ms (ActiveRecord: 6.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:02:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (8.5ms)

Completed 200 OK in 133ms (Views: 128.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 13:02:16 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (5.2ms)

Completed 200 OK in 67ms (Views: 65.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 13:02:18 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yiYkwl6MmRy/xE9ItY/V9cSIN+WCbQlFfld4FkaVM9XFMEljXM1h3yxADhMzjGaD6jcQzASJfLJxl/bJITgiSQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:52
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:52
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:52

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 21ms (ActiveRecord: 3.4ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-28 13:02:19 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (12.8ms)

Completed 200 OK in 69ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 13:02:22 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (30.6ms)

Completed 200 OK in 72ms (Views: 71.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:02:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 66ms (Views: 64.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 13:02:24 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.9ms)

Completed 200 OK in 79ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 13:02:29 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NC8FEimYKPEuBX+t3N7vimvQEAJqsZApFJeZjylkvL7hEh1BG6X36dAfqFtIXIHRYO6fowYG5K95+EM+f8u+LA==", "short_url"=>"33e5", "commit"=>"Find Long Url"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "33e5"], ["LIMIT", 1]]
↳ app/models/url.rb:102

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.4ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-28 13:02:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 77ms (Views: 74.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 13:02:31 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.5ms)

Completed 200 OK in 74ms (Views: 71.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:02:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 68ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 13:02:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 73ms (Views: 70.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 13:02:37 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Th8y4xop0GR6jksQslYp0YWqEsPc4F8H4bo8i0DTGjXKnKxM06ruLMbVCp6agVdbSAvHlUcLXSzqQo3F2rHO+Q==", "q"=>"33e5", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 329]]
↳ app/controllers/elastic_search_controller.rb:20
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 329]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&array%5B%5D%5Bshort_url%5D=33e355c&array%5B%5D%5Bdomain%5D=housing.com Completed 200 OK in 17ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&array%5B%5D%5Bshort_url%5D=33e355c&array%5B%5D%5Bdomain%5D=housing.com” for 127.0.0.1 at 2019-01-28 13:02:37 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"33e355c", "domain"=>"housing.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 71ms (Views: 67.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 13:02:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 63ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:02:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 81ms (Views: 79.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:04:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 46ms (Views: 44.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 13:04:12 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 75ms (Views: 72.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 13:04:14 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JYZn3byWAnmtoraMQcm+7GJ48o8eIY+x482FLifyENKhBflydRU8MRH59wJpHsBmr9kn2YXKjZroNTRgvZDEHg==", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:20
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:25

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 13:04:14 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 13:04:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 80ms (Views: 76.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:04:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 67ms (Views: 65.9ms | ActiveRecord: 0.0ms)

Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 13:05:34 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (10.2ms)

Completed 200 OK in 85ms (Views: 64.1ms | ActiveRecord: 5.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:05:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 69ms (Views: 67.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 13:05:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.7ms)

Completed 200 OK in 90ms (Views: 88.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:05:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 73ms (Views: 70.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 13:44:21 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:44:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 54ms (Views: 53.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 13:44:22 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.5ms)

Completed 200 OK in 67ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 13:44:24 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"d+aqdUTHxfciT0hiapUbMf4Y7z5ZcmPrcC9BQnOj1Izyee+Fdc142U8BehrKeg5IMeAV4FZk/Yt2+NDjiTQF4Q==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 6ms (ActiveRecord: 3.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:44:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:47:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 13:49:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 60.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 13:50:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 13:50:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 52ms (Views: 49.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 13:53:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 13:53:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 58ms (Views: 54.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 13:53:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 71ms (Views: 68.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:12:38 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 14:12:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 45ms (Views: 43.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 14:12:39 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.3ms)

Completed 200 OK in 72ms (Views: 70.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 14:12:40 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"VnU2nrGTBY+g+Ojo1SVbUsF0KdhrfU2IRdVdCy2I1qLT6nNugJm4oc222pB1yk4rDozTBmRr0+hDAsyq1x8Hzw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 14:12:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 54ms (Views: 52.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 14:19:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 56ms (Views: 54.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:19:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 113ms (Views: 110.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:19:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 87ms (Views: 84.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:20:03 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 55ms (Views: 53.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:20:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.6ms)

Completed 200 OK in 66ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:25:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 39ms (Views: 38.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:26:01 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QhRwFe4kvnrbKx+ythsFOC7wRoQv0bG4SX33xGcdqFwmGoBuYLeoOF3zFAqzxq8xcvhkO0K4ru22bgsTr3DpDg==", "q"=>"rails", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:20

Redirected to localhost:3000/search Completed 200 OK in 12ms (ActiveRecord: 3.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:26:02 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 67ms (Views: 65.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:29:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.4ms)

Completed 200 OK in 47ms (Views: 46.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:30:02 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kZF1oH1vYlZuAEpsLIYCbfoyZL6aM5LH8PA3nqnwM+v1n4Xb8/x0FOjYQdQpW6hkpjpGAfdajZIP48tJYZ1yuQ==", "q"=>"stackoverflow", "commit"=>"Search"}

Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.9ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“urls”,“index_uuid”:“na”,“index”:“urls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“urls”,“index_uuid”:“na”,“index”:“urls”},“status”:404}):

app/controllers/elastic_search_controller.rb:23:in `first' app/controllers/elastic_search_controller.rb:23:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-28 14:32:02 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (14.6ms)

Completed 200 OK in 61ms (Views: 58.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:32:09 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PXG8cPOCZaXBRxm4BZWfUhLLamInOaDrxmbAgI8BsDRZf0wLfRFz50efEgAASDVbTsNI3UpQv745dTxXR2zxZg==", "mode"=>"short_url", "q"=>"", "commit"=>"Search"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“urls”,“index_uuid”:“na”,“index”:“urls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“urls”,“index_uuid”:“na”,“index”:“urls”},“status”:404}):

app/controllers/elastic_search_controller.rb:23:in `first' app/controllers/elastic_search_controller.rb:23:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:32:11 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PXG8cPOCZaXBRxm4BZWfUhLLamInOaDrxmbAgI8BsDRZf0wLfRFz50efEgAASDVbTsNI3UpQv745dTxXR2zxZg==", "mode"=>"short_url", "q"=>"sd", "commit"=>"Search"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::NotFound ([404] {“error”:{“root_cause”:[{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“urls”,“index_uuid”:“na”,“index”:“urls”}],“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_or_alias”,“resource.id”:“urls”,“index_uuid”:“na”,“index”:“urls”},“status”:404}):

app/controllers/elastic_search_controller.rb:23:in `first' app/controllers/elastic_search_controller.rb:23:in `retrieve'

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:44:17 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 14:44:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 37ms (Views: 35.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 14:44:19 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 79ms (Views: 77.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 14:44:20 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ytuvho8/+0U0LwA/K46zFjn6pjAIyO75YF+/H4BJPRPnROp2vjVGa1lhMkeLYaZv9gJc7gfecJlmiC6+et7sfg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 6.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 14:44:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 79ms (Views: 76.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:44:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 82ms (Views: 79.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:44:26 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kcqwVy9TXqNjHpuWHugXVvHGow73ajcjSG7uD3VuCT8VSS745tBg699F2hg2P2ncPGd2WGyBNQhDll9B7wzd8w==", "mode"=>"long_url", "q"=>"stack", "commit"=>"Search"}

Completed 500 Internal Server Error in 13ms (ActiveRecord: 1.1ms)

NoMethodError (undefined method `as_indexed_json' for #<Elasticsearch::Model::Response::Result:0x00007fcd49ba16c0>):

app/controllers/elastic_search_controller.rb:40:in `block in retrieve' app/controllers/elastic_search_controller.rb:39:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-28 14:44:49 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 69ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:44:53 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"A4ijZi0wXs4OicfVPVnbObxizyhfcVixzIJHxc9Y/XFnhlMdo6NIjIhRzG04hHEw4GrtlzIYR+QzkbsSBzW8Iw==", "mode"=>"long_url", "q"=>"stack", "commit"=>"Search"}
Url Load (1.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 317], ["id", 318], ["id", 319], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:34
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 317], ["id", 318], ["id", 319], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:39

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 39ms (ActiveRecord: 5.8ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-28 14:44:53 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.7ms)

Completed 200 OK in 136ms (Views: 131.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:44:59 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 94ms (Views: 91.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:45:15 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9xFvUNkmBp3oxx5ITIzIkd8pm7i2/o64KFFjjhb6/oVzkvH/EKU41VScX8ZkW7YbEohO7i0VjJMjqdLAjJgqSQ==", "mode"=>"short_url", "q"=>"39b", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 6ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:45:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 80ms (Views: 77.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:45:21 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"73My30FZKWnWufmmaOqtlExMsXf8LKKV32sSsBL8ThFr8KxwiNoXIWriuChAPdMege1kIWfHoL7Uk6P+iJ6a3Q==", "mode"=>"short_url", "q"=>"39b", "commit"=>"Search"}
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 6ms (ActiveRecord: 0.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:45:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 66ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:45:25 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 57ms (Views: 54.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:45:28 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vfchzyA/dptjFV5kn9QJ0GT33LoJIaJOE7uLsmYEWivZ+dG0rqxg2eXNVdyaCaPZOP/+BWRIvRvsqHdlrmkbeQ==", "mode"=>"long_url", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:45:28 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 72ms (Views: 43.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:45:32 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ea+LWc9laMOJCVCxIjaiUM/dgNWjbYAsmRhA92xr38/9LBX2BuZWizVSET8K4dzaAnxVgziGggeS4PG59gkLAw==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 6ms (ActiveRecord: 0.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:45:32 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.4ms)

Completed 200 OK in 64ms (Views: 62.6ms | ActiveRecord: 0.0ms)

Url Load (1.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:48:40 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (6.7ms)

Completed 200 OK in 293ms (Views: 287.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:48:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ocWBYBo0EwIPk2ZpGO6HjYm3TWbz+Z1OppKY66YGrojFy3EblKcFQIlLbdEdMy2E1b9v2Z6QghtZgWQ8bmvv2g==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 64ms (ActiveRecord: 5.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:48:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 65ms (Views: 63.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:49:41 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 97ms (Views: 95.1ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (1.0ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]
Url Load (1.0ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:59:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 74ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:59:21 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uLzNPSOEBov7fkNTjsDJ/qKeMG8IN7G0K7iIBncWAuPcsj1GrRcQyX2mSOuLHWP3/pYS0GVeruHUq3TRv3tDsQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.8ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 17ms (ActiveRecord: 6.8ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:59:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 64ms (Views: 62.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:59:27 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+M6rC/MlVrMCFCOZGJ03Tc+vRxoYG25id/jmD7zNiyt8TTWkOqZo+75PYhcwSknHAg6STIPwbEl8AFdBJq9f5w==", "mode"=>"long_url", "q"=>"stack", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 317], ["id", 318], ["id", 319], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:34
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 317], ["id", 318], ["id", 319], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:39

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 15ms (ActiveRecord: 0.6ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-28 14:59:28 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 73ms (Views: 70.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:59:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 67ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:59:37 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WuEoCkBTlUXAgG56kTnoQjB7a5dLSH7vpg7XGKbf8hfeYralidCrDXzbL/S57pbI/dq+wdCjfMSt9mZWPL0m2w==", "mode"=>"long_url", "q"=>"google.com", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 6ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:59:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 65ms (Views: 63.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:59:39 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gRSu1xJOKOWnWNC7EDrHeE7QrvDeJBF4xcqH9Tg7xSkFlzB4280WrRsDkTU47bnyg3F7pkXPE1POMja7olkR5Q==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:59:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.8ms)

Completed 200 OK in 59ms (Views: 57.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:59:43 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"X34oRS1WolAeKlxPd1PYk4OPDqwvTXU7u8v92gerWDLb/bbq5NWcGKJxHcFfhKYZTi7b+rSmdxCwM0yUncmM/g==", "mode"=>"long_url", "q"=>"stack", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 317], ["id", 318], ["id", 319], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:34
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 317], ["id", 318], ["id", 319], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:39

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 10ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-28 14:59:43 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 74ms (Views: 73.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:59:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 72ms (Views: 70.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:59:54 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.2ms)

Completed 200 OK in 296ms (Views: 290.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 14:59:56 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KboNsmRXqKPP6118VULkouUc4qOVBNUKkNUchfvS7hZNtP3J6sS+4UkzVsRQn06ruRTAHPhtyl9vxuBSM7+vRA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 18ms (ActiveRecord: 4.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 14:59:56 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.1ms)

Completed 200 OK in 79ms (Views: 70.8ms | ActiveRecord: 0.0ms)

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9)  [["id", 315], ["id", 316], ["id", 313], ["id", 314], ["id", 318], ["id", 319], ["id", 320], ["id", 317], ["id", 323]]

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:01:25 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 97ms (Views: 94.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:01:28 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"43fSYBXNieh72EvFcyaYpqar5KWe1ubaCDe4Mn1rpbqHeSIbm16fqv0AQH12+zKv+qPGGvO/+Y/3JETltQbk6A==", "mode"=>"long_url", "q"=>"sta", "commit"=>"Search"}
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:35

Redirected to localhost:3000/search Completed 200 OK in 16ms (ActiveRecord: 4.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:01:28 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 59ms (Views: 57.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:01:43 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.9ms)

Completed 200 OK in 239ms (Views: 233.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:01:47 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+nZP9h4DRKhsYwVHzizYML41UUr/4ywf9XvTtYsFvK6eeL+NkJBS6uq7Dv/L8XI54j1z9ZKKM0oKaC9iQ2j9/A==", "mode"=>"long_url", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:35

Redirected to localhost:3000/search Completed 200 OK in 20ms (ActiveRecord: 4.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:01:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 82ms (Views: 80.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:01:51 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qWSVWUa/uUkhhtwqt+XDx/HySyulPmQSvAsNPG7Abm0t5wv2jzyHAZ3dnaSfMr1NPFOefT7VZjm387xy9KK6oQ==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:35

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:01:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (8.2ms)

Completed 200 OK in 120ms (Views: 116.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:02:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 40ms (Views: 39.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:02:35 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPbN7/iWtcpbDqbRw8uRpBes+VKBqxaHxdaFF5c9xmnU+D2UdgWjiN3WrWnGFjutS6Tb7ezCCdI6xXnAX1CHOw==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Completed 500 Internal Server Error in 13ms (ActiveRecord: 3.1ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:53}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:53},“status”:400}):

app/controllers/elastic_search_controller.rb:34:in `first' app/controllers/elastic_search_controller.rb:34:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:03:42 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPbN7/iWtcpbDqbRw8uRpBes+VKBqxaHxdaFF5c9xmnU+D2UdgWjiN3WrWnGFjutS6Tb7ezCCdI6xXnAX1CHOw==", "mode"=>"long_url", "q"=>"stac", "commit"=>"Search"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:44}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:44},“status”:400}):

app/controllers/elastic_search_controller.rb:34:in `first' app/controllers/elastic_search_controller.rb:34:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:03:42 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPbN7/iWtcpbDqbRw8uRpBes+VKBqxaHxdaFF5c9xmnU+D2UdgWjiN3WrWnGFjutS6Tb7ezCCdI6xXnAX1CHOw==", "mode"=>"long_url", "q"=>"stac", "commit"=>"Search"}

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:44}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:44},“status”:400}):

app/controllers/elastic_search_controller.rb:34:in `first' app/controllers/elastic_search_controller.rb:34:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:03:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPbN7/iWtcpbDqbRw8uRpBes+VKBqxaHxdaFF5c9xmnU+D2UdgWjiN3WrWnGFjutS6Tb7ezCCdI6xXnAX1CHOw==", "mode"=>"long_url", "q"=>"stac", "commit"=>"Search"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:44}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:44},“status”:400}):

app/controllers/elastic_search_controller.rb:34:in `first' app/controllers/elastic_search_controller.rb:34:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:03:45 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPbN7/iWtcpbDqbRw8uRpBes+VKBqxaHxdaFF5c9xmnU+D2UdgWjiN3WrWnGFjutS6Tb7ezCCdI6xXnAX1CHOw==", "mode"=>"long_url", "q"=>"stac", "commit"=>"Search"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

Elasticsearch::Transport::Transport::Errors::BadRequest ([400] {“error”:{“root_cause”:[{“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:44}],“type”:“parsing_exception”,“reason”:“ query doesn't support multiple fields, found [query] and [fields]”,“line”:1,“col”:44},“status”:400}):

app/controllers/elastic_search_controller.rb:34:in `first' app/controllers/elastic_search_controller.rb:34:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:03:54 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sPbN7/iWtcpbDqbRw8uRpBes+VKBqxaHxdaFF5c9xmnU+D2UdgWjiN3WrWnGFjutS6Tb7ezCCdI6xXnAX1CHOw==", "mode"=>"long_url", "q"=>"stac", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:34

Redirected to localhost:3000/search Completed 200 OK in 16ms (ActiveRecord: 4.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:03:54 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.4ms)

Completed 200 OK in 56ms (Views: 54.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:03:59 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Kp97/S8uRHQozaMzuuOBa8Rd0d+m7VAG5cvzxOiVHwmuHOVS5q16PJSW4r2SNP/hCfwEiT0GUi3uM0KKcvfLxQ==", "mode"=>"long_url", "q"=>"stack", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 317], ["id", 318], ["id", 319], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:34
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 317], ["id", 318], ["id", 319], ["id", 320]]
↳ app/controllers/elastic_search_controller.rb:39

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 14ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-28 15:03:59 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.0ms)

Completed 200 OK in 92ms (Views: 90.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:04:03 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 78ms (Views: 76.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:04:31 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:04:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 246ms (Views: 244.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 15:04:32 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (6.1ms)

Completed 200 OK in 92ms (Views: 89.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 15:04:34 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gMS69ImEf+iiu1LBF7itfyOxzp0Kowzz4QHkd806td4FW/8EuI7Cxs/1YLm3V7gG7Ek0QwW1kpPn1nXWN61ksw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 23ms (ActiveRecord: 4.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:04:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 107ms (Views: 104.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 15:04:42 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (19.7ms)

Completed 200 OK in 79ms (Views: 58.3ms | ActiveRecord: 13.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:04:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 94ms (Views: 90.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:04:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 69ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:04:49 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MJMbaxCcYQ19vg1+mOwcRwc9AjPJvuC4ZZQf+3bVaIG0EIXE2R9fRcHlTPCwO2LNypzXZVJV4pNubK617Le8TQ==", "mode"=>"long_url", "q"=>"stac", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:36

Redirected to localhost:3000/search Completed 200 OK in 18ms (ActiveRecord: 2.8ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:04:49 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 80ms (Views: 78.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:05:50 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 61ms (Views: 58.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:05:53 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aoc1wjuG/wVltblnQbVPbFFvkQMI+8PAI4ou8FZ+BAgOicW5tRXpR+Ntst9EaOVlDWezvGWS3JXcmdInnhNFWg==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:36

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:05:53 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (9.2ms)

Completed 200 OK in 88ms (Views: 86.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:06:10 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JZ9S/S9yVAdjtmRIoayuRA1QdICPdfM607X24caNdyahHMxS5vFqT9/tJcaJe9DOwPGh1hSe8RHYTUevXO+j6g==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `pry' for #<Binding:0x00007f86425547e8> Did you mean? try):

app/controllers/elastic_search_controller.rb:24:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:06:12 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JZ9S/S9yVAdjtmRIoayuRA1QdICPdfM607X24caNdyahHMxS5vFqT9/tJcaJe9DOwPGh1hSe8RHYTUevXO+j6g==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `pry' for #<Binding:0x00007f8643ea6430> Did you mean? try):

app/controllers/elastic_search_controller.rb:24:in `retrieve'

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:19:29 +0530

 (6.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:32: syntax error, unexpected ':', expecting => … @mode : “sta” … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:33: syntax error, unexpected '}', expecting end

}
^):

app/controllers/elastic_search_controller.rb:32: syntax error, unexpected ':', expecting => app/controllers/elastic_search_controller.rb:33: syntax error, unexpected '}', expecting end Started GET “/search” for 127.0.0.1 at 2019-01-28 15:20:14 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:32: syntax error, unexpected ':', expecting => … @mode:“sta” … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:33: syntax error, unexpected '}', expecting end

}
^):

app/controllers/elastic_search_controller.rb:32: syntax error, unexpected ':', expecting => app/controllers/elastic_search_controller.rb:33: syntax error, unexpected '}', expecting end

Url Load (0.8ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:22:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.3ms)

Completed 200 OK in 286ms (Views: 283.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:22:48 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3MSyooFbOSQHxlNELeat7CoYoYieaxJzPQ6ElSWixqu4ykLZD8gvZoEeWPwoOwfldhCDN/MCDSbCHXhC7c+H+Q==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:39

Completed 500 Internal Server Error in 66ms (ActiveRecord: 4.2ms)

NoMethodError (undefined method `first' for #<Url:0x00007fc9da8173a0>):

app/controllers/elastic_search_controller.rb:41:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:23:07 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3MSyooFbOSQHxlNELeat7CoYoYieaxJzPQ6ElSWixqu4ykLZD8gvZoEeWPwoOwfldhCDN/MCDSbCHXhC7c+H+Q==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 35ms (ActiveRecord: 3.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-28 15:23:07 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 91ms (Views: 87.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:23:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (8.2ms)

Completed 200 OK in 103ms (Views: 99.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:23:12 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TTRutZzYU9P1G4jNjmonqZsUQDCp1/6DdkwZUvj4hjrJt/AaVVttm0lAyUOmvVkjVrWVZjI8/Kh9tKgcYppS9g==", "mode"=>"long_url", "q"=>"sta", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 12ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-28 15:23:12 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 68ms (Views: 66.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:23:13 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 87ms (Views: 85.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:23:16 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mQ10L7l5KpesD6scUuGv7J37OOr+HOPQMyuitVcdCnYdjuqAcPoU3xBU6pJ6NtFmUFrtvGX34fs40xP7zX/eug==", "mode"=>"short_url", "q"=>"sta", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:41

Redirected to localhost:3000/search Completed 200 OK in 6ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:23:16 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.8ms)

Completed 200 OK in 77ms (Views: 75.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:23:28 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KbimyZ20IHmoNvmdCMSI+mNZRiBPCCcm1sPIutA5NcKtOzhmVDceMRRtuBMgE/ZwrviTdtTjJQ3dO3n0SlvhDg==", "mode"=>"short_url", "q"=>"39b", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:41

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:23:29 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 60ms (Views: 59.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:23:34 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G3XJ9wY0Va0TZCy318L+RQcFsK+RSaDshc78LvGsotif9ldYz7dr5a8/bTn/FYDPyqRl+QqioseONk1ga852FA==", "mode"=>"short_url", "q"=>"39b", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:41

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:23:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 90ms (Views: 89.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:25:03 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:42: syntax error, unexpected tCONSTANT, expecting '}'

flash[:error] = "Not found anything"
                 ^~~

/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:50: syntax error, unexpected tIDENTIFIER, expecting end

@hash["array"] = @arr
       ^~~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:65: unterminated string meets end of file /Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:65: syntax error, unexpected end-of-input, expecting end):

app/controllers/elastic_search_controller.rb:42: syntax error, unexpected tCONSTANT, expecting '}' app/controllers/elastic_search_controller.rb:50: syntax error, unexpected tIDENTIFIER, expecting end app/controllers/elastic_search_controller.rb:65: unterminated string meets end of file app/controllers/elastic_search_controller.rb:65: syntax error, unexpected end-of-input, expecting end Started GET “/search” for 127.0.0.1 at 2019-01-28 15:25:12 +0530 Processing by ElasticSearchController#search as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:25:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 43ms (Views: 41.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 15:25:14 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.0ms)

Completed 200 OK in 75ms (Views: 70.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 15:25:15 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"d3FYx6I1Z2n3Ii+Fe+hM+scn8atJwSHSp7uSDeyZBi/y7h03kz/aR5psHf3bB1mDCN8LdUbXv7KhbAOsFg7XQg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 3.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:25:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 89ms (Views: 86.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:25:16 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 67ms (Views: 65.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:25:18 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PbnB73yhpUIqxm6zIBix44n6a/dbbXJQ5qqKIsDt5uW5Ol9AtSKbCpadLz0Iz89pRFu+ocCGcHvtUjtsWo8yKQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:41

Redirected to localhost:3000/search Completed 200 OK in 14ms (ActiveRecord: 3.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:25:18 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 70ms (Views: 67.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:25:24 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"VvubQkn/QNA9BRJjMSJKe5NZPxhE/BrB+MpdwMgYHhDSeAXtgHx+mIFeU+0Z9TTxXvjqTt8XGOrzMuyOUnrK3A==", "mode"=>"long_url", "q"=>"stack", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 14ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-28 15:25:24 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.8ms)

Completed 200 OK in 72ms (Views: 70.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:25:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 72ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:25:30 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jac29EffpdsjOQikKxMtstDFm9HrWd8zMXSftt3K+1cJJKhbjlybk59iSSoDxFM4HWROh3Cy3Rg6jC74R6gvmw==", "mode"=>"long_url", "q"=>"sta", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-28 15:25:30 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 73ms (Views: 71.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:25:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.9ms)

Completed 200 OK in 70ms (Views: 68.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:25:35 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4NCMixDYLgK/20ZYH96zrr/dI1rL2jVt1lRWR1RPib1kUxIk2VsQSgOAB9Y3Cc0kcnz2DFAxN0bdrOcJzi1dcQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:41

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:25:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 88ms (Views: 87.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:25:49 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Vh77Op5B/MqnUNxWRES8gJ+MU6JU3ZuVWhgucSY1ejjSnWWVV8LCghsLndhsk8IKUi2G9M82mb5R4J8/vFeu9A==", "mode"=>"long_url", "q"=>"stackoverfl", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:41

Redirected to localhost:3000/search Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:25:49 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.1ms)

Completed 200 OK in 63ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:26:03 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pCPnmOs623X8Z96JpoPN4gVBd5Ye8pe1iM2RRPzUGmggoHk3IrnlPUA8nweOVLNoyOCiwIUZlZ6DNSAKZrbOpA==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 15:26:03 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 82ms (Views: 78.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:26:05 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 74ms (Views: 70.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:26:09 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"koTOtLYsU5Y1mQZQqYMYwC3PiFO0KygmdOYI1wQVDLkWB1Abf69t3onCR96BVGZK4G5dBS/AKg1/HrmZnnfYdQ==", "mode"=>"long_url", "q"=>"stac", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 313], ["id", 314], ["id", 316], ["id", 317]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 10ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-28 15:26:09 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:26:14 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 85ms (Views: 82.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:26:17 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+C9Lr2RkjIxo5BGGcmZ6fkG/8Aw0b0m9p+1ys359max8rNUAreeyxNS/UAhasQT0jB4lWq+ES5asFcP95B9NYA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:41

Redirected to localhost:3000/search Completed 200 OK in 6ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:26:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 60ms (Views: 58.3ms | ActiveRecord: 0.0ms)

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1000]]

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:30:09 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 300ms (Views: 291.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:30:11 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/LkvPmxjWMWo5hYXT912AHyFWkvZmwkGoNRTJrc70xKYt99F4vBOhy4+Ha9KANwJII149LTyFlNfx6/xf1aSQA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 26ms (ActiveRecord: 4.1ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-28 15:30:11 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 113ms (Views: 111.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:30:13 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 74ms (Views: 70.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:30:18 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"76SDQ+6uk5hU46S7myqSJ3s1591xj3jfFj1esPf5AEVrJx3sJy2t0Oi45TWz/eyttpQyi+pkevQdxe/+bZvUiQ==", "mode"=>"short_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:41

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:30:18 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 63ms (Views: 61.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:30:22 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YcQncV9mmy12xBizuCP7MouLQQo+iqhxaSVodrdBSCjlR7neluWlZcqfWT2Q9IW4RiqUXKVhqlpi3dk4LSOc5A==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 10ms (ActiveRecord: 0.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 15:30:22 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 78ms (Views: 77.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:30:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 71ms (Views: 69.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:31:18 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 279ms (Views: 273.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:31:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (6.1ms)

Completed 200 OK in 103ms (Views: 101.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:31:23 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mGigj3z2w2DK/qQnK8GPaG0P2RzlLMRCnH+VHgzQCXUc6z4gtXX9KHal5akDFvHioK4MSn7HxmmXhyRQlrLduQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 29ms (ActiveRecord: 4.9ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-28 15:31:23 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 79ms (Views: 76.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:31:23 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 79ms (Views: 77.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:31:26 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y9HEXWhRLdmFAT6J+ekRtdXe6rKOlvScq8B7GKgb8ZvnUlryodITkTlafwfRPm8/GH8/5BV99regOMpWMnklVw==", "mode"=>"long_url", "q"=>"stac", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 314], ["id", 316], ["id", 317], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 314], ["id", 316], ["id", 317], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-28 15:31:26 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 89ms (Views: 87.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:31:27 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 86ms (Views: 84.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:31:30 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mdBC5VrKgmohwhGMKRnVqyCP4L1DuouvpY+l3i8mROUdU9xKk0m8Ip2ZUAIBzqsh7S4169hRiYSudxSQtUSQKQ==", "mode"=>"long_url", "q"=>"sta", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 314], ["id", 316], ["id", 317], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 314], ["id", 316], ["id", 317], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 12ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-28 15:31:30 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 65ms (Views: 63.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:31:32 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.1ms)

Completed 200 OK in 82ms (Views: 78.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:31:34 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"H2fkmfaqsd/4+4N4sxN1WiS7yH4ZDh4S4hA5BITwA1Kb5Ho2PymPl0SgwvabxAvQ6RodKILlHDnp6IhKHpLXng==", "mode"=>"long_url", "q"=>"st", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:41

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:31:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.6ms)

Completed 200 OK in 65ms (Views: 63.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:31:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 75ms (Views: 72.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 15:31:41 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:31:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 15:32:54 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.9ms)

Completed 200 OK in 40ms (Views: 39.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 15:32:55 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Mk0LJ5OoA1s2og3zCOH3cmVVrOc6fzRZ4zns8D/G4Mm30k7XoqK+dVvsP4uoDuILqq1WOTVpqjnl7n1RxVExpA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 4.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:32:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 56ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 15:32:58 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (4.5ms)

Completed 200 OK in 67ms (Views: 65.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 15:33:00 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zbvp1cB26DxOI5Ds+MkuRatGtbPGaibnQDHo9oykutgYhvGG8ks3JLA5RxpsS0AeoHg6EqrdUmEtXjJH2gu4Sg==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:110
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 30ms (ActiveRecord: 7.3ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-28 15:33:01 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.9ms)

Completed 200 OK in 66ms (Views: 64.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 15:33:02 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.4ms)

Completed 200 OK in 85ms (Views: 82.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 15:33:05 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ka6JSunMAD0wV/MQkm88nfznXQ44OuVvpEvJI5BReI5Ek5EZ2/HfJc5NJOYG7VLG99nSr1SNkenJJBOSxv56HA==", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-28 15:33:05 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 15:33:07 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.3ms)

Completed 200 OK in 68ms (Views: 64.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:33:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 76ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 15:33:09 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.9ms)

Completed 200 OK in 67ms (Views: 64.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:33:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 61.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 15:33:11 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.4ms)

Completed 200 OK in 74ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 15:33:24 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3EYGahh2M2jgnUIXECg1pEEh9JWduhMDqWQpdhiFDvPTUGvLGjfLq3MZA0yWK4bSb57TvBteZvSmpKepfygfbw==", "long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8"], ["domain", "google"]]
↳ app/models/url.rb:60
 (12.5ms)  COMMIT
↳ app/models/url.rb:60
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e8097f5"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8"], ["id", 332], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e8097f5"], ["id", 332]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.go.co%2Fe8097f5 Completed 200 OK in 63ms (ActiveRecord: 15.2ms)

Started GET “/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.go.co%2Fe8097f5” for 127.0.0.1 at 2019-01-28 15:33:24 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google", "long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"www.go.co/e8097f5"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 61ms (Views: 60.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 15:33:31 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.2ms)

Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 15:33:37 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sxZC6RY0akVLfhIw5Plsxj6UIGZDfdeUl+GupD1fZIS8AC9IFHWShtj6U2ti+t+wECsHT8WZomOYISB7WvJ1GA==", "long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/models/url.rb:82
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.go.co%2Fe8097f5 Completed 200 OK in 12ms (ActiveRecord: 1.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.go.co%2Fe8097f5” for 127.0.0.1 at 2019-01-28 15:33:37 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"google", "long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"www.go.co/e8097f5"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 74ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 15:33:40 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 68ms (Views: 65.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:33:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 54ms (Views: 51.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:33:43 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.3ms)

Completed 200 OK in 40ms (Views: 38.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:33:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OSpZp9+Qfsm14NnGgetLXBSVuwYfJJA7BK6TjGQ+ktO9qccIFhNAgQm7mEipPDXW2TRuUITPkhAPViLC/lxGHw==", "mode"=>"long_url", "q"=>"rails", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 8ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 15:33:46 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"e9147c5", "domain"=>"housing.com"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:33:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 65ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:35:40 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nCk1HTGMYi0NIbmRZKu2dEwjsiJBY1/r03kd48CjnJEYqquy+A9cZbF6+B9MfMj+gYJndNqIXcDYgaytWsFIXQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-28 15:35:40 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 55ms (Views: 53.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:35:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 69ms (Views: 65.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:36:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 102ms (Views: 100.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 15:36:07 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.1ms)

Completed 200 OK in 64ms (Views: 61.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 15:36:10 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y1pyodemQQaaJaFDQ7g2Oru/FYixcl4jRKsY5XlrEexsTB8A1ee5xQmh4BjFu4VMlQAyoTeWK9RLa5Y6HsYAcA==", "long_url"=>"https://www.google.com/search?q=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&oq=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&aqs=chrome..69i57.6086j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&oq=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&aqs=chrome..69i57.6086j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com/search?q=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&oq=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&aqs=chrome..69i57.6086j0j7&sourceid=chrome&ie=UTF-8"], ["domain", "housing.com"]]
↳ app/models/url.rb:60
 (6.2ms)  COMMIT
↳ app/models/url.rb:60
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6a3c338"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com/search?q=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&oq=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&aqs=chrome..69i57.6086j0j7&sourceid=chrome&ie=UTF-8"], ["id", 333], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "6a3c338"], ["id", 333]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26oq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26aqs%3Dchrome..69i57.6086j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.hoco%2F6a3c338 Completed 200 OK in 33ms (ActiveRecord: 8.4ms)

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26oq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26aqs%3Dchrome..69i57.6086j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.hoco%2F6a3c338” for 127.0.0.1 at 2019-01-28 15:36:10 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"https://www.google.com/search?q=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&oq=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&aqs=chrome..69i57.6086j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"www.hoco/6a3c338"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 75ms (Views: 73.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 15:36:13 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 74ms (Views: 72.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:36:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 63ms (Views: 58.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:36:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.4ms)

Completed 200 OK in 70ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:36:20 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vqeQC5tN8vskfxAIZusxE+Ul+IrqAIABfM2p4ozofv06JA6kUs7Ms5gkUYZOPE+ZKIQt3HHrgip3NRisFoqqMQ==", "mode"=>"long_url", "q"=>"google", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 332], ["id", 326], ["id", 333]]
↳ app/controllers/elastic_search_controller.rb:41
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 332], ["id", 326], ["id", 333]]
↳ app/controllers/elastic_search_controller.rb:46

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26oq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26aqs%3Dchrome..69i57.6086j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=6a3c338&array%5B%5D%5Bdomain%5D=housing.com Completed 200 OK in 17ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26oq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26aqs%3Dchrome..69i57.6086j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=6a3c338&array%5B%5D%5Bdomain%5D=housing.com” for 127.0.0.1 at 2019-01-28 15:36:20 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"2babcc3", "domain"=>"google.com"}, {"long_url"=>"https://www.google.com/search?q=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&oq=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&aqs=chrome..69i57.6086j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"6a3c338", "domain"=>"housing.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.9ms)

Completed 200 OK in 64ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:36:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 69ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 15:36:44 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:36:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 76ms (Views: 73.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 15:37:33 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.4ms)

Completed 200 OK in 326ms (Views: 321.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 15:37:35 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Hty5e48i5SXHiUBhA5/xxwpt7U5wkzRfnebMiFJfIX160kkAAbHzZ0FRS9kGQlvOVmXP8R36Kwpi9TBfmjJgLw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 17ms (ActiveRecord: 6.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:37:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 107ms (Views: 103.4ms | ActiveRecord: 0.0ms)

Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/” for 127.0.0.1 at 2019-01-28 15:53:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 52ms (Views: 50.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 15:53:40 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:53:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 50ms (Views: 48.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 15:54:25 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 79ms (Views: 76.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 15:54:26 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"D0MupJOiTcX5VhjZIihgHj7gG4sjJk2Z1+m/vNbRL/CK3GtUoqjw65QYKqGCx3Vn8RjhVSww0/nRPi4dLEb+nQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 21ms (ActiveRecord: 5.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:54:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 60ms (Views: 57.5ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 15:54:32 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (16.2ms)

Completed 200 OK in 70ms (Views: 56.7ms | ActiveRecord: 8.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:54:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 83ms (Views: 81.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:54:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.1ms)

Completed 200 OK in 60ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 15:55:00 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zSuzohZ8riDfQk5+/b9dfxvKI706FwQkoEDD/8cX3HFJqC0N3/+QaGMZD/DVaCP11mv266H8Bg+ruHKxXXUIvQ==", "mode"=>"long_url", "q"=>"goo", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5)  [["id", 311], ["id", 312], ["id", 332], ["id", 326], ["id", 333]]
↳ app/controllers/elastic_search_controller.rb:39
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5)  [["id", 311], ["id", 312], ["id", 332], ["id", 326], ["id", 333]]
↳ app/controllers/elastic_search_controller.rb:44

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26oq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26aqs%3Dchrome..69i57.6086j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=6a3c338&array%5B%5D%5Bdomain%5D=housing.com Completed 200 OK in 32ms (ActiveRecord: 3.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26oq%3Dwww.hoco%252F1d0057f%2Bwww.hoco%252Fa10abc6%2Bwww.hoco%252Fe54de1d%2Bwww.hoco%252Fbd92c05%26aqs%3Dchrome..69i57j69i58.2504j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=2babcc3&array%5B%5D%5Bdomain%5D=google.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26oq%3Dsadsdnbakdnas%2Bldnknsa%2Bksjadsakdnsa%2Blskjdnsladnasbdln%2Blsakdnasdskal%253Bnad%2Blksadbsadk%2Bsjnla%26aqs%3Dchrome..69i57.6086j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=6a3c338&array%5B%5D%5Bdomain%5D=housing.com” for 127.0.0.1 at 2019-01-28 15:55:00 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://www.google.com/search?q=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&oq=www.hoco%2F1d0057f+www.hoco%2Fa10abc6+www.hoco%2Fe54de1d+www.hoco%2Fbd92c05&aqs=chrome..69i57j69i58.2504j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"2babcc3", "domain"=>"google.com"}, {"long_url"=>"https://www.google.com/search?q=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&oq=sadsdnbakdnas+ldnknsa+ksjadsakdnsa+lskjdnsladnasbdln+lsakdnasdskal%3Bnad+lksadbsadk+sjnla&aqs=chrome..69i57.6086j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"6a3c338", "domain"=>"housing.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 79ms (Views: 77.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:55:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.1ms)

Completed 200 OK in 67ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 15:59:52 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:59:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 84ms (Views: 81.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 15:59:55 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 15:59:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 53ms (Views: 51.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:00:49 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.9ms)

Completed 200 OK in 57ms (Views: 55.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:00:49 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SfnZ10+e9o5+Nuu4KO29us+AL++Z4caVIQDB8KDWPJXMZpwnfpRLoBN42cCIAqjDAHjVMZb3WPUn11BRWkHt+A==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:00:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 69ms (Views: 67.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:00:50 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 66ms (Views: 64.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:01:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (4.9ms)

Completed 200 OK in 74ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:02:14 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 82ms (Views: 79.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:02:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 67ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:03:11 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:03:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 45ms (Views: 42.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:03:12 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 80ms (Views: 79.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:03:13 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mVvzfoAf5qv88vCDOKUCKAgmm4g5s7EOKjhxLfO5qL4cxLaOsRVbhZG8wvuYShdRx95hVjalL24s7+CMCS550w==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:03:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 61ms (Views: 58.5ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-28 16:03:55 +0530 Processing by UrlsController#shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:82
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 36ms (Views: 0.2ms | ActiveRecord: 10.9ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:04:08 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:04:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 59ms (Views: 57.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:04:11 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.1ms)

Completed 200 OK in 67ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:04:12 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"deYmB7GQr5a6aZzxeT6BD82CBejrSZAchXZpJVjRvPrweWP3gJoSuNcnronZ0ZR2Anr/NuRfDnyDofiEokZtlw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 2.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:04:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 59ms (Views: 57.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:04:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.2ms)

Completed 200 OK in 82ms (Views: 51.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:05:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 60ms (Views: 59.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:06:03 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.3ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (8.2ms)

Completed 200 OK in 84ms (Views: 61.4ms | ActiveRecord: 3.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:06:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 69.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:07:02 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 53ms (Views: 51.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 16:07:09 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Tg3PyC0jXRgFtZNBAr4+e/bkTXB6PW5xjq0KmSPPMr3KjlFn5KBjULnu0s8qaUDxO0WYJuHWbFqFVbvXua3mcQ==", "mode"=>"long_url", "q"=>"rails", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 10ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 16:07:09 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"e9147c5", "domain"=>"housing.com"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (4.0ms)

Completed 200 OK in 73ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:08:02 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 72ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:09:37 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 78ms (Views: 75.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:10:27 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.0ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (2.8ms)

Completed 200 OK in 59ms (Views: 55.6ms | ActiveRecord: 1.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:10:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 57ms (Views: 55.5ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:15:25 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.8ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (6.5ms)

Completed 200 OK in 94ms (Views: 86.2ms | ActiveRecord: 3.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:15:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 66ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:15:27 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 66ms (Views: 64.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:15:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 78ms (Views: 76.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:15:39 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:15:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 46ms (Views: 43.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:15:40 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 79ms (Views: 76.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:15:41 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TcZHOrKhZ6ERD9kzzJsbIVs7AwJKYjqbt+5XWKvk1t/IWQLKg6vaj3xB60tsdA5YlMP53EV0pPuxOcb5UXMHsg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:15:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 72ms (Views: 66.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:16:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.4ms)

Completed 200 OK in 67ms (Views: 63.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:16:06 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gkH28VCG9/HY3gF77RIqdTUcDNblqilkNzx/ip4UdMqNV5tQUscPMktaQCBrEZkDG6Mr/2NOXJM4/PFV+bllVg==", "long_url"=>"<table class=\"table table-bordered\">     <thead>    <tr>     <th>Long Url</th>     <th>Short Url</th>      <th>Domain</th>     </tr> </thead>   <% @urls.each do |t| %> <thread>   <tr>     <td><%=t[:long_url]%></td>     <td><%=t[:short_url]%></td>      <td><%=t[:domain]%></td>     </tr>   <%end%> </thread>    </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "<table class=\"table table-bordered\">     <thead>    <tr>     <th>Long Url</th>     <th>Short Url</th>      <th>Domain</th>     </tr> </thead>   <% @urls.each do |t| %> <thread>   <tr>     <td><%=t[:long_url]%></td>     <td><%=t[:short_url]%></td>      <td><%=t[:domain]%></td>     </tr>   <%end%> </thread>    </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "<table class=\"table table-bordered\">     <thead>    <tr>     <th>Long Url</th>     <th>Short Url</th>      <th>Domain</th>     </tr> </thead>   <% @urls.each do |t| %> <thread>   <tr>     <td><%=t[:long_url]%></td>     <td><%=t[:short_url]%></td>      <td><%=t[:domain]%></td>     </tr>   <%end%> </thread>    </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>"], ["domain", "housing.com"]]
↳ app/models/url.rb:60
 (12.6ms)  COMMIT
↳ app/models/url.rb:60
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f8d479f"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "<table class=\"table table-bordered\">     <thead>    <tr>     <th>Long Url</th>     <th>Short Url</th>      <th>Domain</th>     </tr> </thead>   <% @urls.each do |t| %> <thread>   <tr>     <td><%=t[:long_url]%></td>     <td><%=t[:short_url]%></td>      <td><%=t[:domain]%></td>     </tr>   <%end%> </thread>    </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>"], ["id", 334], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "f8d479f"], ["id", 334]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=%3Ctable+class%3D%22table+table-bordered%22%3E+++++%3Cthead%3E++++%3Ctr%3E+++++%3Cth%3ELong+Url%3C%2Fth%3E+++++%3Cth%3EShort+Url%3C%2Fth%3E++++++%3Cth%3EDomain%3C%2Fth%3E+++++%3C%2Ftr%3E+%3C%2Fthead%3E+++%3C%25+%40urls.each+do+%7Ct%7C+%25%3E+%3Cthread%3E+++%3Ctr%3E+++++%3Ctd%3E%3C%25%3Dt%5B%3Along_url%5D%25%3E%3C%2Ftd%3E+++++%3Ctd%3E%3C%25%3Dt%5B%3Ashort_url%5D%25%3E%3C%2Ftd%3E++++++%3Ctd%3E%3C%25%3Dt%5B%3Adomain%5D%25%3E%3C%2Ftd%3E+++++%3C%2Ftr%3E+++%3C%25end%25%3E+%3C%2Fthread%3E++++%3C%2Ftable%3E++%3Ccenter%3E%3C%25%3D+link_to+%22Back%22%2C%3Aback+%25%3E%3C%2Fcenter%3E++%3Ccenter%3E%3C%25%3D+link_to+%22Home%22%2Chome_index_path%25%3E%3C%2Fcenter%3E&short_url=www.hoco%2Ff8d479f Completed 200 OK in 67ms (ActiveRecord: 15.4ms)

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=%3Ctable+class%3D%22table+table-bordered%22%3E+++++%3Cthead%3E++++%3Ctr%3E+++++%3Cth%3ELong+Url%3C%2Fth%3E+++++%3Cth%3EShort+Url%3C%2Fth%3E++++++%3Cth%3EDomain%3C%2Fth%3E+++++%3C%2Ftr%3E+%3C%2Fthead%3E+++%3C%25+%40urls.each+do+%7Ct%7C+%25%3E+%3Cthread%3E+++%3Ctr%3E+++++%3Ctd%3E%3C%25%3Dt%5B%3Along_url%5D%25%3E%3C%2Ftd%3E+++++%3Ctd%3E%3C%25%3Dt%5B%3Ashort_url%5D%25%3E%3C%2Ftd%3E++++++%3Ctd%3E%3C%25%3Dt%5B%3Adomain%5D%25%3E%3C%2Ftd%3E+++++%3C%2Ftr%3E+++%3C%25end%25%3E+%3C%2Fthread%3E++++%3C%2Ftable%3E++%3Ccenter%3E%3C%25%3D+link_to+%22Back%22%2C%3Aback+%25%3E%3C%2Fcenter%3E++%3Ccenter%3E%3C%25%3D+link_to+%22Home%22%2Chome_index_path%25%3E%3C%2Fcenter%3E&short_url=www.hoco%2Ff8d479f” for 127.0.0.1 at 2019-01-28 16:16:06 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"<table class=\"table table-bordered\">     <thead>    <tr>     <th>Long Url</th>     <th>Short Url</th>      <th>Domain</th>     </tr> </thead>   <% @urls.each do |t| %> <thread>   <tr>     <td><%=t[:long_url]%></td>     <td><%=t[:short_url]%></td>      <td><%=t[:domain]%></td>     </tr>   <%end%> </thread>    </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>", "short_url"=>"www.hoco/f8d479f"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:16:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 74ms (Views: 65.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 16:16:37 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.7ms)

Completed 200 OK in 72ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:16:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 81ms (Views: 76.5ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:16:41 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (4.1ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (7.0ms)

Completed 200 OK in 113ms (Views: 105.4ms | ActiveRecord: 4.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:16:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 86ms (Views: 84.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:16:42 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.5ms)

Completed 200 OK in 64ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:16:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LfyMGf5zeT+dDbBJ7BUsCtPhP9dhzlD3RfI+FjC3ADYi6uG4/DKB/A6J8RJqFp98/V4Y/ucqJQBKMrDJVxoRqg==", "long_url"=>"<table class=\"table table-bordered\">     <thead>    <tr>     <th>Long Url</th>     <th>Short Url</th>      <th>Domain</th>     </tr> </thead>   <% @urls.each do |t| %> <thread>   <tr>     <td><%=t[:long_url]%></td>     <td><%=t[:short_url]%></td>      <td><%=t[:domain]%></td>     </tr>   <%end%> </thread>    </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "<table class=\"table table-bordered\">     <thead>    <tr>     <th>Long Url</th>     <th>Short Url</th>      <th>Domain</th>     </tr> </thead>   <% @urls.each do |t| %> <thread>   <tr>     <td><%=t[:long_url]%></td>     <td><%=t[:short_url]%></td>      <td><%=t[:domain]%></td>     </tr>   <%end%> </thread>    </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "<table class=\"table table-bordered\">     <thead>    <tr>     <th>Long Url</th>     <th>Short Url</th>      <th>Domain</th>     </tr> </thead>   <% @urls.each do |t| %> <thread>   <tr>     <td><%=t[:long_url]%></td>     <td><%=t[:short_url]%></td>      <td><%=t[:domain]%></td>     </tr>   <%end%> </thread>    </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>"], ["LIMIT", 1]]
↳ app/models/url.rb:82

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=%3Ctable+class%3D%22table+table-bordered%22%3E+++++%3Cthead%3E++++%3Ctr%3E+++++%3Cth%3ELong+Url%3C%2Fth%3E+++++%3Cth%3EShort+Url%3C%2Fth%3E++++++%3Cth%3EDomain%3C%2Fth%3E+++++%3C%2Ftr%3E+%3C%2Fthead%3E+++%3C%25+%40urls.each+do+%7Ct%7C+%25%3E+%3Cthread%3E+++%3Ctr%3E+++++%3Ctd%3E%3C%25%3Dt%5B%3Along_url%5D%25%3E%3C%2Ftd%3E+++++%3Ctd%3E%3C%25%3Dt%5B%3Ashort_url%5D%25%3E%3C%2Ftd%3E++++++%3Ctd%3E%3C%25%3Dt%5B%3Adomain%5D%25%3E%3C%2Ftd%3E+++++%3C%2Ftr%3E+++%3C%25end%25%3E+%3C%2Fthread%3E++++%3C%2Ftable%3E++%3Ccenter%3E%3C%25%3D+link_to+%22Back%22%2C%3Aback+%25%3E%3C%2Fcenter%3E++%3Ccenter%3E%3C%25%3D+link_to+%22Home%22%2Chome_index_path%25%3E%3C%2Fcenter%3E&short_url=www.hoco%2Ff8d479f Completed 200 OK in 7ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=%3Ctable+class%3D%22table+table-bordered%22%3E+++++%3Cthead%3E++++%3Ctr%3E+++++%3Cth%3ELong+Url%3C%2Fth%3E+++++%3Cth%3EShort+Url%3C%2Fth%3E++++++%3Cth%3EDomain%3C%2Fth%3E+++++%3C%2Ftr%3E+%3C%2Fthead%3E+++%3C%25+%40urls.each+do+%7Ct%7C+%25%3E+%3Cthread%3E+++%3Ctr%3E+++++%3Ctd%3E%3C%25%3Dt%5B%3Along_url%5D%25%3E%3C%2Ftd%3E+++++%3Ctd%3E%3C%25%3Dt%5B%3Ashort_url%5D%25%3E%3C%2Ftd%3E++++++%3Ctd%3E%3C%25%3Dt%5B%3Adomain%5D%25%3E%3C%2Ftd%3E+++++%3C%2Ftr%3E+++%3C%25end%25%3E+%3C%2Fthread%3E++++%3C%2Ftable%3E++%3Ccenter%3E%3C%25%3D+link_to+%22Back%22%2C%3Aback+%25%3E%3C%2Fcenter%3E++%3Ccenter%3E%3C%25%3D+link_to+%22Home%22%2Chome_index_path%25%3E%3C%2Fcenter%3E&short_url=www.hoco%2Ff8d479f” for 127.0.0.1 at 2019-01-28 16:16:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"<table class=\"table table-bordered\">     <thead>    <tr>     <th>Long Url</th>     <th>Short Url</th>      <th>Domain</th>     </tr> </thead>   <% @urls.each do |t| %> <thread>   <tr>     <td><%=t[:long_url]%></td>     <td><%=t[:short_url]%></td>      <td><%=t[:domain]%></td>     </tr>   <%end%> </thread>    </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>", "short_url"=>"www.hoco/f8d479f"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 71ms (Views: 69.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:17:07 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 68ms (Views: 66.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:19:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 38ms (Views: 37.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:19:40 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.2ms)

Completed 200 OK in 73ms (Views: 71.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:19:54 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TCE0Alal1LZnA+bEtvbFEsmAZRaWfOBY74hX0z12d0xDN1mjVOQsdfSHp58w9XZk5z9CPxCYla/gSNkMWttm0A==", "long_url"=>"<table class=\"table table-bordered\">    <thead>   <tr>    <th>Long Url</th>    <th>Short Url</th>    <th>Domain</th>   </tr> </thead>  <% @urls.each do |t| %> <thread>  <tr>    <td><%=t[:long_url]%></td>    <td><%=t[:short_url]%></td>    <td><%=t[:domain]%></td>   </tr>  <%end%> </thread>  </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "<table class=\"table table-bordered\">    <thead>   <tr>    <th>Long Url</th>    <th>Short Url</th>    <th>Domain</th>   </tr> </thead>  <% @urls.each do |t| %> <thread>  <tr>    <td><%=t[:long_url]%></td>    <td><%=t[:short_url]%></td>    <td><%=t[:domain]%></td>   </tr>  <%end%> </thread>  </table>  <center><%= link_to \"Back\",:back %></center>  <center><%= link_to \"Home\",home_index_path%></center>"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:60

Redirected to localhost:3000/urls/show?Error=Enter+Valid+Url&Status=Error Completed 200 OK in 16ms (ActiveRecord: 4.2ms)

Started GET “/urls/show?Error=Enter+Valid+Url&Status=Error” for 127.0.0.1 at 2019-01-28 16:19:54 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Enter Valid Url", "Status"=>"Error"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 57ms (Views: 54.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:19:58 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.6ms)

Completed 200 OK in 62ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:19:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 60.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:20:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.9ms)

Completed 200 OK in 66ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:20:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 84ms (Views: 82.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:20:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 63ms (Views: 59.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:23:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 42ms (Views: 40.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:23:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 62ms (Views: 61.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 16:23:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 55ms (Views: 53.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:24:07 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.2ms)

Completed 200 OK in 58ms (Views: 56.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:24:07 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uQlO5PRMVwiOr/Qy4EbSb9ytHCcA0lt/H6BQ+i4XZOIgc2bJo4C/18Cl2/Dn1w9Xnj5sc1yMgjDIZRPEqdoBbg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 9ms (ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:24:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 70.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:24:09 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:24:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 52ms (Views: 50.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 16:24:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 74ms (Views: 72.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 16:24:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 65ms (Views: 63.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:25:22 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 59ms (Views: 57.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:25:24 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JqJHDZr14NgCuFqUNxlq02M2yKoTH2CfYNkbYKcMfJq/2G8gzTkIB0yydVYwiLfrIaW4/k9BudC3HFheIMEZFg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:25:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 73ms (Views: 71.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:25:30 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:25:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 55ms (Views: 53.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:25:31 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.1ms)

Completed 200 OK in 66ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:25:33 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vvokMT0KCPCx99xoeRXBR9PEb+z6hSZCCPsRWy73chQngAwcasbgL//986p+hBx/kVcfuKbb/w3fPlJlqToXmA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:25:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (29.0ms)

Completed 200 OK in 86ms (Views: 83.8ms | ActiveRecord: 0.0ms)

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."id" = $1 LIMIT $2  [["id", 334], ["LIMIT", 1]]
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 334]]
 (11.1ms)  COMMIT
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:31:41 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.2ms)

Completed 200 OK in 53ms (Views: 50.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:31:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 85ms (Views: 81.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 16:31:44 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (1.3ms)

Completed 200 OK in 75ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-28 16:31:59 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QQkyOhNBTNnBu9s9J8nPFkfEeR5IFJ93XeoJB5KF39ixUr6l3+AMIf7cchR67FuWjGXYkZ0SXpP26fsb+JmD4g==", "username"=>"Vipul", "email"=>"iit2015038@iiita.ac.in", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :authenticity_token, :confirm_password, :commit

 (0.1ms)  BEGIN
↳ app/models/user.rb:13
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "iit2015038@iiita.ac.in"], ["LIMIT", 1]]
↳ app/models/user.rb:13
 (0.5ms)  ROLLBACK
↳ app/models/user.rb:13

Redirected to localhost:3000/home/index Completed 200 OK in 6ms (ActiveRecord: 1.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:31:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 71ms (Views: 69.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:32:01 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 78ms (Views: 75.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:32:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 79ms (Views: 77.2ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 16:32:03 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (3.2ms)

Completed 200 OK in 87ms (Views: 84.0ms | ActiveRecord: 0.0ms)

User Exists (0.3ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (0.2ms)  SELECT "users".* FROM "users"

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-28 16:33:23 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KJgxXeLufYQ0UgeF2v2xg4PYrcQ4JKzWFcpShOoQtxbYw73CLk89fAs1rqyH2CUDSHkMS+0ibTK+yaCYgAzrLA==", "username"=>"Vipul", "email"=>"iit2015038@iiita.ac.in", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :authenticity_token, :confirm_password, :commit

 (0.1ms)  BEGIN
↳ app/models/user.rb:13
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "iit2015038@iiita.ac.in"], ["LIMIT", 1]]
↳ app/models/user.rb:13
User Create (18.1ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "Vipul"], ["email", "iit2015038@iiita.ac.in"], ["password", "09cd426c5c8c1d706d88157c4f4061ff"]]
↳ app/models/user.rb:13
 (0.6ms)  COMMIT
↳ app/models/user.rb:13

Redirected to localhost:3000/home/index Completed 200 OK in 35ms (ActiveRecord: 23.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:33:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 61ms (Views: 57.5ms | ActiveRecord: 0.0ms)

User Exists (0.4ms)  SELECT  1 AS one FROM "users" LIMIT $1  [["LIMIT", 1]]
User Load (0.3ms)  SELECT "users".* FROM "users"

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:33:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.5ms)

Completed 200 OK in 78ms (Views: 74.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:33:52 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yQ6YEMfC352JWL+U4FD7MsK58QvqBpiIx1lFYKjq8/j6XzROYXKS+6V+S7YeWT39GdA15KogYM3BvJIuryiJ6A==", "long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html", "domain"=>"elasticsearch", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html"], ["domain", "elasticsearch"]]
↳ app/models/url.rb:60
 (6.2ms)  COMMIT
↳ app/models/url.rb:60
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ab04bdf"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html"], ["id", 335], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "ab04bdf"], ["id", 335]]
↳ app/models/url.rb:67
 (6.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=elasticsearch&long_url=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fcompound-queries.html&short_url=www.elco%2Fab04bdf Completed 200 OK in 76ms (ActiveRecord: 20.4ms)

Started GET “/urls/show?Status=Success&domain=elasticsearch&long_url=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fcompound-queries.html&short_url=www.elco%2Fab04bdf” for 127.0.0.1 at 2019-01-28 16:33:53 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"elasticsearch", "long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html", "short_url"=>"www.elco/ab04bdf"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 69.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:34:05 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (6.0ms)

Completed 200 OK in 67ms (Views: 64.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:34:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GQMiqHFpTBwqojugVYpl/fmWnBpnDRpHJhFZghhVBRcqUo7219kBegaEz4Krg6MyIv9Y9Scr4gIg9I7MH5d/Bw==", "long_url"=>"https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-2.5.12", "domain"=>"github", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-2.5.12"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-2.5.12"], ["domain", "github"]]
↳ app/models/url.rb:60
 (4.8ms)  COMMIT
↳ app/models/url.rb:60
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "github"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.gico/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "github"], ["prefix", "www.gico/"]]
↳ app/models/domain_prefix.rb:20
 (0.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f754bc7"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-2.5.12"], ["id", 336], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "f754bc7"], ["id", 336]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=github&long_url=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-2.5.12&short_url=www.gico%2Ff754bc7 Completed 200 OK in 30ms (ActiveRecord: 8.1ms)

Started GET “/urls/show?Status=Success&domain=github&long_url=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-2.5.12&short_url=www.gico%2Ff754bc7” for 127.0.0.1 at 2019-01-28 16:34:59 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"github", "long_url"=>"https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-2.5.12", "short_url"=>"www.gico/f754bc7"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.9ms)

Completed 200 OK in 65ms (Views: 63.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:35:38 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.1ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:35:42 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rfp2U3gMi4eAkBynj8T1TD+eyA8Ktg4QqBtiJQQkzTF2q9oN3rzG4ay26IVxzTOD5PcM4EqQ9lWu/rVrA+a3IQ==", "long_url"=>"https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-3.0.7", "domain"=>"github", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-3.0.7"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-3.0.7"], ["domain", "github"]]
↳ app/models/url.rb:60
 (6.0ms)  COMMIT
↳ app/models/url.rb:60
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f27a108"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-3.0.7"], ["id", 337], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "f27a108"], ["id", 337]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=github&long_url=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-3.0.7&short_url=www.gico%2Ff27a108 Completed 200 OK in 36ms (ActiveRecord: 8.1ms)

Started GET “/urls/show?Status=Success&domain=github&long_url=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-3.0.7&short_url=www.gico%2Ff27a108” for 127.0.0.1 at 2019-01-28 16:35:42 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"github", "long_url"=>"https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-3.0.7", "short_url"=>"www.gico/f27a108"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.3ms)

Completed 200 OK in 86ms (Views: 84.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:35:55 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.8ms)

Completed 200 OK in 71ms (Views: 69.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:35:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 83ms (Views: 81.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 16:35:57 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.7ms)

Completed 200 OK in 74ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 16:36:06 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ek/R6bLFlnWWuOSKNvvIEtc4toVKJ+O/yVhUVChT27E4MXyZZ7SG8P/YtuLqg9oSMJUi1ihwq75dNLrzpXvA6g==", "short_url"=>"27a108", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "27a108"], ["LIMIT", 1]]
↳ app/models/url.rb:110

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 4ms (ActiveRecord: 0.7ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-28 16:36:06 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 76ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 16:36:07 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.0ms)

Completed 200 OK in 78ms (Views: 74.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 16:36:15 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pzdS3E2dtKrmIieYoAX/R4OMS2NzXjSthCRov93OFPmNSf+smOykL49CdfB8fe1HZCHfMBEJfKwQSIYYUOYPog==", "short_url"=>"f27a108", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f27a108"], ["LIMIT", 1]]
↳ app/models/url.rb:110

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=github&long_url=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-3.0.7&short_url=www.gico%2Ff27a108 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=github&long_url=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-3.0.7&short_url=www.gico%2Ff27a108” for 127.0.0.1 at 2019-01-28 16:36:15 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"github", "long_url"=>"https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-3.0.7", "short_url"=>"www.gico/f27a108"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 71ms (Views: 69.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 16:36:16 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (4.4ms)

Completed 200 OK in 84ms (Views: 81.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-28 16:36:24 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3O/ikncvnHt8c743eoDn+6h4x87ee3toA4PaOCslWV32kU/iol6M/hUT7F+m+PX7T9VTnbwsM2mX7zSfpg1CBg==", "short_url"=>"www.gico/f27a108", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show?Status=OK+%21&domain=github&long_url=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-3.0.7&short_url=www.gico%2Ff27a108 Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=github&long_url=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-3.0.7&short_url=www.gico%2Ff27a108” for 127.0.0.1 at 2019-01-28 16:36:24 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"github", "long_url"=>"https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-3.0.7", "short_url"=>"www.gico/f27a108"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 71ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 16:36:25 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.3ms)

Completed 200 OK in 83ms (Views: 80.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:36:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:36:30 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.0ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (14.2ms)

Completed 200 OK in 100ms (Views: 72.9ms | ActiveRecord: 5.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:36:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 78ms (Views: 75.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:36:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.6ms)

Completed 200 OK in 69ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:36:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 74ms (Views: 71.9ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:36:58 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (5.6ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (7.6ms)

Completed 200 OK in 75ms (Views: 66.4ms | ActiveRecord: 5.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:37:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 92ms (Views: 89.4ms | ActiveRecord: 0.0ms)

Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]
Report Load (0.2ms)  SELECT "reports".* FROM "reports"
Report Load (1.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.5ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (1.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (1.0ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Load (1.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
Report Load (1.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
Report Exists (0.8ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Create (20.8ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-28"], ["no_of_urls", 1]]
↳ app/workers/url_worker.rb:14
Report Create (1.0ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-28"], ["no_of_urls", 1]]
↳ app/workers/url_worker.rb:14
 (1.2ms)  COMMIT
↳ app/workers/url_worker.rb:14
 (0.7ms)  COMMIT
↳ app/workers/url_worker.rb:14
 (0.5ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Load (1.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (4.6ms)  BEGIN
 (2.5ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (3.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
 (1.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
 (1.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:14
↳ app/workers/url_worker.rb:14
Report Exists (1.9ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 5], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Load (2.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (2.4ms)  ROLLBACK
↳ app/workers/url_worker.rb:12
 (1.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (6.9ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Load (2.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (1.6ms)  ROLLBACK
↳ app/workers/url_worker.rb:14
Report Exists (3.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 5], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.3ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (4.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Load (2.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.4ms)  ROLLBACK
↳ app/workers/url_worker.rb:14
Report Load (3.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
Report Exists (1.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 5], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.8ms)  BEGIN
↳ app/workers/url_worker.rb:12
 (0.7ms)  ROLLBACK
↳ app/workers/url_worker.rb:12
 (1.9ms)  ROLLBACK
↳ app/workers/url_worker.rb:12
Report Exists (1.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 5], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
Report Load (1.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (1.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:12
 (0.6ms)  BEGIN
↳ app/workers/url_worker.rb:12
 (0.9ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.9ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 5], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
Report Exists (1.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 5], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (2.4ms)  ROLLBACK
↳ app/workers/url_worker.rb:12
 (0.6ms)  ROLLBACK
↳ app/workers/url_worker.rb:12

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:38:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 56ms (Views: 54.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:38:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 94ms (Views: 91.1ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:38:08 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (6.1ms)

Completed 200 OK in 75ms (Views: 68.3ms | ActiveRecord: 3.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:38:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (7.6ms)

Completed 200 OK in 96ms (Views: 90.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 16:38:20 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.1ms)

Completed 200 OK in 66ms (Views: 64.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:38:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 75ms (Views: 71.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:38:23 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 92ms (Views: 89.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:38:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Iqt3kV77yK/Xvypr3TJwJJVAJPnziW5nboJY/QDvXpIR+tvP+EuFyfuZ3kkjO7brTingFrOvliJoZ4+zBy0kgg==", "long_url"=>"https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"google", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8"], ["domain", "google"]]
↳ app/models/url.rb:60
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 5], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.1ms)  ROLLBACK
↳ app/workers/url_worker.rb:12
 (7.3ms)  COMMIT
↳ app/models/url.rb:60
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e317e52"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8"], ["id", 338], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e317e52"], ["id", 338]]
↳ app/models/url.rb:67
 (0.4ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.go.co%2Fe317e52 Completed 200 OK in 36ms (ActiveRecord: 9.9ms)

Started GET “/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&short_url=www.go.co%2Fe317e52” for 127.0.0.1 at 2019-01-28 16:38:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google", "long_url"=>"https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"www.go.co/e317e52"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.0ms)

Completed 200 OK in 68ms (Views: 63.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:38:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 79ms (Views: 77.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:38:33 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (8.6ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (10.8ms)

Completed 200 OK in 84ms (Views: 73.8ms | ActiveRecord: 8.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:38:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]
Report Load (0.3ms)  SELECT "reports".* FROM "reports"
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT $2  [["id", 5], ["LIMIT", 1]]
 (0.1ms)  BEGIN
Report Destroy (0.3ms)  DELETE FROM "reports" WHERE "reports"."id" = $1  [["id", 5]]
 (1.2ms)  COMMIT

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:40:00 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 124ms (Views: 121.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:40:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oYC3aGB9FgX4IIaSM0jrwfzuq+T49coAlS6Jx/HosbeS0Rs2xs1bY9QGcrDNQS0OJ4dvC7jTMkWTy16J9irLpw==", "long_url"=>"https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8df", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8df"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8df"], ["domain", "housing.com"]]
↳ app/models/url.rb:60
 (5.9ms)  COMMIT
↳ app/models/url.rb:60
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3ee0bc7"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8df"], ["id", 339], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "3ee0bc7"], ["id", 339]]
↳ app/models/url.rb:67
 (5.5ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8df&short_url=www.hoco%2F3ee0bc7 Completed 200 OK in 133ms (ActiveRecord: 21.6ms)

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8df&short_url=www.hoco%2F3ee0bc7” for 127.0.0.1 at 2019-01-28 16:40:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8df", "short_url"=>"www.hoco/3ee0bc7"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 81ms (Views: 78.5ms | ActiveRecord: 0.0ms)

Report Load (2.6ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 2], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (6.4ms)  COMMIT
↳ app/workers/url_worker.rb:11

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:40:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 61ms (Views: 58.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:40:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 81ms (Views: 77.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:40:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 80ms (Views: 77.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:40:08 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (2.8ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (13.9ms)

Completed 200 OK in 77ms (Views: 61.4ms | ActiveRecord: 7.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:40:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 84ms (Views: 80.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:40:35 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 52ms (Views: 50.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:40:41 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uNlZeC3qmxEudoV2a6mvSmpXcJH8j5tTNZRAch5062OLiPUmi1rWdwJQcVSVoGmFsT60frypYxYzcZc8GbaRcw==", "long_url"=>"https://www.proptiger.com/mumbai/panvel/wadhwa-residency-wise-city-south-block-phase-i-plot-rz8-building-4-wing-f4-1756037", "domain"=>"proptiger", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/mumbai/panvel/wadhwa-residency-wise-city-south-block-phase-i-plot-rz8-building-4-wing-f4-1756037"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/mumbai/panvel/wadhwa-residency-wise-city-south-block-phase-i-plot-rz8-building-4-wing-f4-1756037"], ["domain", "proptiger"]]
↳ app/models/url.rb:60
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 3], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (6.2ms)  COMMIT
↳ app/models/url.rb:60
 (6.6ms)  COMMIT
↳ app/workers/url_worker.rb:11
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.prco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.poco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "proptiger"], ["prefix", "www.poco/"]]
↳ app/models/domain_prefix.rb:20
 (6.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2297577"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/mumbai/panvel/wadhwa-residency-wise-city-south-block-phase-i-plot-rz8-building-4-wing-f4-1756037"], ["id", 340], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "2297577"], ["id", 340]]
↳ app/models/url.rb:67
 (6.6ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fmumbai%2Fpanvel%2Fwadhwa-residency-wise-city-south-block-phase-i-plot-rz8-building-4-wing-f4-1756037&short_url=www.poco%2F2297577 Completed 200 OK in 53ms (ActiveRecord: 22.6ms)

Started GET “/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fmumbai%2Fpanvel%2Fwadhwa-residency-wise-city-south-block-phase-i-plot-rz8-building-4-wing-f4-1756037&short_url=www.poco%2F2297577” for 127.0.0.1 at 2019-01-28 16:40:41 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"proptiger", "long_url"=>"https://www.proptiger.com/mumbai/panvel/wadhwa-residency-wise-city-south-block-phase-i-plot-rz8-building-4-wing-f4-1756037", "short_url"=>"www.poco/2297577"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 69ms (Views: 67.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:40:43 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 77ms (Views: 73.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:41:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7mNWzs0I6c0X3vY9lKxaubjG90JZiDuYpaL16ck4HFTdMvqQa7ikqzv4Ah9qpZx2Y68zrRmuw92jRyKnzvpmRA==", "long_url"=>"https://www.proptiger.com/ahmedabad/property-sale-near-nirma-university-on-sg-highway-52593", "domain"=>"proptiger", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/ahmedabad/property-sale-near-nirma-university-on-sg-highway-52593"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/ahmedabad/property-sale-near-nirma-university-on-sg-highway-52593"], ["domain", "proptiger"]]
↳ app/models/url.rb:60
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 4], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (5.8ms)  COMMIT
↳ app/models/url.rb:60
 (6.1ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "905eadc"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/ahmedabad/property-sale-near-nirma-university-on-sg-highway-52593"], ["id", 341], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "905eadc"], ["id", 341]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fahmedabad%2Fproperty-sale-near-nirma-university-on-sg-highway-52593&short_url=www.poco%2F905eadc Completed 200 OK in 38ms (ActiveRecord: 8.0ms)

Started GET “/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fahmedabad%2Fproperty-sale-near-nirma-university-on-sg-highway-52593&short_url=www.poco%2F905eadc” for 127.0.0.1 at 2019-01-28 16:41:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"proptiger", "long_url"=>"https://www.proptiger.com/ahmedabad/property-sale-near-nirma-university-on-sg-highway-52593", "short_url"=>"www.poco/905eadc"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 68ms (Views: 56.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:41:05 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (4.1ms)

Completed 200 OK in 88ms (Views: 83.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:41:16 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fXvlKmBsAYMyyvasitmsr7/J2NxI03yC/4dR2qRkGHtOKkl0xtxM5R7sAo500GpgZKAcMwj1hMf5YoaUo6Ziaw==", "long_url"=>"https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226", "domain"=>"proptiger", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226"], ["domain", "proptiger"]]
↳ app/models/url.rb:60
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 5], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (6.3ms)  COMMIT
↳ app/models/url.rb:60
 (7.7ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "25b0d05"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226"], ["id", 342], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "25b0d05"], ["id", 342]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fahmedabad%2Fnear-nirma-university-on-sg-highway%2Fgodrej-properties-garden-city-pinecrest-1640226&short_url=www.poco%2F25b0d05 Completed 200 OK in 45ms (ActiveRecord: 8.5ms)

Started GET “/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fahmedabad%2Fnear-nirma-university-on-sg-highway%2Fgodrej-properties-garden-city-pinecrest-1640226&short_url=www.poco%2F25b0d05” for 127.0.0.1 at 2019-01-28 16:41:16 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"proptiger", "long_url"=>"https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226", "short_url"=>"www.poco/25b0d05"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 71ms (Views: 69.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:41:17 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.8ms)

Completed 200 OK in 74ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:41:29 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5eb7LHG+XJLv4Ml3oGSIHW60t0TRSmpUGXjyP/QGjQTWt1dy1w4R9MPGPVVebU7Std1zq5FskhEfnSVx88T3FA==", "long_url"=>"https://www.proptiger.com/kolkata/dum-dum/emami-infrastructure-city-507788", "domain"=>"proptiger", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/kolkata/dum-dum/emami-infrastructure-city-507788"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/kolkata/dum-dum/emami-infrastructure-city-507788"], ["domain", "proptiger"]]
↳ app/models/url.rb:60
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 6], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (5.8ms)  COMMIT
↳ app/models/url.rb:60
 (6.7ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3c15644"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/kolkata/dum-dum/emami-infrastructure-city-507788"], ["id", 343], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "3c15644"], ["id", 343]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fkolkata%2Fdum-dum%2Femami-infrastructure-city-507788&short_url=www.poco%2F3c15644 Completed 200 OK in 34ms (ActiveRecord: 8.2ms)

Started GET “/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fkolkata%2Fdum-dum%2Femami-infrastructure-city-507788&short_url=www.poco%2F3c15644” for 127.0.0.1 at 2019-01-28 16:41:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"proptiger", "long_url"=>"https://www.proptiger.com/kolkata/dum-dum/emami-infrastructure-city-507788", "short_url"=>"www.poco/3c15644"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.1ms)

Completed 200 OK in 83ms (Views: 81.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:41:31 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.2ms)

Completed 200 OK in 68ms (Views: 64.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:42:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"93/siBWdU6gKBBLCecDkfejpHFx85oSwEm3Z9TG4xJXELkDWsy0eziYi5uCHySKyM4DYszzAfPUUiA67Nnq+hQ==", "long_url"=>"https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226", "domain"=>"proptiger", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226"], ["LIMIT", 1]]
↳ app/models/url.rb:82

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fahmedabad%2Fnear-nirma-university-on-sg-highway%2Fgodrej-properties-garden-city-pinecrest-1640226&short_url=www.poco%2F25b0d05 Completed 200 OK in 7ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fahmedabad%2Fnear-nirma-university-on-sg-highway%2Fgodrej-properties-garden-city-pinecrest-1640226&short_url=www.poco%2F25b0d05” for 127.0.0.1 at 2019-01-28 16:42:01 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"proptiger", "long_url"=>"https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226", "short_url"=>"www.poco/25b0d05"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 87ms (Views: 84.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:42:04 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.2ms)

Completed 200 OK in 72ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:42:32 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"K6edPgJOtWVeDBj3rsUmD4PKnAbndBnXWn6RH/eXwjMY9jFgpP74A3Iq7NVQzODAWKNY6adS4ZJcm0ZR8FW4Iw==", "long_url"=>"https://www.proptiger.com/kolkata/joka/ps-group-the-102-1720588", "domain"=>"proptiger", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/kolkata/joka/ps-group-the-102-1720588"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/kolkata/joka/ps-group-the-102-1720588"], ["domain", "proptiger"]]
↳ app/models/url.rb:60
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 7], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (5.9ms)  COMMIT
↳ app/models/url.rb:60
 (7.3ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "89c0361"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/kolkata/joka/ps-group-the-102-1720588"], ["id", 344], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "89c0361"], ["id", 344]]
↳ app/models/url.rb:67
 (0.4ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fkolkata%2Fjoka%2Fps-group-the-102-1720588&short_url=www.poco%2F89c0361 Completed 200 OK in 40ms (ActiveRecord: 8.1ms)

Started GET “/urls/show?Status=Success&domain=proptiger&long_url=https%3A%2F%2Fwww.proptiger.com%2Fkolkata%2Fjoka%2Fps-group-the-102-1720588&short_url=www.poco%2F89c0361” for 127.0.0.1 at 2019-01-28 16:42:32 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"proptiger", "long_url"=>"https://www.proptiger.com/kolkata/joka/ps-group-the-102-1720588", "short_url"=>"www.poco/89c0361"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 78ms (Views: 75.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:42:33 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.6ms)

Completed 200 OK in 103ms (Views: 100.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:42:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (6.0ms)

Completed 200 OK in 77ms (Views: 73.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:42:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 94ms (Views: 91.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:42:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 91ms (Views: 88.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:42:37 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (2.0ms)

Completed 200 OK in 83ms (Views: 80.1ms | ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:42:38 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 89ms (Views: 86.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:42:59 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.0ms)

Completed 200 OK in 65ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:43:04 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NePEKXzN6IJL1IdzUz/TDcCoM4/GrOyIig5iMa8U5IoGsmh32n2l5Gfyc1GtNhXCG8H3YIaKFM2M67V/qNaemg==", "long_url"=>"https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8", "domain"=>"google.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8"], ["domain", "google.com"]]
↳ app/models/url.rb:60
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 8], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (5.8ms)  COMMIT
↳ app/models/url.rb:60
 (7.4ms)  COMMIT
↳ app/workers/url_worker.rb:11
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4936a22"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8"], ["id", 345], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "4936a22"], ["id", 345]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=google.com&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26ei%3DteNOXKinBdGd9QPy7JOgBQ%26q%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26gs_l%3Dpsy-ab.3…1047.1494..1786…0.0..0.169.1055.0j7.…..0.…1..gws-wiz.……0i71j33i160.SiGcfSEU2L8&short_url=www.goco%2F4936a22 Completed 200 OK in 35ms (ActiveRecord: 8.2ms)

Started GET “/urls/show?Status=Success&domain=google.com&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26ei%3DteNOXKinBdGd9QPy7JOgBQ%26q%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26gs_l%3Dpsy-ab.3…1047.1494..1786…0.0..0.169.1055.0j7.…..0.…1..gws-wiz.……0i71j33i160.SiGcfSEU2L8&short_url=www.goco%2F4936a22” for 127.0.0.1 at 2019-01-28 16:43:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google.com", "long_url"=>"https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8", "short_url"=>"www.goco/4936a22"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 82ms (Views: 79.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:43:06 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 80ms (Views: 76.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:43:13 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SA0sRKtQ/OxHsy323U2zSkptPnKq3ltQvutfO8oddN97XIAaDeCximuV2dQjRHWFkQT6ner4oxW4Doh1zd8Ozw==", "long_url"=>"https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8dfs", "domain"=>"google", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8dfs"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8dfs"], ["domain", "google"]]
↳ app/models/url.rb:60
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 9], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (5.8ms)  COMMIT
↳ app/models/url.rb:60
 (6.6ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b9cd8a8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8dfs"], ["id", 346], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "b9cd8a8"], ["id", 346]]
↳ app/models/url.rb:67
 (0.4ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26ei%3DteNOXKinBdGd9QPy7JOgBQ%26q%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26gs_l%3Dpsy-ab.3…1047.1494..1786…0.0..0.169.1055.0j7.…..0.…1..gws-wiz.……0i71j33i160.SiGcfSEU2L8dfs&short_url=www.go.co%2Fb9cd8a8 Completed 200 OK in 35ms (ActiveRecord: 8.2ms)

Started GET “/urls/show?Status=Success&domain=google&long_url=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26ei%3DteNOXKinBdGd9QPy7JOgBQ%26q%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26gs_l%3Dpsy-ab.3…1047.1494..1786…0.0..0.169.1055.0j7.…..0.…1..gws-wiz.……0i71j33i160.SiGcfSEU2L8dfs&short_url=www.go.co%2Fb9cd8a8” for 127.0.0.1 at 2019-01-28 16:43:13 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google", "long_url"=>"https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8dfs", "short_url"=>"www.go.co/b9cd8a8"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 75ms (Views: 73.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:43:19 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 83ms (Views: 81.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:43:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 70ms (Views: 65.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:43:59 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 86ms (Views: 83.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 16:44:00 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"acwiV/aeTCufiyJ/JBo/SGc7n7AClLh+ynfpslmyudod4ilVZf0LPcv6ogHKFSkle5ScaJi2YLpCQwwggSOFQQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 16ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-28 16:44:00 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 74ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:44:01 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 82ms (Views: 79.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 16:44:14 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gtM/f1scDXdxM0fucCNpRalZbSTVJCjULm3CJaNwEdL2/TR9yH9KYSVCx5CeLH8otfZu/E8G8BCmWSe3e+EtSQ==", "mode"=>"short_url", "q"=>"f754bc7", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 336]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 336]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-2.5.12&array%5B%5D%5Bshort_url%5D=f754bc7&array%5B%5D%5Bdomain%5D=github Completed 200 OK in 8ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-2.5.12&array%5B%5D%5Bshort_url%5D=f754bc7&array%5B%5D%5Bdomain%5D=github” for 127.0.0.1 at 2019-01-28 16:44:14 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-2.5.12", "short_url"=>"f754bc7", "domain"=>"github"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 79ms (Views: 77.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:44:16 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.7ms)

Completed 200 OK in 60ms (Views: 58.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 16:44:22 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OvqpqGpoP+IRFPGIooYvU/Hkei9osXfJI5FWGS8omzZO1KKq+Qt49EVlcfZMiTk+7Ut59/KTrw2rpbOL97mnrQ==", "mode"=>"long_url", "q"=>"bc7", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 339], ["id", 338], ["id", 345], ["id", 346]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 339], ["id", 338], ["id", 345], ["id", 346]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8df&array%5B%5D%5Bshort_url%5D=3ee0bc7&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e317e52&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26ei%3DteNOXKinBdGd9QPy7JOgBQ%26q%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26gs_l%3Dpsy-ab.3…1047.1494..1786…0.0..0.169.1055.0j7.…..0.…1..gws-wiz.……0i71j33i160.SiGcfSEU2L8&array%5B%5D%5Bshort_url%5D=4936a22&array%5B%5D%5Bdomain%5D=google.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26ei%3DteNOXKinBdGd9QPy7JOgBQ%26q%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26gs_l%3Dpsy-ab.3…1047.1494..1786…0.0..0.169.1055.0j7.…..0.…1..gws-wiz.……0i71j33i160.SiGcfSEU2L8dfs&array%5B%5D%5Bshort_url%5D=b9cd8a8&array%5B%5D%5Bdomain%5D=google Completed 200 OK in 9ms (ActiveRecord: 0.6ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8df&array%5B%5D%5Bshort_url%5D=3ee0bc7&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e317e52&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26ei%3DteNOXKinBdGd9QPy7JOgBQ%26q%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26gs_l%3Dpsy-ab.3…1047.1494..1786…0.0..0.169.1055.0j7.…..0.…1..gws-wiz.……0i71j33i160.SiGcfSEU2L8&array%5B%5D%5Bshort_url%5D=4936a22&array%5B%5D%5Bdomain%5D=google.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fsafe%3Dstrict%26ei%3DteNOXKinBdGd9QPy7JOgBQ%26q%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.sdsadas%26gs_l%3Dpsy-ab.3…1047.1494..1786…0.0..0.169.1055.0j7.…..0.…1..gws-wiz.……0i71j33i160.SiGcfSEU2L8dfs&array%5B%5D%5Bshort_url%5D=b9cd8a8&array%5B%5D%5Bdomain%5D=google” for 127.0.0.1 at 2019-01-28 16:44:22 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8df", "short_url"=>"3ee0bc7", "domain"=>"housing.com"}, {"long_url"=>"https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e317e52", "domain"=>"google"}, {"long_url"=>"https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8", "short_url"=>"4936a22", "domain"=>"google.com"}, {"long_url"=>"https://www.google.com/search?safe=strict&ei=teNOXKinBdGd9QPy7JOgBQ&q=short_url+%3A+www.gico%2Ff754bc7.sdsadas&oq=short_url+%3A+www.gico%2Ff754bc7.sdsadas&gs_l=psy-ab.3...1047.1494..1786...0.0..0.169.1055.0j7......0....1..gws-wiz.......0i71j33i160.SiGcfSEU2L8dfs", "short_url"=>"b9cd8a8", "domain"=>"google"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 82ms (Views: 80.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:44:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.2ms)

Completed 200 OK in 74ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 16:44:36 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1QFI/FevumTuQqSvwmBrH9hW9VQ00yfNKePdMoEPTxyhL0P+xMz9crozJNEsb31yxPn2jK7x/wmh1zigWZ5zhw==", "mode"=>"short_url", "q"=>"bc7", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2)  [["id", 339], ["id", 336]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2)  [["id", 339], ["id", 336]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8df&array%5B%5D%5Bshort_url%5D=3ee0bc7&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-2.5.12&array%5B%5D%5Bshort_url%5D=f754bc7&array%5B%5D%5Bdomain%5D=github Completed 200 OK in 8ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%26oq%3Dshort_url%2B%253A%2Bwww.gico%252Ff754bc7.%2B%2B%26aqs%3Dchrome..69i57.1320j0j7%26sourceid%3Dchrome%26ie%3DUTF-8df&array%5B%5D%5Bshort_url%5D=3ee0bc7&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fgithub.com%2Fcyrusimap%2Fcyrus-imapd%2Freleases%2Ftag%2Fcyrus-imapd-2.5.12&array%5B%5D%5Bshort_url%5D=f754bc7&array%5B%5D%5Bdomain%5D=github” for 127.0.0.1 at 2019-01-28 16:44:36 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.google.com/search?q=short_url+%3A+www.gico%2Ff754bc7.&oq=short_url+%3A+www.gico%2Ff754bc7.++&aqs=chrome..69i57.1320j0j7&sourceid=chrome&ie=UTF-8df", "short_url"=>"3ee0bc7", "domain"=>"housing.com"}, {"long_url"=>"https://github.com/cyrusimap/cyrus-imapd/releases/tag/cyrus-imapd-2.5.12", "short_url"=>"f754bc7", "domain"=>"github"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 66ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:44:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.8ms)

Completed 200 OK in 80ms (Views: 77.3ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:44:54 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.0ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (4.8ms)

Completed 200 OK in 68ms (Views: 63.1ms | ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:44:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 80ms (Views: 76.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:44:58 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:44:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 56ms (Views: 54.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:45:35 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 71ms (Views: 68.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:45:36 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jTyn5l8NAuTFvlnWBmJgWhkjnrDI3Dab3/xuSfRvdecURo/LCMHqO4u0dhQB871iW7Du5JSC79QIOS13c6IQaw==", "email"=>"Vipul", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "Vipul"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 2.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:45:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 77ms (Views: 74.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:46:02 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 46ms (Views: 44.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:46:05 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1NIzXdF8+JMf9vwU62cVZv7/T1tcughEANz95T6tnoVNqBtwhrAQTFH809bs9shevGw/DwDk0QvXGb7buWD7CQ==", "email"=>"Vipul", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "Vipul"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 7ms (ActiveRecord: 2.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:46:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 64ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:46:08 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.6ms)

Completed 200 OK in 68ms (Views: 65.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:46:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 102ms (Views: 100.3ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-28 16:46:10 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (3.2ms)

Completed 200 OK in 74ms (Views: 71.1ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-28 16:46:21 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6R16yOdNHQJ1YLOxiyxtb/MjVrBVozwc56FHpAEgCfEZRvZXK+xd+koHGpjWCfnvOIL3P4Cl/fhMorW4azxVyw==", "username"=>"Vipul", "email"=>"vipul.kumar@protiger.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Redirected to localhost:3000/home/index Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:46:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 80ms (Views: 77.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:46:24 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.9ms)

Completed 200 OK in 72ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:46:25 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jDsswwMF3v5UKSYhr+WrtDzuAjHmQIJf9ulg5wr4B+sVQQTuVMk2IRojCeOodHaMfn1yZboeWxAhLCPZjTViZw==", "email"=>"Vipul", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "Vipul"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:46:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 89ms (Views: 86.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:46:27 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.9ms)

Completed 200 OK in 76ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:46:32 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zDqyYX5gtweQ7x2/24tJJ27xA3e/q92kwhkEnqv0t8lVQJpMKaxf2N7lMn3cGpQfLGJzI+P1BOsV3EegLDnSRQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 5ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:46:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 76ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:46:50 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.3ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (7.7ms)

Completed 200 OK in 94ms (Views: 50.9ms | ActiveRecord: 2.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:46:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 79ms (Views: 77.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:48:14 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:48:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 61ms (Views: 59.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:48:16 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:48:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 48ms (Views: 46.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:48:16 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 200 OK in 92ms (Views: 89.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:48:18 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yVFl2Ie+mCjFaerjnomP+A6UqYnZsbx/MwhQ5u+DCBBQK0310HJw94tjxSGZGFLATAfZ3YXvZTDkzRPYaE5tnA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:48:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 73ms (Views: 70.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:48:19 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:48:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 91ms (Views: 89.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:48:20 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.8ms)

Completed 200 OK in 81ms (Views: 77.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:48:21 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HVNojPFwDGU5kIviQa9H/21I63X7qLH/dzjELtZ0OPuEKUChprzkuneapCBGPprHL9ubIaf2aLCg/YcQUblddw==", "email"=>"", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/users/login Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:48:21 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.3ms)

Completed 200 OK in 96ms (Views: 94.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:48:24 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pJQnvPj85MNM7XKMKKo9kBj2/R23ntmfqm3Xuqy+CKI97g+RrzAMHALnXU4vO+CoWmWNSevAANB9qJSEK3NtLg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:48:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 80ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:48:26 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 127ms (Views: 124.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:48:35 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aZXIR0xa2dZ3YS7pSx65lIwqyxLaadRV0Iu5H79qUFRaxGQZ6uqUsFtH2su1F39bV0MP/ZpPLBDWbm5RuKgqRA==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:60
 (6.1ms)  COMMIT
↳ app/models/url.rb:60
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
↳ app/models/domain_prefix.rb:4
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:11
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.crco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 10], ["id", 6]]
↳ app/workers/url_worker.rb:11
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.cico/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "cricbuzz"], ["prefix", "www.cico/"]]
↳ app/models/domain_prefix.rb:20
 (6.2ms)  COMMIT
↳ app/workers/url_worker.rb:11
 (8.7ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2831031"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report"], ["id", 347], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "2831031"], ["id", 347]]
↳ app/models/url.rb:67
 (5.1ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&short_url=www.cico%2F2831031 Completed 200 OK in 77ms (ActiveRecord: 27.6ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&short_url=www.cico%2F2831031” for 127.0.0.1 at 2019-01-28 16:48:35 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report", "short_url"=>"www.cico/2831031"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 69ms (Views: 67.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:48:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 71ms (Views: 67.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:48:46 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oXdHE2H0R87EYU+ghnDuGi42GThR/k/TrgAr6Tb86BCSJutNx0QKqOhHu4J4eSjV9V/d1xHYt5ao5fynMT6SAA==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:60
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 11], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (6.0ms)  COMMIT
↳ app/models/url.rb:60
 (7.4ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e16a835"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["id", 348], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e16a835"], ["id", 348]]
↳ app/models/url.rb:67
 (0.4ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835 Completed 200 OK in 33ms (ActiveRecord: 8.0ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835” for 127.0.0.1 at 2019-01-28 16:48:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "short_url"=>"www.cico/e16a835"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.1ms)

Completed 200 OK in 82ms (Views: 81.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:48:53 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 69ms (Views: 65.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:48:57 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uA1gy9oGoN3Fn5FPyWj5aS1H5ylATnpblmz1ZcCqBDaLXMyVfLbtu+m5ZW03YT+m9i4jxgBogh6QiSIrx2h+Jg==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report"], ["LIMIT", 1]]
↳ app/models/url.rb:82
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&short_url=www.cico%2F2831031 Completed 200 OK in 8ms (ActiveRecord: 1.3ms)

Started GET “/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&short_url=www.cico%2F2831031” for 127.0.0.1 at 2019-01-28 16:48:57 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report", "short_url"=>"www.cico/2831031"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 79ms (Views: 77.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:49:00 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.9ms)

Completed 200 OK in 71ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:49:09 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"v6V84uVSCrz9SwTsg2ORpnBjaicu6n1UHiaftCK6SP+M9NC8Q+JH2tFt8M59aldpqwquyG7MhREYw0j6JXgy7w==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106381/chamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106381/chamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.2ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106381/chamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:60
Report Load (0.6ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 12], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (6.0ms)  COMMIT
↳ app/models/url.rb:60
 (5.9ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d4b7ba2"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106381/chamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba"], ["id", 349], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "d4b7ba2"], ["id", 349]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106381%2Fchamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba&short_url=www.cico%2Fd4b7ba2 Completed 200 OK in 33ms (ActiveRecord: 8.0ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106381%2Fchamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba&short_url=www.cico%2Fd4b7ba2” for 127.0.0.1 at 2019-01-28 16:49:09 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106381/chamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba", "short_url"=>"www.cico/d4b7ba2"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 72ms (Views: 71.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:49:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 85ms (Views: 82.3ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:49:11 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.3ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (6.3ms)

Completed 200 OK in 72ms (Views: 64.3ms | ActiveRecord: 3.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:49:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 107ms (Views: 104.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:49:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 56ms (Views: 53.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 16:49:57 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pioA+cMRXw1hlKkI3P4nEZlsLNocoURfFRb/FkElw/LSBAv7UHIYGzXlKXYy8TF8hcMvAoaDnJudIhqEmbT/aQ==", "mode"=>"long_url", "q"=>"stacko", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 8ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-28 16:49:57 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.7ms)

Completed 200 OK in 75ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:50:01 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (36.6ms)

Completed 200 OK in 82ms (Views: 79.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:50:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 63.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:52:27 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:52:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 67ms (Views: 64.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:52:28 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (6.2ms)

Completed 200 OK in 67ms (Views: 65.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:52:46 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7A2hAIseDsQ8mp32hE/B35wswkI3Ee8wdfbYV4yuGml1d4kt3NLmG3KQsjSD3hzn3r+yFmtPNn+iM5tpC2N/5Q==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:52:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 63ms (Views: 61.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:52:48 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:52:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 55ms (Views: 53.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:52:48 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.9ms)

Completed 200 OK in 84ms (Views: 81.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:52:53 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yfQqG0NfFM0sqmASR0RInVAZggsBnBuNEIzOY0XOPs9QjgI2FJP8EmKgT9BA1ZWlEoryX13CwsLHSY1dwgNbQw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:52:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 85ms (Views: 81.6ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:55:27 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:55:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 68ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:56:03 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.5ms)

Completed 200 OK in 90ms (Views: 85.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:56:10 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iOUtJ+q7HLXALO7o0vbN+07aBVaUz1ZPZ6c8okvluDARnwUKvXf0ao4mwSrVZxDDDEl1AsiRjwCwYn+czCjdvA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:56:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 70ms (Views: 65.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 16:56:14 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:56:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 58ms (Views: 56.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 16:56:15 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.0ms)

Completed 200 OK in 97ms (Views: 94.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 16:56:19 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tXPe3LgfFHywZtPXfMAQTAStXwi+QlPaEU3WOq8wN0IsCfbx79P8o/5s/BV7Uc10Rj4vXOIcipXGiJUEKP1Szg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:56:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 75ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 16:56:41 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (7.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (10.5ms)

Completed 200 OK in 89ms (Views: 76.8ms | ActiveRecord: 7.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:56:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 105ms (Views: 102.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 16:56:57 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.6ms)

Completed 200 OK in 69ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 16:57:02 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J//lgxKy1hIHXeW25wFehI8e3rgVh55iNasLRoWlNAIUrkndtAKbdCt7EZQZCJhLVHcaV1WhZiczTtwIgmdOEg==", "long_url"=>"https://www.elastic.co/blog/elastic-stack-6-5-0-released?elektra=products&storm=main", "domain"=>"elasticsearch", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/blog/elastic-stack-6-5-0-released?elektra=products&storm=main"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/blog/elastic-stack-6-5-0-released?elektra=products&storm=main"], ["domain", "elasticsearch"]]
↳ app/models/url.rb:60
 (5.6ms)  COMMIT
↳ app/models/url.rb:60
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d6711e2"], ["LIMIT", 1]]
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 13], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:11
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastic.co/blog/elastic-stack-6-5-0-released?elektra=products&storm=main"], ["id", 350], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "d6711e2"], ["id", 350]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=elasticsearch&long_url=https%3A%2F%2Fwww.elastic.co%2Fblog%2Felastic-stack-6-5-0-released%3Felektra%3Dproducts%26storm%3Dmain&short_url=www.elco%2Fd6711e2 Completed 200 OK in 57ms (ActiveRecord: 8.1ms)

Started GET “/urls/show?Status=Success&domain=elasticsearch&long_url=https%3A%2F%2Fwww.elastic.co%2Fblog%2Felastic-stack-6-5-0-released%3Felektra%3Dproducts%26storm%3Dmain&short_url=www.elco%2Fd6711e2” for 127.0.0.1 at 2019-01-28 16:57:02 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"elasticsearch", "long_url"=>"https://www.elastic.co/blog/elastic-stack-6-5-0-released?elektra=products&storm=main", "short_url"=>"www.elco/d6711e2"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 66ms (Views: 64.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:57:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:57:05 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 85ms (Views: 81.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 16:57:09 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"R4pBIlTrexKZVwQ1m8/+0mOf35oMcWIcDHZQ8BoRjV0zpEogx4g8BM0mhEt1wOi/fzDcQpZTutiEQrViwoCxxg==", "mode"=>"long_url", "q"=>"elastic", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9)  [["id", 350], ["id", 335], ["id", 328], ["id", 329], ["id", 330], ["id", 331], ["id", 332], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9)  [["id", 350], ["id", 335], ["id", 328], ["id", 329], ["id", 330], ["id", 331], ["id", 332], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fblog%2Felastic-stack-6-5-0-released%3Felektra%3Dproducts%26storm%3Dmain&array%5B%5D%5Bshort_url%5D=d6711e2&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fcompound-queries.html&array%5B%5D%5Bshort_url%5D=ab04bdf&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fanalysis-custom-analyzer.html&array%5B%5D%5Bshort_url%5D=f8c7123&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&array%5B%5D%5Bshort_url%5D=33e355c&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.html&array%5B%5D%5Bshort_url%5D=0c47646&array%5B%5D%5Bdomain%5D=tutorialspoint&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_index_apis.htm&array%5B%5D%5Bshort_url%5D=f4db229&array%5B%5D%5Bdomain%5D=tutorialspoint&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 18ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fblog%2Felastic-stack-6-5-0-released%3Felektra%3Dproducts%26storm%3Dmain&array%5B%5D%5Bshort_url%5D=d6711e2&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fcompound-queries.html&array%5B%5D%5Bshort_url%5D=ab04bdf&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fanalysis-custom-analyzer.html&array%5B%5D%5Bshort_url%5D=f8c7123&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&array%5B%5D%5Bshort_url%5D=33e355c&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.html&array%5B%5D%5Bshort_url%5D=0c47646&array%5B%5D%5Bdomain%5D=tutorialspoint&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_index_apis.htm&array%5B%5D%5Bshort_url%5D=f4db229&array%5B%5D%5Bdomain%5D=tutorialspoint&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 16:57:09 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.elastic.co/blog/elastic-stack-6-5-0-released?elektra=products&storm=main", "short_url"=>"d6711e2", "domain"=>"elasticsearch"}, {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html", "short_url"=>"ab04bdf", "domain"=>"elasticsearch"}, {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html", "short_url"=>"f8c7123", "domain"=>"elasticsearch"}, {"long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"33e355c", "domain"=>"housing.com"}, {"long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.html", "short_url"=>"0c47646", "domain"=>"tutorialspoint"}, {"long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_index_apis.htm", "short_url"=>"f4db229", "domain"=>"tutorialspoint"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"e9147c5", "domain"=>"housing.com"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 70ms (Views: 68.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 16:57:18 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.6ms)

Completed 200 OK in 91ms (Views: 89.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 16:57:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 76ms (Views: 73.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 17:25:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 68ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 17:25:06 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 76ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 17:25:07 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"79ImkVmZN4BoSRCgGelc3yqG/hj0XlqVCGhyjFd9vlV2qA68DlXfXyZDP2IeeIHnaBWOTKgAg9rfrTGy0LDb2Q==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 7ms (ActiveRecord: 4.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 17:25:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 79ms (Views: 71.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 17:25:08 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 87ms (Views: 84.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 17:25:10 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9Bw+nttl1d/dyNLnhv5BBjzf/gDOZa/YzPuNwj8+H9yAMjWcSAaSyYm5Uplo8VdrIHD92FRHdxxEz2hQ568jRw==", "mode"=>"long_url", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:38

Redirected to localhost:3000/search Completed 200 OK in 14ms (ActiveRecord: 1.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 17:25:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 68ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 17:25:13 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cA+3NDL5CKaMhrpxV3KS2qvVAbzcul3eWk7nlRuWk20EIbw2oZpPsNj3Og+5fYS3t3oCZEaYhRrSegIHwwev9g==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 7ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 17:25:14 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 91ms (Views: 85.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 17:25:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 73ms (Views: 70.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 17:53:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 81ms (Views: 79.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 21:22:42 +0530

 (6.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 381ms (Views: 375.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 21:22:44 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (10.8ms)

Completed 200 OK in 97ms (Views: 95.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 21:22:45 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1oGLoBkBphEROZdggSS+oAoPAk+TRJ1zuhVDij1PuApYBls1tmJUAcvBeYcILG6H2rLUiCqdaMamTkJEA2uqUw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 20ms (ActiveRecord: 7.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:22:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 61ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 21:22:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.6ms)

Completed 200 OK in 85ms (Views: 83.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:22:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 92ms (Views: 90.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 21:22:50 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.4ms)

Completed 200 OK in 46ms (Views: 45.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-28 21:22:59 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"M1ymZICozEEH3dG+K0UHAua4CjhyKMzvsk2FP8uBtv6sm5rEY4OzoUyduntwkzqhLPsMjU6ChMnSIXECjKw8wA==", "long_url"=>"https://www.primevideo.com/detail/0HKBXNX0JXVMWU177HTYWP9ZL6/ref=atv_hm_hom_c_8pZiqd_2_3", "domain"=>"amazon", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.primevideo.com/detail/0HKBXNX0JXVMWU177HTYWP9ZL6/ref=atv_hm_hom_c_8pZiqd_2_3"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.primevideo.com/detail/0HKBXNX0JXVMWU177HTYWP9ZL6/ref=atv_hm_hom_c_8pZiqd_2_3"], ["domain", "amazon"]]
↳ app/models/url.rb:60
 (5.8ms)  COMMIT
↳ app/models/url.rb:60
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "amazon"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "www.amco/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "amazon"], ["prefix", "www.amco/"]]
↳ app/models/domain_prefix.rb:20
 (6.0ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ffc6352"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.primevideo.com/detail/0HKBXNX0JXVMWU177HTYWP9ZL6/ref=atv_hm_hom_c_8pZiqd_2_3"], ["id", 351], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "ffc6352"], ["id", 351]]
↳ app/models/url.rb:67
 (6.0ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=amazon&long_url=https%3A%2F%2Fwww.primevideo.com%2Fdetail%2F0HKBXNX0JXVMWU177HTYWP9ZL6%2Fref%3Datv_hm_hom_c_8pZiqd_2_3&short_url=www.amco%2Fffc6352 Completed 200 OK in 111ms (ActiveRecord: 26.7ms)

Started GET “/urls/show?Status=Success&domain=amazon&long_url=https%3A%2F%2Fwww.primevideo.com%2Fdetail%2F0HKBXNX0JXVMWU177HTYWP9ZL6%2Fref%3Datv_hm_hom_c_8pZiqd_2_3&short_url=www.amco%2Fffc6352” for 127.0.0.1 at 2019-01-28 21:22:59 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"amazon", "long_url"=>"https://www.primevideo.com/detail/0HKBXNX0JXVMWU177HTYWP9ZL6/ref=atv_hm_hom_c_8pZiqd_2_3", "short_url"=>"www.amco/ffc6352"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.4ms)
Report Load (6.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-28"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.3ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-28"], ["id", 6], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 14], ["id", 6]]
↳ app/workers/url_worker.rb:11
 (1.1ms)  COMMIT
↳ app/workers/url_worker.rb:11

Completed 200 OK in 61ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 21:23:06 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.8ms)

Completed 200 OK in 80ms (Views: 78.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:23:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 59ms (Views: 57.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 21:23:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 57ms (Views: 56.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 21:23:21 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6s+Gji2fFAm/Hh2fql0nDFDO0BEYhJmwnpYox7+E+sEbY0QsseRTserBfQ7ta/zQSKlSI44fZAsBHPnzSnK+tg==", "mode"=>"short_url", "q"=>"ffc63", "commit"=>"Search"}
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 351]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 351]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.primevideo.com%2Fdetail%2F0HKBXNX0JXVMWU177HTYWP9ZL6%2Fref%3Datv_hm_hom_c_8pZiqd_2_3&array%5B%5D%5Bshort_url%5D=ffc6352&array%5B%5D%5Bdomain%5D=amazon Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.primevideo.com%2Fdetail%2F0HKBXNX0JXVMWU177HTYWP9ZL6%2Fref%3Datv_hm_hom_c_8pZiqd_2_3&array%5B%5D%5Bshort_url%5D=ffc6352&array%5B%5D%5Bdomain%5D=amazon” for 127.0.0.1 at 2019-01-28 21:23:21 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.primevideo.com/detail/0HKBXNX0JXVMWU177HTYWP9ZL6/ref=atv_hm_hom_c_8pZiqd_2_3", "short_url"=>"ffc6352", "domain"=>"amazon"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 74ms (Views: 72.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 21:23:23 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 63ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 21:23:31 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"K0DRYAdPiMof0Y9VmWunMUjylZbXfIXCbZJMSYZTWiva7BPCmzTPckoO78TeXXztUJUXpEHneHnyGJ19c6UeXA==", "mode"=>"long_url", "q"=>"352", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:38

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 21:23:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 58ms (Views: 56.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 21:23:36 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gmsUr3nMhBxFcI8icAhDF76lhQc7jSUqUdptSClmrplzx9YN5bfDpBCv77M3PpjLpsIHNa0W2JHOULx83JDq7g==", "mode"=>"short_url", "q"=>"352", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 351]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 351]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.primevideo.com%2Fdetail%2F0HKBXNX0JXVMWU177HTYWP9ZL6%2Fref%3Datv_hm_hom_c_8pZiqd_2_3&array%5B%5D%5Bshort_url%5D=ffc6352&array%5B%5D%5Bdomain%5D=amazon Completed 200 OK in 12ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.primevideo.com%2Fdetail%2F0HKBXNX0JXVMWU177HTYWP9ZL6%2Fref%3Datv_hm_hom_c_8pZiqd_2_3&array%5B%5D%5Bshort_url%5D=ffc6352&array%5B%5D%5Bdomain%5D=amazon” for 127.0.0.1 at 2019-01-28 21:23:36 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.primevideo.com/detail/0HKBXNX0JXVMWU177HTYWP9ZL6/ref=atv_hm_hom_c_8pZiqd_2_3", "short_url"=>"ffc6352", "domain"=>"amazon"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 85ms (Views: 82.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 21:23:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 66ms (Views: 64.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 21:23:45 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5uQkpIRw3h1ws17C8JM04qUO764IFJZwhqCOjKWJHsEXSOYGGAuZpSVsPlO3pe8+vWltnJ6Pa8sZKl+4UH9atg==", "mode"=>"long_url", "q"=>"rails", "commit"=>"Search"}
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 8ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 21:23:45 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"e9147c5", "domain"=>"housing.com"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 55ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 21:23:50 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.4ms)

Completed 200 OK in 75ms (Views: 72.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-28 21:23:53 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DEiBVNkced9+rKB9+06dgAw0FHCIqnIdCDaWNqNixBj95EP2RWc+ZytzwOy8eEZcFFOWQh4xj6aXvEcCVpSAbw==", "mode"=>"long_url", "q"=>"rai", "commit"=>"Search"}
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:38
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:43

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 9ms (ActiveRecord: 0.6ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-28 21:23:53 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"e9147c5", "domain"=>"housing.com"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 58ms (Views: 56.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 21:23:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 63ms (Views: 60.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:23:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 77ms (Views: 74.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 21:24:01 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:24:01 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 48ms (Views: 45.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-28 21:24:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 120ms (Views: 118.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-28 21:24:09 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.5ms)

Completed 200 OK in 82ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-28 21:24:10 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GRAIajarRy411T3QHQ+vrNkY2Eq4j8vsFFPoAbjMjimXl9j/mci1Pu8t0zeUB3+LCaUOjQFWPlkICOnPhuiccA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 3ms (ActiveRecord: 0.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:24:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 63.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-28 21:24:12 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (1.9ms)

Completed 200 OK in 68ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:24:14 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 77ms (Views: 75.4ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-28 21:24:15 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.3ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (10.1ms)

Completed 200 OK in 66ms (Views: 45.2ms | ActiveRecord: 5.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:24:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-28 21:24:20 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.3ms)

Completed 200 OK in 71ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:24:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 73ms (Views: 71.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-28 21:24:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:24:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 77ms (Views: 75.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-28 21:24:36 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-28 21:24:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 54ms (Views: 52.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-29 07:55:08 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 412ms (Views: 403.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 07:55:10 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (10.5ms)

Completed 200 OK in 105ms (Views: 103.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 07:55:12 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nEbo+Ztcs+93WxtZTwFGPZltB6gqa+5ovzlvQlkD2kESwThsND9B/62j9b7GCZYaSdDRb5OyG92jYm6MZyfIGA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (7.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 25ms (ActiveRecord: 13.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 07:55:12 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 57ms (Views: 55.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 07:55:13 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.6ms)

Completed 200 OK in 60ms (Views: 57.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 07:55:16 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0youRmUxvOJu96ir/InECwh+XUxlTmvydH15hxU3wdMihuzk+Ur7WjsoyDq7vx/XEBnffvPVlknr96iz4MGFpA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 106ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `custom_search' for #<ElasticSearchController:0x00007fadec3a8878>):

app/controllers/elastic_search_controller.rb:17:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 07:55:33 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0youRmUxvOJu96ir/InECwh+XUxlTmvydH15hxU3wdMihuzk+Ur7WjsoyDq7vx/XEBnffvPVlknr96iz4MGFpA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 94ms (ActiveRecord: 3.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 07:55:33 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 49ms (Views: 46.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 07:55:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 88ms (Views: 85.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 07:55:38 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pDeI/yRE3MWaEh69H/hqT2DU4mpuLNc0bs4gctJ383JVm0pduD+bfc/NfixYzrGTeLNgWPi3Ko/xRPFGJ4G3BQ==", "mode"=>"long_url", "q"=>"sta", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9)  [["id", 350], ["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 314], ["id", 316], ["id", 317], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9)  [["id", 350], ["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 314], ["id", 316], ["id", 317], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fblog%2Felastic-stack-6-5-0-released%3Felektra%3Dproducts%26storm%3Dmain&array%5B%5D%5Bshort_url%5D=d6711e2&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 37ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fblog%2Felastic-stack-6-5-0-released%3Felektra%3Dproducts%26storm%3Dmain&array%5B%5D%5Bshort_url%5D=d6711e2&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=2c1b9f0&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=f96a4bc&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=1c06987&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fthe-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458&array%5B%5D%5Bshort_url%5D=d0d5774&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 07:55:38 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.elastic.co/blog/elastic-stack-6-5-0-released?elektra=products&storm=main", "short_url"=>"d6711e2", "domain"=>"elasticsearch"}, {"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"2c1b9f0", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-gue-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"f96a4bc", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/the-ulmate-e-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"1c06987", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://codeburst.io/the-ultimate-guide-to-learning-full-stack-web-development-in-6-months-for-30-72b3854a7458", "short_url"=>"d0d5774", "domain"=>"codeburst.io"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.9ms)

Completed 200 OK in 98ms (Views: 96.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 07:55:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 64ms (Views: 61.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 07:55:43 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pKe99lOi/OGcsO1vK0/71GHRxDGUHnB7RNxuRKJZKGBVC39Uz9m7Wclvjf5seSAIebZGAwKFjcDbVr9wV69sFw==", "mode"=>"long_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 12ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 07:55:43 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 59ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 07:55:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ERe/9ygk0CRAkzuDh87QmEAOt1FM/5MPc5vlSePVBtfgu31VtF+XnBVMWxLA+AtEWGk1Y9pkbrTsETR9FiNCoA==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 28ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 07:55:46 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 78ms (Views: 74.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 07:55:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 67ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 07:55:52 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G/dFad3K0mJsvE8Eb9Rl0yMABQDBBqyiEXpGfd7Q7E/qW4fLQbGV2jljL5Uo4r4PO2eHMledURmO8JdJKyaoOA==", "mode"=>"short_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 13ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 07:55:52 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 64ms (Views: 62.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 07:55:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 70ms (Views: 67.7ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 08:00:50 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:79
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 48ms (Views: 0.3ms | ActiveRecord: 15.8ms)

Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 08:00:54 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (2.1ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["domain", "elasticsearch"]]
↳ app/models/url.rb:60
 (18.1ms)  COMMIT
↳ app/models/url.rb:60
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d5726e8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["id", 352], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "d5726e8"], ["id", 352]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Completed 200 OK in 106ms (Views: 0.2ms | ActiveRecord: 22.3ms)

Started GET “/short-url?short_url=www.elco/d5726e8” for 127.0.0.1 at 2019-01-29 08:01:05 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"www.elco/d5726e8"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d5726e8"], ["LIMIT", 1]]
↳ app/models/url.rb:107

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-29 08:01:10 +0530 Processing by UrlsController#api_get_short_url as / Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/short-url?shorturl=asdsd” for 127.0.0.1 at 2019-01-29 08:01:22 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"shorturl"=>"asdsd"}

Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=asdsd” for 127.0.0.1 at 2019-01-29 08:01:27 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"asdsd"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "asdsd"], ["LIMIT", 1]]
↳ app/models/url.rb:107

Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)

Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html” for 127.0.0.1 at 2019-01-29 08:01:34 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)

Started POST “/shorten-url/?long_url=www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 08:01:37 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:79

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 1.1ms)

Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:13
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:13
Report Create (0.4ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-29"], ["no_of_urls", 1]]
↳ app/workers/url_worker.rb:13
 (1.3ms)  COMMIT
↳ app/workers/url_worker.rb:13

Started GET “/” for 127.0.0.1 at 2019-01-29 09:54:12 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 323ms (Views: 318.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 09:54:14 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.8ms)

Completed 200 OK in 67ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 09:54:15 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OQvIML/9p9rmQzMsxjWcfNZ8r/ksh+cfonmYklH768W3jBilEJ5Vyjy73ctPPUxbBsF5PpVeEqq+Iplcb9/5nA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 16ms (ActiveRecord: 3.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 09:54:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 56ms (Views: 54.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 09:54:16 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.5ms)

Completed 200 OK in 92ms (Views: 89.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 09:54:32 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"VhlEgNqD6w/tduZ1btmL4sM8RzUO4Wk/1q/yMHQHuubJ3nggOaiU76Y2jbA1D7ZBCX9BgDJLIRm2wwYNMyow2A==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report"], ["LIMIT", 1]]
↳ app/models/url.rb:79
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&short_url=www.cico%2F2831031 Completed 200 OK in 46ms (ActiveRecord: 6.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&short_url=www.cico%2F2831031” for 127.0.0.1 at 2019-01-29 09:54:32 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report", "short_url"=>"www.cico/2831031"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.7ms)

Completed 200 OK in 128ms (Views: 123.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 09:54:36 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.7ms)

Completed 200 OK in 60ms (Views: 58.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 09:54:45 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CXETUP2FA4Ip/OckbrFJ6GOb1LtNCIkznxs2nwRmKF6Wti/wHq58YmK8jOE1Z3RLqdjSDnGiwRX/d8KiQ0uiYA==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106389/we-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106389/we-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (5.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106389/we-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:60
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (6.2ms)  COMMIT
↳ app/models/url.rb:60
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.4ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 2], ["id", 7]]
↳ app/workers/url_worker.rb:11
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ecb7abc"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106389/we-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019"], ["id", 353], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "ecb7abc"], ["id", 353]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106389%2Fwe-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019&short_url=www.cico%2Fecb7abc Completed 200 OK in 41ms (ActiveRecord: 13.8ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106389%2Fwe-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019&short_url=www.cico%2Fecb7abc” for 127.0.0.1 at 2019-01-29 09:54:45 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106389/we-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019", "short_url"=>"www.cico/ecb7abc"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 63ms (Views: 61.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 09:54:51 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 78ms (Views: 76.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 09:55:01 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sJVUmLxbl3eP7v1fx3240Dmdp0BQquuuCDLVYCWIygEvUmg4X3Dol8Sulpqcq4Vz896h9WwAo4hoXiFdYqVAPw==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106388/bcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106388/bcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106388/bcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:60
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
 (6.0ms)  COMMIT
↳ app/models/url.rb:60
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 3], ["id", 7]]
↳ app/workers/url_worker.rb:11
 (6.1ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "571db5f"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106388/bcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion"], ["id", 354], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "571db5f"], ["id", 354]]
↳ app/models/url.rb:67
 (0.3ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106388%2Fbcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion&short_url=www.cico%2F571db5f Completed 200 OK in 39ms (ActiveRecord: 8.2ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106388%2Fbcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion&short_url=www.cico%2F571db5f” for 127.0.0.1 at 2019-01-29 09:55:01 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106388/bcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion", "short_url"=>"www.cico/571db5f"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 61ms (Views: 59.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 09:55:03 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.4ms)

Completed 200 OK in 69ms (Views: 66.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 09:55:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 78ms (Views: 76.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-29 09:55:05 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (3.0ms)

Completed 200 OK in 70ms (Views: 67.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 09:55:07 +0530 Processing by UrlsController#show_short as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9RlYHlUJ0J1aiY4RY+SOPTabNFYZkME+tlIUHkFHZBAbuHXSgST1sASGkdLY1tefkbdXu8GjvTY3wsztdiyGhg==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:107
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 11ms (ActiveRecord: 0.7ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-29 09:55:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 64ms (Views: 63.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 09:55:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 84ms (Views: 82.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 09:55:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 58ms (Views: 56.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 09:55:13 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZkPYRuXZvO5UzcRfhT5zdG5azH+wshsXO/CcYpFRSZ2X7xrkeaL7VgESpM7CCKiodj1OTSYp5qykek1WZKcN6g==", "mode"=>"long_url", "q"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5)  [["id", 349], ["id", 348], ["id", 347], ["id", 353], ["id", 354]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5)  [["id", 349], ["id", 348], ["id", 347], ["id", 353], ["id", 354]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106381%2Fchamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba&array%5B%5D%5Bshort_url%5D=d4b7ba2&array%5B%5D%5Bdomain%5D=cricbuzz&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&array%5B%5D%5Bshort_url%5D=e16a835&array%5B%5D%5Bdomain%5D=cricbuzz&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&array%5B%5D%5Bshort_url%5D=2831031&array%5B%5D%5Bdomain%5D=cricbuzz&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106389%2Fwe-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019&array%5B%5D%5Bshort_url%5D=ecb7abc&array%5B%5D%5Bdomain%5D=cricbuzz&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106388%2Fbcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion&array%5B%5D%5Bshort_url%5D=571db5f&array%5B%5D%5Bdomain%5D=cricbuzz Completed 200 OK in 28ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106381%2Fchamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba&array%5B%5D%5Bshort_url%5D=d4b7ba2&array%5B%5D%5Bdomain%5D=cricbuzz&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&array%5B%5D%5Bshort_url%5D=e16a835&array%5B%5D%5Bdomain%5D=cricbuzz&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&array%5B%5D%5Bshort_url%5D=2831031&array%5B%5D%5Bdomain%5D=cricbuzz&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106389%2Fwe-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019&array%5B%5D%5Bshort_url%5D=ecb7abc&array%5B%5D%5Bdomain%5D=cricbuzz&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106388%2Fbcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion&array%5B%5D%5Bshort_url%5D=571db5f&array%5B%5D%5Bdomain%5D=cricbuzz” for 127.0.0.1 at 2019-01-29 09:55:13 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.cricbuzz.com/cricket-news/106381/chamika-karunaratne-added-to-test-squad-as-injury-crisis-worsens-for-sri-lanka-cricket-australia-gabba", "short_url"=>"d4b7ba2", "domain"=>"cricbuzz"}, {"long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "short_url"=>"e16a835", "domain"=>"cricbuzz"}, {"long_url"=>"https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report", "short_url"=>"2831031", "domain"=>"cricbuzz"}, {"long_url"=>"https://www.cricbuzz.com/cricket-news/106389/we-negated-the-spinners-but-hardik-bowled-very-well-ross-taylor-new-zealand-vs-india-2019", "short_url"=>"ecb7abc", "domain"=>"cricbuzz"}, {"long_url"=>"https://www.cricbuzz.com/cricket-news/106388/bcb-president-denies-making-the-call-on-sabbir-rahmans-inclusion", "short_url"=>"571db5f", "domain"=>"cricbuzz"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 69ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 09:55:23 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 84ms (Views: 81.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 09:55:26 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Fh8ts6pu2z5Lk+hpyLhl0Rq55dleOPGM8elQ5T3paxPns+8RNhWchh5MiPiPjr4NAt5n68ijDDduY4HRyB8vZA==", "mode"=>"short_url", "q"=>"2831031", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 347]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 347]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&array%5B%5D%5Bshort_url%5D=2831031&array%5B%5D%5Bdomain%5D=cricbuzz Completed 200 OK in 9ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106380%2Fall-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report&array%5B%5D%5Bshort_url%5D=2831031&array%5B%5D%5Bdomain%5D=cricbuzz” for 127.0.0.1 at 2019-01-29 09:55:26 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.cricbuzz.com/cricket-news/106380/all-round-dominance-helps-india-seal-series-vs-new-zealand-3rd-odi-report", "short_url"=>"2831031", "domain"=>"cricbuzz"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 74ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 09:55:30 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 70ms (Views: 68.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 09:55:34 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Jc/61TWls4BtC2NbtZD4ONMtDpbqs28pcbBkqSvatT7UYzh3qd70ODjUA8rypiPky0qMpHwokpLuOrWd3izxSQ==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 09:55:34 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 79ms (Views: 75.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 09:55:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 59ms (Views: 57.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 09:55:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.9ms)

Completed 200 OK in 59ms (Views: 57.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 09:55:41 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BM/zGlzK8UTbcTpQNP+RQsHHWQLhnYFrHRfeNXcpg0H1YzG4wLG2/I6uWsFzyUqe2aDbMHcGfNCCnQ8Bgt/HNg==", "mode"=>"long_url", "q"=>"elas", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 350], ["id", 335], ["id", 328], ["id", 352], ["id", 329], ["id", 330], ["id", 331], ["id", 332], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 350], ["id", 335], ["id", 328], ["id", 352], ["id", 329], ["id", 330], ["id", 331], ["id", 332], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fblog%2Felastic-stack-6-5-0-released%3Felektra%3Dproducts%26storm%3Dmain&array%5B%5D%5Bshort_url%5D=d6711e2&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fcompound-queries.html&array%5B%5D%5Bshort_url%5D=ab04bdf&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fanalysis-custom-analyzer.html&array%5B%5D%5Bshort_url%5D=f8c7123&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fnalysis-custom-analyzer.html&array%5B%5D%5Bshort_url%5D=d5726e8&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&array%5B%5D%5Bshort_url%5D=33e355c&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.html&array%5B%5D%5Bshort_url%5D=0c47646&array%5B%5D%5Bdomain%5D=tutorialspoint&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_index_apis.htm&array%5B%5D%5Bshort_url%5D=f4db229&array%5B%5D%5Bdomain%5D=tutorialspoint&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 11ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fblog%2Felastic-stack-6-5-0-released%3Felektra%3Dproducts%26storm%3Dmain&array%5B%5D%5Bshort_url%5D=d6711e2&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fcompound-queries.html&array%5B%5D%5Bshort_url%5D=ab04bdf&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fanalysis-custom-analyzer.html&array%5B%5D%5Bshort_url%5D=f8c7123&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.elastic.co%2Fguide%2Fen%2Felasticsearch%2Freference%2Fcurrent%2Fnalysis-custom-analyzer.html&array%5B%5D%5Bshort_url%5D=d5726e8&array%5B%5D%5Bdomain%5D=elasticsearch&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&array%5B%5D%5Bshort_url%5D=33e355c&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.html&array%5B%5D%5Bshort_url%5D=0c47646&array%5B%5D%5Bdomain%5D=tutorialspoint&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_index_apis.htm&array%5B%5D%5Bshort_url%5D=f4db229&array%5B%5D%5Bdomain%5D=tutorialspoint&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 09:55:41 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.elastic.co/blog/elastic-stack-6-5-0-released?elektra=products&storm=main", "short_url"=>"d6711e2", "domain"=>"elasticsearch"}, {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/compound-queries.html", "short_url"=>"ab04bdf", "domain"=>"elasticsearch"}, {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-custom-analyzer.html", "short_url"=>"f8c7123", "domain"=>"elasticsearch"}, {"long_url"=>"https://www.elastic.co/guide/en/elasticsearch/reference/current/nalysis-custom-analyzer.html", "short_url"=>"d5726e8", "domain"=>"elasticsearch"}, {"long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"33e355c", "domain"=>"housing.com"}, {"long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.html", "short_url"=>"0c47646", "domain"=>"tutorialspoint"}, {"long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_index_apis.htm", "short_url"=>"f4db229", "domain"=>"tutorialspoint"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"e9147c5", "domain"=>"housing.com"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.5ms)

Completed 200 OK in 82ms (Views: 81.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 09:55:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 61ms (Views: 58.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 09:55:46 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 60ms (Views: 58.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 09:55:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 89ms (Views: 87.9ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 09:55:49 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (6.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (13.1ms)

Completed 200 OK in 74ms (Views: 48.4ms | ActiveRecord: 8.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 09:55:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 68ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 09:55:53 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 09:55:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 59ms (Views: 57.3ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 09:56:04 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.4ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["domain", "elasticsearch"]]
↳ app/models/url.rb:60
 (1.3ms)  COMMIT
↳ app/models/url.rb:60
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 4], ["id", 7]]
↳ app/workers/url_worker.rb:11
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:11
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "64854af"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.2ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["id", 355], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "64854af"], ["id", 355]]
↳ app/models/url.rb:67
 (0.4ms)  COMMIT
↳ app/models/url.rb:67

Completed 200 OK in 31ms (Views: 0.2ms | ActiveRecord: 5.2ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 09:56:10 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:79

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.9ms)

Started GET “/short-url?short_url=www.elco/64854af” for 127.0.0.1 at 2019-01-29 09:56:15 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"www.elco/64854af"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "64854af"], ["LIMIT", 1]]
↳ app/models/url.rb:107

Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started GET “/short-url?short_url=64854af” for 127.0.0.1 at 2019-01-29 09:56:30 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"64854af"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=64854af” for 127.0.0.1 at 2019-01-29 09:56:31 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"64854af"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=64854af” for 127.0.0.1 at 2019-01-29 09:56:32 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"64854af"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 10:23:41 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.1ms)

Completed 200 OK in 323ms (Views: 317.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 10:23:43 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"v+cDz41c7jBXdjZQHNUIO3KzUokoIcbdkvY6DizcKu8aYyU28Q96bhnaRcxue2S051aO7+Sj650KApcKBRrtUg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 4.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 10:23:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 103ms (Views: 100.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 10:23:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 70ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 10:23:49 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vymuJkeyZH2iVt8kGTSt787gYYZWTevt344bkkwsuV1OhWyE28kjxfeJv7VeAnYz1ofjtMDWFlZABMqmudr9Kg==", "mode"=>"long_url", "q"=>"rails", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 26ms (ActiveRecord: 4.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:23:49 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"e9147c5", "domain"=>"housing.com"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 65ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 10:23:50 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 71ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 10:23:54 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hXcRnbiY1U1xVOBI7g0OyaQ1Arl1dWihcONp0Brs+7R029M/JOOS9SSLgNmpO9UVvFKAi+PulRrvabjk7xq/ww==", "mode"=>"short_url", "q"=>"rails", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 10:23:54 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.2ms)

Completed 200 OK in 63ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 10:23:59 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NDGQpwONYFmiSuTBa6ch5Q0zbZr+BzE7BWJK6q/TcLbFnVIFn/Yn4feVhFAskfo5FVTvqGiczICa6JveWiU0wQ==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:23:59 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.0ms)

Completed 200 OK in 68ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 10:24:03 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 89ms (Views: 86.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 10:24:06 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bijJx9nIx3VBlWpkz5sBX7wmWbfTohD/pGQQXl1q1rSfhAtlRbOAzRRKCvWIrdqDpEHbhUU57UQ77sFqqJySww==", "mode"=>"long_url", "q"=>"ea0", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/search Completed 200 OK in 7ms (ActiveRecord: 0.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 10:24:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 60ms (Views: 59.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 10:24:12 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xsfcSQXF4T2uYMP/Cbf2jwFhvQX+4ZVaEM073LAUJrU3ax7rmb6mhfu/o25OgS1TGQY/N2h6aOGPR+roReJiwg==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 8ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:24:12 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 10:24:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 72ms (Views: 70.0ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=64854af” for 127.0.0.1 at 2019-01-29 10:32:54 +0530 Processing by UrlsController#api_get_short_url as HTML

Parameters: {"short_url"=>"64854af"}
Url Load (2.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "64854af"], ["LIMIT", 1]]
↳ app/models/url.rb:107
DomainPrefix Load (1.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 45ms (Views: 0.3ms | ActiveRecord: 28.5ms)

Started GET “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 10:33:11 +0530

ActionController::RoutingError (No route matches [GET] “/shorten-url”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/search” for 127.0.0.1 at 2019-01-29 10:39:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 47ms (Views: 45.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 10:39:26 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gNSkJ480bRJ9RrZPhKe2YKI391C9VSM4A7V7mtQJ04ZxeGaFE08qqiiZ1t7DkW28ulB1YivO3oOcP6quIf+X8Q==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (1.1ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 12ms (ActiveRecord: 3.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:39:26 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 81ms (Views: 76.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 10:39:28 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 75ms (Views: 73.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 10:39:33 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1K3pSDrBAnZa7WLJPLPn6+G5rLu8zczAxtK58yrMuiAlASvqprpFzg8yAlh7hTw3+d4uiSpWMXtZWGjH3zr+Vw==", "mode"=>"long_url", "q"=>"rails", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:18
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:23

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 10ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:39:33 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"e9147c5", "domain"=>"housing.com"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 63ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:39:43 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 76ms (Views: 73.8ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:39:45 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 57ms (Views: 55.5ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:39:48 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.4ms)

Completed 200 OK in 62ms (Views: 60.1ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:39:49 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 72ms (Views: 69.8ms | ActiveRecord: 0.0ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 10:39:52 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 63ms (Views: 61.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 10:39:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 60ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-29 12:09:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 84ms (Views: 82.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 12:09:18 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.7ms)

Completed 200 OK in 56ms (Views: 54.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 12:09:19 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0TPlZ+0Ck8m3nixlaTnJV4EUkRPs8pAYWSbkGrqZEZJftDXyQmFh2W1mwoLgMRlwUalH1FUrZa1FfeXUhL0Dyw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 6ms (ActiveRecord: 3.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 12:09:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 71.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 12:09:21 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.3ms)

Completed 200 OK in 57ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 12:09:31 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"r3ShdqVQmV4+Qk+Y81H+CwSkFIWidREi1znVcGTUBxYws53WRnvmvnUCJF2oh8OozucSMJ7fWQS3VSFNI/mNKA==", "long_url"=>"www.google.com", "domain"=>"google.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60

Redirected to localhost:3000/urls/show?Error=Enter+Valid+Url&Status=Error Completed 200 OK in 6ms (ActiveRecord: 0.8ms)

Started GET “/urls/show?Error=Enter+Valid+Url&Status=Error” for 127.0.0.1 at 2019-01-29 12:09:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Error"=>"Enter Valid Url", "Status"=>"Error"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 60ms (Views: 58.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 12:09:33 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.2ms)

Completed 200 OK in 75ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 12:09:56 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zAhfvS5PedfAPefwiGoQz8M+ETaJ0coBG32ejWAMcHZTz2MdzWQGN4t9jDXTvC1sCX0Xg7V7gid7EWqwJyH6SA==", "long_url"=>"https://www.google.com", "domain"=>"google.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com"], ["domain", "google.com"]]
↳ app/models/url.rb:60
 (12.4ms)  COMMIT
↳ app/models/url.rb:60
Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:9
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:11
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google.com"], ["LIMIT", 1]]
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 5], ["id", 7]]
↳ app/models/domain_prefix.rb:4
↳ app/workers/url_worker.rb:11
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:11
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "8ffdefb"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:50
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com"], ["id", 356], ["LIMIT", 1]]
↳ app/models/url.rb:67
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "8ffdefb"], ["id", 356]]
↳ app/models/url.rb:67
 (0.4ms)  COMMIT
↳ app/models/url.rb:67

Redirected to localhost:3000/urls/show?Status=Success&domain=google.com&long_url=https%3A%2F%2Fwww.google.com&short_url=www.goco%2F8ffdefb Completed 200 OK in 71ms (ActiveRecord: 17.6ms)

Started GET “/urls/show?Status=Success&domain=google.com&long_url=https%3A%2F%2Fwww.google.com&short_url=www.goco%2F8ffdefb” for 127.0.0.1 at 2019-01-29 12:09:56 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"google.com", "long_url"=>"https://www.google.com", "short_url"=>"www.goco/8ffdefb"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 54ms (Views: 52.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-29 13:01:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 52ms (Views: 51.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 13:01:22 +0530 Processing by UsersController#login as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 49ms (Views: 48.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 13:01:23 +0530 Processing by UsersController#login as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 73ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 13:02:08 +0530 Processing by UsersController#login as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 44ms (Views: 43.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 13:02:09 +0530 Processing by UsersController#login as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 57ms (Views: 56.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 13:02:25 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.3ms)

Completed 200 OK in 41ms (Views: 40.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 13:02:26 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UZq0j3kjr8qxB48ARtJHMgbw6hu+sgujFJCbMiSRFnH0HpJ2BXA7lP+r/Jw0fCu9kxU2fXIwJuOMZDY2DVfRzA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:23

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 6.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 13:02:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 52ms (Views: 49.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-29 14:00:45 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 320ms (Views: 314.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 14:00:47 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.1ms)

Completed 200 OK in 113ms (Views: 110.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 14:00:48 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"86cqD6v2FobZ4+L4vsJeHk/bAkp0jnOmCFHEYwla2Lh9IPqaBJXklgMbDB83yo45n2bUjc1XhhMUCsWtN37K4Q==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 17ms (ActiveRecord: 5.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:00:48 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 52ms (Views: 50.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 14:00:49 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (2.9ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 14:01:00 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2urER+GmreXOBBzELXHznPsJP5FMihyOSIVogeMmCcJFLfjnAo3SBYVEdwF2p84/MUo5JHAgVKgo6Zy8pAuD/A==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106392/hosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106392/hosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106392/hosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:58
 (6.0ms)  COMMIT
↳ app/models/url.rb:58
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "44a401b"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:65
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106392/hosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener"], ["id", 357], ["LIMIT", 1]]
↳ app/models/url.rb:65
Report Load (1.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "44a401b"], ["id", 357]]
↳ app/models/url.rb:65
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 6], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (5.8ms)  COMMIT
↳ app/models/url.rb:65
 (7.2ms)  COMMIT
↳ app/workers/url_worker.rb:8

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106392%2Fhosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener&short_url=www.cico%2F44a401b Completed 200 OK in 89ms (ActiveRecord: 19.4ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106392%2Fhosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener&short_url=www.cico%2F44a401b” for 127.0.0.1 at 2019-01-29 14:01:00 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106392/hosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener", "short_url"=>"www.cico/44a401b"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 96ms (Views: 92.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 14:01:02 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.3ms)

Completed 200 OK in 77ms (Views: 75.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:01:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 70.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-29 14:01:04 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.8ms)

Completed 200 OK in 94ms (Views: 92.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:01:05 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 75ms (Views: 73.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 14:01:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (17.7ms)

Completed 200 OK in 78ms (Views: 76.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 14:01:10 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3yjuompxqrBkUINXKlEWbZuZBPUobnH8oReXbxKmyVMuhCwA9grtCDGP48ZtZ82xg/6Gx771jEc+nUZb51CNJA==", "mode"=>"short_url", "q"=>"44a", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 357]]
↳ app/controllers/elastic_search_controller.rb:12
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 357]]
↳ app/controllers/elastic_search_controller.rb:17

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106392%2Fhosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener&array%5B%5D%5Bshort_url%5D=44a401b&array%5B%5D%5Bdomain%5D=cricbuzz Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106392%2Fhosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener&array%5B%5D%5Bshort_url%5D=44a401b&array%5B%5D%5Bdomain%5D=cricbuzz” for 127.0.0.1 at 2019-01-29 14:01:10 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.cricbuzz.com/cricket-news/106392/hosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener", "short_url"=>"44a401b", "domain"=>"cricbuzz"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 90ms (Views: 86.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 14:01:12 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 71ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 14:01:18 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hW4iTR9/1p57iBr5iWxqf5Ot0kFHuheQxvnXGdjiTbR0wuDvgwSRJi5XemjOWrGji8pQc9Eh6itZcwYtLRQJww==", "mode"=>"long_url", "q"=>"t20", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 357]]
↳ app/controllers/elastic_search_controller.rb:12
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 357]]
↳ app/controllers/elastic_search_controller.rb:17

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106392%2Fhosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener&array%5B%5D%5Bshort_url%5D=44a401b&array%5B%5D%5Bdomain%5D=cricbuzz Completed 200 OK in 20ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106392%2Fhosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener&array%5B%5D%5Bshort_url%5D=44a401b&array%5B%5D%5Bdomain%5D=cricbuzz” for 127.0.0.1 at 2019-01-29 14:01:18 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://www.cricbuzz.com/cricket-news/106392/hosts-australia-to-play-india-in-the-womens-t20-world-cup-2020-opener", "short_url"=>"44a401b", "domain"=>"cricbuzz"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 69ms (Views: 66.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 14:01:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (5.0ms)

Completed 200 OK in 96ms (Views: 95.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:01:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 73ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 14:01:24 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:01:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 65ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:53:23 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 339ms (Views: 332.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 14:53:24 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (8.4ms)

Completed 200 OK in 80ms (Views: 78.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 14:53:25 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u5AJM4y1fJ5W0XXF677CAhuQq3I+ekouH8hlVCPd4lk1F9mmI9aOjowpmyJithIlyy19tYejv5sDk2SaHfnwAA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 49ms (ActiveRecord: 6.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:53:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 63ms (Views: 61.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 14:53:27 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 83ms (Views: 81.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 14:53:28 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"w2CTGOERu/jy9q6WwKjACtWdYI+INf/uqYdWPoFgZTNN50ONTnJJ6CgOQHFJoBAtBSC2SDHsClu13Ffwv0R3ag==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:53:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 107ms (Views: 100.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 14:55:09 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 44ms (Views: 43.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 14:55:10 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KyuCqMKIkjQt72UYo8d3iifn2+SNJUTzzEMv9au/vwilrFI9betgJPcXi/8qz6et91oNIzT8sUbQGC47lZutUQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:55:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.1ms)

Completed 200 OK in 76ms (Views: 74.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 14:55:56 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.0ms)

Completed 200 OK in 69ms (Views: 67.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 14:55:57 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fwCQKoGf8EC9Nj2O6eBDbFby3OgPK8Z+zbOa6Wp5yJnxh0C/LvwCUGfO02lg6JNLhk8KL7byM8vR6JsnVF3awA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 4.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:55:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 73ms (Views: 71.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 14:56:12 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.4ms)

Completed 200 OK in 45ms (Views: 44.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 14:56:13 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MJraN9HKZQ9iUMAFO/4uqO+BZbwada7kGk+F5Rl2z/y+HQqifqmXH7ioLuKy9v6PPzyze6OsW1EGFIQrJ1LdpQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 4.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:56:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 91ms (Views: 89.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 14:56:33 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 44ms (Views: 43.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 14:56:34 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9QiVC3JpDdvlVmDes8gXxi6AAPMAKtey39jryrxOV7R7j0We3Qr/yz+ujjk6wMfh/j3WNLnzIgfDg+oEgmpF7Q==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 3.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:56:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 86ms (Views: 84.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 14:57:18 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.2ms)

Completed 200 OK in 56ms (Views: 53.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 14:57:19 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AV30XnTTw1yN8Bh1VBnxkT40rA1ksG50ceDgXCg/FYWP2iTL27AxTFcI9pLdESG27ol6yt1pm8Ftu+GSFhsH3A==", "email"=>"", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/users/login Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 14:57:19 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 72ms (Views: 70.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 14:57:22 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yU9oG5UE0FrOnPR0wKUfD8SoecsZDE+5PwZnJ6hp5xZHyLiOOmciShRkGpNJrc8oFBWvDKDVugwjXWbplk31Tw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 3.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:57:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.8ms)

Completed 200 OK in 71ms (Views: 65.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 14:57:28 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (1.9ms)

Completed 200 OK in 65ms (Views: 62.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 14:57:42 +0530 Processing by UrlsController#show_shorten as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HCnSsAXD0eI1t7MoPhKAdvTFObV9po3EHpd+stqZKpaD7u4Q5uiuAn732O1lxL3VPoY/AEEMxeJ++4qPnbSgqA==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:74
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835 Completed 200 OK in 38ms (ActiveRecord: 6.6ms)

Started GET “/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835” for 127.0.0.1 at 2019-01-29 14:57:42 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "short_url"=>"www.cico/e16a835"}

Unpermitted parameter: :Status

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 86ms (Views: 80.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-29 14:57:46 +0530 Processing by UrlsController#long_to_short as HTML

Rendering urls/long_to_short.html.erb within layouts/application
Rendered urls/long_to_short.html.erb within layouts/application (3.1ms)

Completed 200 OK in 76ms (Views: 74.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:57:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 72ms (Views: 70.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 14:57:49 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 70ms (Views: 67.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 14:57:55 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iS3DMjUG3HvrhOwupdWM9N1tZCLQfLtfDm/v3Uy9S9t4gQGQqX2bw75bjL/i41coxQrmEEbnRuSR5T7puUsPrA==", "mode"=>"short_url", "q"=>"16a", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 14:58:31 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iS3DMjUG3HvrhOwupdWM9N1tZCLQfLtfDm/v3Uy9S9t4gQGQqX2bw75bjL/i41coxQrmEEbnRuSR5T7puUsPrA==", "mode"=>"short_url", "q"=>"16a", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.7ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 14:59:37 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iS3DMjUG3HvrhOwupdWM9N1tZCLQfLtfDm/v3Uy9S9t4gQGQqX2bw75bjL/i41coxQrmEEbnRuSR5T7puUsPrA==", "mode"=>"short_url", "q"=>"16a", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.8ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started GET “/home/index” for 127.0.0.1 at 2019-01-29 14:59:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 74ms (Views: 72.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 14:59:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 92ms (Views: 90.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 14:59:43 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XmGBnk1rglNCQcPS9igR7zuHJvYneV/1sCGo0gAyNDOvzUM80RDF6xeeo0OxHsozI+CkxLHiok4vq3nm9cRwRA==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:00:29 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XmGBnk1rglNCQcPS9igR7zuHJvYneV/1sCGo0gAyNDOvzUM80RDF6xeeo0OxHsozI+CkxLHiok4vq3nm9cRwRA==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.7ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:00:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (4.8ms)

Completed 200 OK in 75ms (Views: 72.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:00:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (11.0ms)

Completed 200 OK in 78ms (Views: 76.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:00:33 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:01:33 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.5ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:02:11 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.5ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:02:38 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.5ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:03:28 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.3ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:03:36 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:04:25 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.3ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:06:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.4ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:06:47 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:06:48 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:06:50 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QTzp92vu20OQBuG/E4zx/eVs0lp6v0u1PKFq9e1sxRawkCtV95Wc+8XZgS5Uuioh/QtQaOwktg6jK7vBGJqBYQ==", "mode"=>"long_url", "q"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started GET “/search” for 127.0.0.1 at 2019-01-29 15:07:46 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.9ms)

Completed 200 OK in 326ms (Views: 319.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:07:50 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3hp4G4iHFdj73TLL+2O8g9eAihaMpak35rzcxJuu4257nl7i9NSBhrVxQVeJzdAMQmVWcEAnhHd+SHHAsmgk0w==", "mode"=>"long_url", "q"=>"rails", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:12
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6)  [["id", 298], ["id", 332], ["id", 311], ["id", 312], ["id", 327], ["id", 321]]
↳ app/controllers/elastic_search_controller.rb:17

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 28ms (ActiveRecord: 4.2ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fguides.rubyonrails.org%2Fcaching_with_rails.html&array%5B%5D%5Bshort_url%5D=660fcf0&array%5B%5D%5Bdomain%5D=guides&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.google.com%2Fsearch%3Fq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26oq%3Delasticsearch%2Bsearch%2Bquery%2Brails%26aqs%3Dchrome..69i57j69i60l3j0.11049j0j7%26sourceid%3Dchrome%26ie%3DUTF-8&array%5B%5D%5Bshort_url%5D=e8097f5&array%5B%5D%5Bdomain%5D=google&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078&array%5B%5D%5Bshort_url%5D=d95374a&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fwww.webascender.com%2Fblog%2Frails-elasticsearch-searchkick-depth%2F&array%5B%5D%5Bshort_url%5D=e9147c5&array%5B%5D%5Bdomain%5D=housing.com&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 15:07:50 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://guides.rubyonrails.org/caching_with_rails.html", "short_url"=>"660fcf0", "domain"=>"guides"}, {"long_url"=>"https://www.google.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "short_url"=>"e8097f5", "domain"=>"google"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078", "short_url"=>"d95374a", "domain"=>"codeburst.io"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}, {"long_url"=>"https://www.webascender.com/blog/rails-elasticsearch-searchkick-depth/", "short_url"=>"e9147c5", "domain"=>"housing.com"}, {"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 107ms (Views: 103.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:07:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 61ms (Views: 59.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:09:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 45ms (Views: 43.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_to_long” for 127.0.0.1 at 2019-01-29 15:09:29 +0530 Processing by UrlsController#short_to_long as HTML

Rendering urls/short_to_long.html.erb within layouts/application
Rendered urls/short_to_long.html.erb within layouts/application (2.7ms)

Completed 200 OK in 67ms (Views: 65.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:09:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 70ms (Views: 68.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:14:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (414.6ms)

Completed 500 Internal Server Error in 418ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `urls_long_to_short_path' for #<#<Class:0x00007fc2dcf30358>:0x00007fc2e16fdf78> Did you mean? urls_long_url_to_short_url_path):

2: <% if session[:authenticate]== true %>
3: <h2></h2>
4: Select the Service <br>
5: <%= link_to "Find Short Url",urls_long_to_short_path%> <br>
6: <%= link_to "Find Long Url",urls_short_to_long_path%> <br>
7: <%=link_to 'Generate Report',home_generate_report_path%><br>
8: <%=link_to 'Elastic Search',search_path%><br>

app/views/home/index.html.erb:5:in `_app_views_home_index_html_erb__1083884021106191694_70237453649260' Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:15:35 +0530

 (1.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 331ms (Views: 325.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:15:37 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (6.4ms)

Completed 200 OK in 119ms (Views: 111.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:15:45 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LeZVEhP+R/3EZyO2IePnDlbI/FgvvF3DCCILRJcZPMayIWmy8NU4HY8nSHN6NdqtnIv67RMWFeVoTv950DS2+A==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57

Completed 500 Internal Server Error in 24ms (ActiveRecord: 5.1ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:57:in `shorten_url' app/controllers/urls_controller.rb:37:in `convert_long_url_to_short_url' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:18:37 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LeZVEhP+R/3EZyO2IePnDlbI/FgvvF3DCCILRJcZPMayIWmy8NU4HY8nSHN6NdqtnIv67RMWFeVoTv950DS2+A==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57

Completed 500 Internal Server Error in 20ms (ActiveRecord: 4.0ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:57:in `shorten_url' app/controllers/urls_controller.rb:37:in `convert_long_url_to_short_url' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:18:50 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LeZVEhP+R/3EZyO2IePnDlbI/FgvvF3DCCILRJcZPMayIWmy8NU4HY8nSHN6NdqtnIv67RMWFeVoTv950DS2+A==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:57

Completed 500 Internal Server Error in 26ms (ActiveRecord: 4.0ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:57:in `shorten_url' app/controllers/urls_controller.rb:37:in `convert_long_url_to_short_url' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:19:04 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LeZVEhP+R/3EZyO2IePnDlbI/FgvvF3DCCILRJcZPMayIWmy8NU4HY8nSHN6NdqtnIv67RMWFeVoTv950DS2+A==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:75
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835 Completed 200 OK in 33ms (ActiveRecord: 6.7ms)

Started GET “/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835” for 127.0.0.1 at 2019-01-29 15:19:04 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "short_url"=>"www.cico/e16a835"}

Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:19:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 71ms (Views: 69.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 15:19:05 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.8ms)

Completed 200 OK in 69ms (Views: 65.7ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 15:19:06 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Qf0Na/kgXPBOlxht+JzMP9A8iEkzHzJfZfwuKKMfESjPet3+VkOu4JRv9opxlBwYAIFejorGx+p5py/mnTsDcQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 11ms (ActiveRecord: 3.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:19:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 70.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:19:07 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 91ms (Views: 87.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:19:14 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BWd/Eit4InI/FZGzC7YE3SL3XfrNOS6mnMcbmtn6T92aoEOyyFNdknRV+nZQYDl+6LRbT/GTZoD8q++nntfF4w==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835 Completed 200 OK in 5ms (ActiveRecord: 0.7ms)

Started GET “/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835” for 127.0.0.1 at 2019-01-29 15:19:14 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "short_url"=>"www.cico/e16a835"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 65ms (Views: 63.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:19:16 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 89ms (Views: 86.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:19:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 75ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:19:18 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 73ms (Views: 69.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:19:20 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vn05bT9JX34yyNWw4lH9oCxCkyhb+c+90vKSJ8g2+O1Q3BSh62R6U2zHynNZY6QCi27wxYPKs7VTYkrU/10aew==", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:103
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 5ms (ActiveRecord: 0.6ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-29 15:19:20 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 84ms (Views: 82.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:19:21 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 88ms (Views: 85.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:19:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.0ms)

Completed 200 OK in 80ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 15:19:23 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (12.7ms)

Completed 200 OK in 105ms (Views: 82.0ms | ActiveRecord: 4.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:19:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 63ms (Views: 61.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:19:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 72ms (Views: 70.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:19:32 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fB9poKWRkdd0YraAVOiN7+hP/MSwl+rBoNTjBYOaHA6Ns6sCOerWbyG91hET3lYz8Ch+9iYMF3o/XjIxdmxYeQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:12
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:17

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 14ms (ActiveRecord: 0.6ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 15:19:32 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 86ms (Views: 83.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:19:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 64ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:21:48 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 63ms (Views: 61.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:21:50 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aj/7Tw40dCeekKKBhkS7cWTpddmLKFWHRNrKxv2nyfGbkzntkk8zn8tPwhDBcmCtfI736x2zqDzbUBvyCFGNhg==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:12

Redirected to localhost:3000/search Completed 200 OK in 26ms (ActiveRecord: 4.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:21:50 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 59ms (Views: 57.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:22:03 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QOTgOFj2jdAu4ngFQ1Jxyn78F3fr7xaY4+5IDNBFIc2xSCKaxI3KaHs9GJQEZKoWZpuVRX106yN8ZJk4JbNlug==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:12
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:17

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 26ms (ActiveRecord: 3.2ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 15:22:03 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 103ms (Views: 101.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:22:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 92ms (Views: 88.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:22:21 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"d0ok1EudlL1ZdXWctK3dyoImeK+9brqZUHlz12bSHK6G5uZ21+bTBQyqFQ3zmwYWmkH6nSv1RyLP86LjkyRY2Q==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:12

Redirected to localhost:3000/search Completed 200 OK in 25ms (ActiveRecord: 3.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:22:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 79ms (Views: 77.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:22:28 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rCCefhReZe6Iwl55j0oB9LqqhxHgx7Mn3x2EkDtarFVdjFzciCUiVt0dPujIfNooos0FI3ZcTpxAl1WkzqzoIg==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:12
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:17

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 24ms (ActiveRecord: 2.9ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 15:22:28 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 69ms (Views: 67.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:22:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 81ms (Views: 79.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:27:40 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 337ms (Views: 331.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:27:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (8.2ms)

Completed 200 OK in 109ms (Views: 107.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:27:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 84ms (Views: 81.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 15:27:44 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:27:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 15:27:45 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.5ms)

Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 15:27:46 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WT251LCq6wbFtGPVUk7n2/ZHA3bXOH++jQaDZWyjCJDXumlBH8kZFh9MjTLbRjf8JvrVsW7higuRXYKrUocayQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 6.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:27:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 74ms (Views: 72.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:31:04 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 319ms (Views: 314.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 15:31:06 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:31:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 104ms (Views: 102.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 15:31:06 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (6.4ms)

Completed 200 OK in 76ms (Views: 74.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 15:31:07 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i/qwmbzJQI/PPSg07jZk+ASsyoC1g7GangC4e5ma+OAFfWAME6qynxXFxtNnPrTf1BEcRwxaRC+CW7m1p77quQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 4.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:31:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 94ms (Views: 91.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:31:08 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.7ms)

Completed 200 OK in 80ms (Views: 77.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:31:15 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3SPd6zx8Z71rp0mZw0YSf7V0TR23ciiH+TFe2Ee4LPxC5OFL31cYXSDnIlyYkC/cfzdLqIvYYKGZXarlAJWmwg==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:75
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835 Completed 200 OK in 30ms (ActiveRecord: 6.2ms)

Started GET “/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835” for 127.0.0.1 at 2019-01-29 15:31:15 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "short_url"=>"www.cico/e16a835"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (15.1ms)

Completed 200 OK in 77ms (Views: 73.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:31:17 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 109ms (Views: 106.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:31:21 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hUp2etCIUtvkiys7hOdyIlcar7X/dXq/rx0ier014vAajUraM6MtO6/LQP7fMU+BnVmpAMPfMpnPcdZH+hhozg==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zland-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zland-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zland-2018-19"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:57
 (11.8ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f236990"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zland-2018-19"], ["id", 358], ["LIMIT", 1]]
↳ app/models/url.rb:64
Report Load (1.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "f236990"], ["id", 358]]
↳ app/models/url.rb:64
 (0.3ms)  COMMIT
↳ app/models/url.rb:64
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 7], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (0.8ms)  COMMIT
↳ app/workers/url_worker.rb:8

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zland-2018-19&short_url=www.cico%2Ff236990 Completed 200 OK in 58ms (ActiveRecord: 14.5ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zland-2018-19&short_url=www.cico%2Ff236990” for 127.0.0.1 at 2019-01-29 15:31:21 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zland-2018-19", "short_url"=>"www.cico/f236990"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:31:22 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (4.1ms)

Completed 200 OK in 93ms (Views: 90.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:31:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 78ms (Views: 75.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:31:24 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 69.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:31:26 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QbxO1eSZnrhrJL+82HTLY4FA6yh/Z2Gr8nvrWvt4XryvHWMZMLS7lTUroH9jRpLBJmyIxadUHaNz6zOpzBO8Kg==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:103
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 5ms (ActiveRecord: 0.6ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-29 15:31:26 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 85ms (Views: 82.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:31:27 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.7ms)

Completed 200 OK in 81ms (Views: 78.6ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:31:31 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Okhq9vIOaZ/6Hearxfheg/0EzrY5yViQ37TAcDOs6KXU6Uc6JiNMsqQS+Wh+ygchWiitW+H6JJheJBiDBMcKMw==", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-29 15:31:31 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 81ms (Views: 79.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:31:32 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.1ms)

Completed 200 OK in 83ms (Views: 80.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:31:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.1ms)

Completed 200 OK in 78ms (Views: 75.6ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 15:31:33 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.2ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (15.7ms)

Completed 200 OK in 92ms (Views: 80.5ms | ActiveRecord: 8.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:31:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 68ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:31:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 79ms (Views: 76.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:31:37 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PpR3m13Jvpn2R8iZNiAfHn1HsBqhY323+jCNtkzMTzjPOLU5wbL5IaOYqAhxFsTCZSAyKDf4gAxlulyCuToLTw==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 9ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 15:31:37 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 62ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:31:38 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 112ms (Views: 110.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:31:41 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Hb3e2gDUMYn03b2k432DdqUfVHCS0eB2Yk+Hntyn/OHsERx4nK92MaEC3TWkS1iqvXjWQgRKHc39xVaqKVG4lg==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 9ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 15:31:41 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 77ms (Views: 73.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:31:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 91ms (Views: 88.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:31:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 90ms (Views: 87.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 15:31:45 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:31:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 50ms (Views: 49.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:32:14 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 345ms (Views: 338.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:34:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 82ms (Views: 80.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 15:34:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.6ms)

Completed 200 OK in 66ms (Views: 64.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 15:34:27 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YaoLvf/s1AbkTfa/YcY5ZUhg3XxdfkvhBHSTWQPmjG7vLdsoUI8mFj61GFjozulCmN0Lu+SnvlQYL5KXPcKeNw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 15ms (ActiveRecord: 5.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:34:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 84ms (Views: 82.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:34:28 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (4.4ms)

Completed 200 OK in 89ms (Views: 87.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:34:42 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IEMXfUU3G/9C1xZNC/Qt0IP7vOrGcnAXusgyKmHEAai/hCvdphxkHwmXfYhQIhBzSbi6X/rYODHapMYXJumLlg==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19", "domain"=>"cricbuzz.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.8ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19"], ["domain", "cricbuzz.com"]]
↳ app/models/url.rb:57
 (5.0ms)  COMMIT
↳ app/models/url.rb:57
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "54e5090"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19"], ["id", 359], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "54e5090"], ["id", 359]]
↳ app/models/url.rb:64
 (0.3ms)  COMMIT
↳ app/models/url.rb:64
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 8], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:75

Completed 500 Internal Server Error in 63ms (ActiveRecord: 16.3ms)

NoMethodError (undefined method `+' for nil:NilClass):

app/models/url.rb:85:in `rescue in shorten_url' app/models/url.rb:55:in `shorten_url' app/controllers/urls_controller.rb:27:in `convert_long_url_to_short_url' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:37:39 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IEMXfUU3G/9C1xZNC/Qt0IP7vOrGcnAXusgyKmHEAai/hCvdphxkHwmXfYhQIhBzSbi6X/rYODHapMYXJumLlg==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19", "domain"=>"cricbuzz.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57

Completed 500 Internal Server Error in 19ms (ActiveRecord: 3.8ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:57:in `shorten_url' app/controllers/urls_controller.rb:27:in `convert_long_url_to_short_url' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:37:56 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IEMXfUU3G/9C1xZNC/Qt0IP7vOrGcnAXusgyKmHEAai/hCvdphxkHwmXfYhQIhBzSbi6X/rYODHapMYXJumLlg==", "long_url"=>"https://www.ricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19", "domain"=>"cricbuzz.c", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.ricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.ricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19"], ["domain", "cricbuzz.c"]]
↳ app/models/url.rb:57
 (1.2ms)  COMMIT
↳ app/models/url.rb:57
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz.c"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "c/r"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "cricbuzz.c"], ["prefix", "c/r"]]
↳ app/models/domain_prefix.rb:20
 (0.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bd96981"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.ricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19"], ["id", 360], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "bd96981"], ["id", 360]]
↳ app/models/url.rb:64
 (0.3ms)  COMMIT
↳ app/models/url.rb:64
Report Load (0.6ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 9], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (6.7ms)  COMMIT
↳ app/workers/url_worker.rb:8

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz.c&long_url=https%3A%2F%2Fwww.ricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19&short_url=c%2Frbd96981 Completed 200 OK in 57ms (ActiveRecord: 7.3ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz.c&long_url=https%3A%2F%2Fwww.ricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19&short_url=c%2Frbd96981” for 127.0.0.1 at 2019-01-29 15:37:56 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz.c", "long_url"=>"https://www.ricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-nw-zealand-2018-19", "short_url"=>"c/rbd96981"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 82ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:37:59 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.6ms)

Completed 200 OK in 94ms (Views: 91.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:38:01 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rY+1vKj0ct7buN3a1D5jNK3H1OjvklxRPc9/vKdSinUySIkcS98NPpD4th+P6F6XZ4TSXdM4FHddo4uB4H8ASw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:75
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.3ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:57:in `shorten_url' app/controllers/urls_controller.rb:27:in `convert_long_url_to_short_url' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:39:16 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rY+1vKj0ct7buN3a1D5jNK3H1OjvklxRPc9/vKdSinUySIkcS98NPpD4th+P6F6XZ4TSXdM4FHddo4uB4H8ASw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57

Completed 500 Internal Server Error in 17ms (ActiveRecord: 3.8ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:57:in `shorten_url' app/controllers/urls_controller.rb:27:in `convert_long_url_to_short_url' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:40:11 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rY+1vKj0ct7buN3a1D5jNK3H1OjvklxRPc9/vKdSinUySIkcS98NPpD4th+P6F6XZ4TSXdM4FHddo4uB4H8ASw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 28ms (ActiveRecord: 6.4ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-29 15:40:11 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 65ms (Views: 63.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:40:12 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.5ms)

Completed 200 OK in 92ms (Views: 90.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:40:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 44ms (Views: 42.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:40:23 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (3.1ms)

Completed 200 OK in 62ms (Views: 60.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:40:24 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5DLOhChCAEGASv0/+jd93qM+tfHQ+0fW1crPrh892FQKk+NI/G8lbN5F4vxBBSR8BBLWHAjIO95UWhddKFY6wg==", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:104

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 22ms (ActiveRecord: 4.6ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-29 15:40:24 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 84ms (Views: 82.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:40:25 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.1ms)

Completed 200 OK in 85ms (Views: 82.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:40:27 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"q5TY4FP23XmY4BHVbczUeFL5+BbWBlVHPK4E0Sgs3/NFNfUsh9v4VMbvDhbW/o3a9dWb+w41KU+9PtwiH0c9ZQ==", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-29 15:40:27 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (5.0ms)

Completed 200 OK in 91ms (Views: 89.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:40:28 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.1ms)

Completed 200 OK in 82ms (Views: 79.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:40:30 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AFEz9ms/zBhPMChyOLX/hhGe35rAI9mZFUNSxqrPJjru8B46vxLpNRE/N7GDh6YktrK8dxgQpZGU04o1naTErA==", "short_url"=>"", "commit"=>"Find Long Url"}

Completed 500 Internal Server Error in 193ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `urls_short_to_long_path' for #<UrlsController:0x00007fd3a14f02c8> Did you mean? urls_short_url_to_long_url_path):

app/controllers/urls_controller.rb:35:in `retrieve_short_url_to_long_url' Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:41:22 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AFEz9ms/zBhPMChyOLX/hhGe35rAI9mZFUNSxqrPJjru8B46vxLpNRE/N7GDh6YktrK8dxgQpZGU04o1naTErA==", "short_url"=>"", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/short_url_to_long_url Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:41:22 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (3.7ms)

Completed 200 OK in 125ms (Views: 122.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:41:24 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 69.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:41:25 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.4ms)

Completed 200 OK in 80ms (Views: 77.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:41:26 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uYD2Rg+0Wxs8cacO9BSih+g+Vlr7qGwNThGJnvYn/GRXIduK25l+NmJ+uM1PJvslTxI1tyObEAXPgVFtwUwe8g==", "short_url"=>"", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/short_url_to_long_url Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:41:26 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 87ms (Views: 82.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:41:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 68ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:41:28 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 92ms (Views: 89.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:41:29 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YBmf/ntTFNbHb4lOZnNr4GNezuskzgQcj1V0uWLPnB7/3qNemHhrNowv4os9pVZDqR3IXhhkTDrvOYCEJeIWIA==", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_url_to_short_url Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:41:29 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.0ms)

Completed 200 OK in 78ms (Views: 76.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:41:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 72ms (Views: 70.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 15:41:34 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (5.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (17.4ms)

Completed 200 OK in 86ms (Views: 68.4ms | ActiveRecord: 12.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:41:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:41:36 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 68ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:41:37 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/jmVAR63tJbWGXZ2pidCNuNSs4qgOP87bIRo4RPdcTIPlVejgszzLoPGFufhEZnq+zUxuDajAoDzDrnV5is1RQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 20ms (ActiveRecord: 2.9ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 15:41:37 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 92ms (Views: 90.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:41:38 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 89ms (Views: 87.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:41:42 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qEuB/P0EE0QLvzWtE7ZIm6mP/xJo9TjVlUqvwlpBEk9Z50NeYX9U/F5gVTxUgJNHseh9IP5uxW4KwH72r7dWOA==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 15:41:42 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 66ms (Views: 63.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:41:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 85ms (Views: 82.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:43:25 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 336ms (Views: 331.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 15:43:27 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:43:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 96ms (Views: 94.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 15:43:27 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.5ms)

Completed 200 OK in 63ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 15:43:28 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"j3xfjw2/7eLw0ox3zGS6jF9jI61pWnQDZQ7EWPbRv2EB+48aotwf8ioqYpBFbGqrj971atCDgbZ5VcWWyPWtOA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 17ms (ActiveRecord: 6.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:43:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 70.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:43:29 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.5ms)

Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:43:36 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cgND98oGOvxlnL8bqghzCoZorq3qCsdyHMgnsrCR+qPtxH9XKS1FHC7c1N7x3k6pTCuoGNagj1R8pNOP97xwnQ==", "long_url"=>"https://walspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://walspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://walspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["domain", "housing.com"]]
↳ app/models/url.rb:58
 (4.5ms)  COMMIT
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ed7cb38"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:65
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://walspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["id", 361], ["LIMIT", 1]]
↳ app/models/url.rb:65
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "ed7cb38"], ["id", 361]]
↳ app/models/url.rb:65
 (0.3ms)  COMMIT
↳ app/models/url.rb:65

Redirected to localhost:3000/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwalspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2Fed7cb38 Completed 200 OK in 58ms (ActiveRecord: 10.3ms)

Report Load (1.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.3ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (1.9ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]

Started GET “/urls/show?Status=Success&domain=housing.com&long_url=https%3A%2F%2Fwalspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2Fed7cb38” for 127.0.0.1 at 2019-01-29 15:43:36 +0530

↳ app/workers/url_worker.rb:8
Report Update (1.0ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 10], ["id", 7]]
↳ app/workers/url_worker.rb:8

Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"housing.com", "long_url"=>"https://walspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/ed7cb38"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)
 (18.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 63ms (Views: 61.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:43:37 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 63ms (Views: 61.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:43:40 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"C62PPnsoVakraYJEHCvjIwt2b6aGl7/tQi3d4XSyauGUarOemAMqSWAp6YFH/d6AwTVpE7o998siQSncM5/g3w==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:76

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.hoco%2Fe16a835 Completed 200 OK in 29ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.hoco%2Fe16a835” for 127.0.0.1 at 2019-01-29 15:43:40 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "short_url"=>"www.hoco/e16a835"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:43:42 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.2ms)

Completed 200 OK in 65ms (Views: 61.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:43:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 86ms (Views: 83.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:43:44 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 67ms (Views: 64.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:43:46 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LHHDD7wreppUP3LngkChNnnoyPEeIhUB0hd6kLUe88vC0O7DaAZftwowbSQ5cviU3sSrHMYRaQlTh6JjgnURXQ==", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d Completed 200 OK in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.hoco%2Fe54de1d” for 127.0.0.1 at 2019-01-29 15:43:46 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.hoco/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 68ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:43:48 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 77ms (Views: 74.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:43:50 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aN5TIea9TLfRrKpMfQasoWatLwhCO3HBQcmPB7ZsXbmGf37tMpBpmo+jtY/GNPUDwYFM5ZoIDcnAWVf0gQe/Lw==", "short_url"=>"5ae", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "5ae"], ["LIMIT", 1]]
↳ app/models/url.rb:104

Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-29 15:43:50 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.7ms)

Completed 200 OK in 59ms (Views: 55.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:43:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 60ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 15:43:52 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (2.2ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (20.3ms)

Completed 200 OK in 88ms (Views: 69.7ms | ActiveRecord: 13.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:43:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 70.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:43:54 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 66ms (Views: 63.9ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:43:56 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QEO8Yyi6da0KUW/LFnpsHp5wRYSg9LNaUwSCKU5QDIOx737BtMEyFV+OD1pRTLfChhfHtjZvTuHMjlMdu6ZI9A==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 10ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 15:43:56 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 49ms (Views: 47.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:43:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 68.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:43:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 88ms (Views: 84.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:44:02 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lcH41DvhUBf+Mw4j7wy+ozFZbDWZlPTs28BPsPKyWgRkbTp2p5oXr6vsbrKoOmV/KT7uBw8PCVdESp6EB0Qecw==", "mode"=>"short_url", "q"=>"rails", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/search Completed 200 OK in 6ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:44:02 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 64ms (Views: 62.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:44:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 68ms (Views: 66.6ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 15:44:04 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:44:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 68ms (Views: 66.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 15:44:05 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 15:44:06 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i5R9FQiEEf0GSASvV1/akvkS/SHxLqmCJYYFDqfoz5QFE62Ap+fj7dyw6kjeVwq1Ka8r5kj3XDc53QTAmczdzQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:44:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 69ms (Views: 65.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:45:50 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 312ms (Views: 307.3ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 15:45:51 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:45:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 54ms (Views: 51.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 15:45:52 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.8ms)

Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 15:45:53 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pdnb9FmBzFwyLdnhwGTdQMwy//VqTJvYF11f8H2GWlYrXgth9uI+TOjVNwZJbA1nHI8pMtOVbm0LBl4+Q6JIDw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 4.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:45:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.8ms)

Completed 200 OK in 89ms (Views: 86.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:45:53 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.8ms)

Completed 200 OK in 105ms (Views: 102.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:46:02 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DIlDOr0E2s3reWvJi03cC7VzkQQK11V0ZnAecbQikQKTTn+aXi+lLaA5AAzQm+GofzCXsTZ9HVIGHOpM8w8bPA==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106395/wiaan-mulder-added-to-south-africas-squad-for-newlands-odi", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106395/wiaan-mulder-added-to-south-africas-squad-for-newlands-odi"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106395/wiaan-mulder-added-to-south-africas-squad-for-newlands-odi"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:58
 (0.5ms)  COMMIT
↳ app/models/url.rb:58
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b49922a"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:65
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106395/wiaan-mulder-added-to-south-africas-squad-for-newlands-odi"], ["id", 362], ["LIMIT", 1]]
↳ app/models/url.rb:65
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "b49922a"], ["id", 362]]
↳ app/models/url.rb:65
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
 (5.9ms)  COMMIT
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/models/url.rb:65
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 11], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106395%2Fwiaan-mulder-added-to-south-africas-squad-for-newlands-odi&short_url=www.cico%2Fb49922a Completed 200 OK in 116ms (ActiveRecord: 16.9ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106395%2Fwiaan-mulder-added-to-south-africas-squad-for-newlands-odi&short_url=www.cico%2Fb49922a” for 127.0.0.1 at 2019-01-29 15:46:03 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106395/wiaan-mulder-added-to-south-africas-squad-for-newlands-odi", "short_url"=>"www.cico/b49922a"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 70ms (Views: 68.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:46:05 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 67ms (Views: 63.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:46:08 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JoKWVLbnY5uazLIki8AT6QSHYPmF+TW79FXISePaT0a5Rar0Vcwce9GM2eHQFi5KzsRmTLlTfZ2UOTx0pPfFeA==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835 Completed 200 OK in 14ms (ActiveRecord: 1.0ms)

Started GET “/urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2Fe16a835” for 127.0.0.1 at 2019-01-29 15:46:08 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "short_url"=>"www.cico/e16a835"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 78ms (Views: 77.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:46:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 61ms (Views: 58.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:46:10 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.2ms)

Completed 200 OK in 66ms (Views: 64.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:46:12 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"I1P9OIgssY8w/ozXB+cVQkg0Ae5Rlk2ZwxmG5jA+i9LN8tD0XAGUom7xkxS81Uzg7xhiA4mlMZFCiV4VB1VpRA==", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:105

Redirected to localhost:3000/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.cico%2Fe54de1d Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/urls/show?Status=OK+%21&domain=housing.com&long_url=https%3A%2F%2Fhousing.com%2Fin%2Fbuy%2Fprojects%2Fpage%2F29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna%3Ffltcnt%3D4d5905c2-1f6d-4f54-a340-3f127d130288&short_url=www.cico%2Fe54de1d” for 127.0.0.1 at 2019-01-29 15:46:12 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"OK !", "domain"=>"housing.com", "long_url"=>"https://housing.com/in/buy/projects/page/29259-chd-y-suites-by-chd-developers-ltd-in-sector-34-sohna?fltcnt=4d5905c2-1f6d-4f54-a340-3f127d130288", "short_url"=>"www.cico/e54de1d"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 71.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:46:13 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 76ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:46:16 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zWYu5HrBogjHP9uNvOo/QTu84WK6B0D0WhE98xgxiusjxwMoruyHJZkwxE4H2GbjnJCCj2I0PPzbgeUAL1pofQ==", "short_url"=>"5ae", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-29 15:46:16 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 58ms (Views: 54.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:46:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 77ms (Views: 74.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 15:46:18 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 72ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShort” for 127.0.0.1 at 2019-01-29 15:46:20 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yfIQ+xXAWy4LCQZHOYmbD9u2burBw59oBATPOXIwPZgnUz03we1+A1UGGYSCu8KtfJoNBxnw42CFlBfKRVvfDg==", "short_url"=>"5ae", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/urls/show?Status=Nothing+Found+%21 Completed 200 OK in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-29 15:46:20 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 59ms (Views: 55.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:46:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 84ms (Views: 82.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 15:46:23 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (15.2ms)

Completed 200 OK in 81ms (Views: 55.2ms | ActiveRecord: 8.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:46:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 69.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:46:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.3ms)

Completed 200 OK in 77ms (Views: 75.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:46:27 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"m3sC37DQ59pleBNeJqCmjgsL5xa/pU9AIJEREcrndCFq18B9LKugYjCnc89hln1SE2xlJCk+svu/G8AlPxEwVg==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 10ms (ActiveRecord: 0.4ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 15:46:27 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 60ms (Views: 58.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:46:29 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 76ms (Views: 73.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:46:32 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u3oHMC85u4UsozpBoPyhZJ7J+AOexRsrNlTNPUCSMTJK1sWSs0L8PXl8WtDnynq4hq56MQhe5pCp3hwJtWR1RQ==", "mode"=>"short_url", "q"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com Completed 200 OK in 9ms (ActiveRecord: 0.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Ffrom-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6&array%5B%5D%5Bshort_url%5D=5ae0009&array%5B%5D%5Bdomain%5D=medium.com” for 127.0.0.1 at 2019-01-29 15:46:32 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://medium.com/wolox-driving-innovation/from-zero-to-hero-multimodel-autocompletion-search-with-elasticsearch-rails-3beff17fa8c6", "short_url"=>"5ae0009", "domain"=>"medium.com"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 76ms (Views: 74.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:46:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 73ms (Views: 69.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:48:01 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.4ms)

Completed 200 OK in 337ms (Views: 331.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:48:05 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0bJFhNZpp+gWX5WLByBSFRG+Kjl+7PQpYLraVdZwYqV0NmN9qjoztljz5hd1jj6ahFv2X7Ju2Wn4TndR/7alGA==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricanes-thumping-win", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricanes-thumping-win"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricanes-thumping-win"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:58
 (5.7ms)  COMMIT
↳ app/models/url.rb:58
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3d9ddd8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:65
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricanes-thumping-win"], ["id", 363], ["LIMIT", 1]]
↳ app/models/url.rb:65
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "3d9ddd8"], ["id", 363]]
↳ app/models/url.rb:65
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 12], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/models/url.rb:65
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106397%2Fshort-jewell-shine-in-hurricanes-thumping-win&short_url=www.cico%2F3d9ddd8 Completed 200 OK in 66ms (ActiveRecord: 12.3ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106397%2Fshort-jewell-shine-in-hurricanes-thumping-win&short_url=www.cico%2F3d9ddd8” for 127.0.0.1 at 2019-01-29 15:48:05 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricanes-thumping-win", "short_url"=>"www.cico/3d9ddd8"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.5ms)

Completed 200 OK in 111ms (Views: 109.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:48:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 63ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 15:48:09 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (4.6ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (24.7ms)

Completed 200 OK in 85ms (Views: 64.5ms | ActiveRecord: 16.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:48:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 85ms (Views: 83.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 15:48:12 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 87ms (Views: 84.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 15:48:16 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LW5jTXwcq+NZPP1y3GYT2xy1Yqi6l/6/l16k6/KC++6yqV/tnzfUAxJ8lreHsC541vZkHYY9tpn3MlDWta9x0A==", "long_url"=>"https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricaes-thumping-win", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricaes-thumping-win"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricaes-thumping-win"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:58
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 13], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (6.2ms)  COMMIT
↳ app/models/url.rb:58
 (7.4ms)  COMMIT
↳ app/workers/url_worker.rb:8
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "485e6fe"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:65
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricaes-thumping-win"], ["id", 364], ["LIMIT", 1]]
↳ app/models/url.rb:65
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "485e6fe"], ["id", 364]]
↳ app/models/url.rb:65
 (0.4ms)  COMMIT
↳ app/models/url.rb:65

Redirected to localhost:3000/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106397%2Fshort-jewell-shine-in-hurricaes-thumping-win&short_url=www.cico%2F485e6fe Completed 200 OK in 48ms (ActiveRecord: 8.7ms)

Started GET “/urls/show?Status=Success&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106397%2Fshort-jewell-shine-in-hurricaes-thumping-win&short_url=www.cico%2F485e6fe” for 127.0.0.1 at 2019-01-29 15:48:16 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Success", "domain"=>"cricbuzz", "long_url"=>"https://www.cricbuzz.com/cricket-news/106397/short-jewell-shine-in-hurricaes-thumping-win", "short_url"=>"www.cico/485e6fe"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 92ms (Views: 90.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:48:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 88ms (Views: 86.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:48:18 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 68ms (Views: 66.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:48:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 77ms (Views: 74.1ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 15:48:22 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.1ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (3.5ms)

Completed 200 OK in 89ms (Views: 85.5ms | ActiveRecord: 1.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:48:23 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 73ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:50:58 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 341ms (Views: 335.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:51:00 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (7.7ms)

Completed 200 OK in 129ms (Views: 127.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:51:01 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nwMFe4Hww4LeQFkK5w0djl7E+MAHjP4BMC7qFVyrLHdur8fZHYuEOoufOZugO8ZSRqN68pEXA7qvpDshqV1oAA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array=%23%3CElasticsearch%3A%3AModel%3A%3AResponse%3A%3ARecords%3A0x00007fb5f46e4928%3E Completed 200 OK in 26ms (ActiveRecord: 4.9ms)

Started GET “/elastic_search/show?array=%23%3CElasticsearch%3A%3AModel%3A%3AResponse%3A%3ARecords%3A0x00007fb5f46e4928%3E” for 127.0.0.1 at 2019-01-29 15:51:01 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>"#<Elasticsearch::Model::Response::Records:0x00007fb5f46e4928>"}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (10.1ms)

Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for “#<Elasticsearch::Model::Response::Records:0x00007fb5f46e4928>”:String):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209768644460' Started GET “/elastic_search/show?array=%23%3CElasticsearch%3A%3AModel%3A%3AResponse%3A%3ARecords%3A0x00007fb5f46e4928%3E” for 127.0.0.1 at 2019-01-29 15:51:37 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>"#<Elasticsearch::Model::Response::Records:0x00007fb5f46e4928>"}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.0ms)

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for “#<Elasticsearch::Model::Response::Records:0x00007fb5f46e4928>”:String):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209762000200' Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:51:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 46ms (Views: 44.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:51:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 88ms (Views: 86.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:51:44 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WAC+iPGtjrSE7GPC8+FnooQDQr3ZBVCBKL1AWEjRlu2prHwqbdbJDNEzA1O017x+nGTAj0+erTq3N5FsvSfSmg==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:18

Redirected to localhost:3000/elastic_search/show?array%5B%5D=315&array%5B%5D=314&array%5B%5D=316&array%5B%5D=313 Completed 200 OK in 21ms (ActiveRecord: 3.9ms)

Started GET “/elastic_search/show?array%5B%5D=315&array%5B%5D=314&array%5B%5D=316&array%5B%5D=313” for 127.0.0.1 at 2019-01-29 15:51:44 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>["315", "314", "316", "313"]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (7.8ms)

Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (no implicit conversion of Symbol into Integer):

11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>
15:     <td><%=t[:short_url]%></td> 
16:     <td><%=t[:domain]%></td> 
17:

app/views/elastic_search/show.html.erb:14:in `[]' app/views/elastic_search/show.html.erb:14:in `block in _app_views_elastic_search_show_html_erb___2454633106131595690_70209769952160' app/views/elastic_search/show.html.erb:11:in `each' app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209769952160' Started GET “/elastic_search/show?array%5B%5D=315&array%5B%5D=314&array%5B%5D=316&array%5B%5D=313” for 127.0.0.1 at 2019-01-29 15:52:12 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>["315", "314", "316", "313"]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.1ms)

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (no implicit conversion of Symbol into Integer):

11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>
15:     <td><%=t[:short_url]%></td> 
16:     <td><%=t[:domain]%></td> 
17:

app/views/elastic_search/show.html.erb:14:in `[]' app/views/elastic_search/show.html.erb:14:in `block in _app_views_elastic_search_show_html_erb___2454633106131595690_70209737787520' app/views/elastic_search/show.html.erb:11:in `each' app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209737787520' Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:52:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 46ms (Views: 44.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:52:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 80ms (Views: 77.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:52:18 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PMVDZPhNO+eBsKL6a3SJuoHl+rPKR+1gLVTx9q5GvK/NaYHGZDZ8X9RvwmssQlJmmYJ4gVzcENuy3iDCW7D42A==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array=%23%3CElasticsearch%3A%3AModel%3A%3AResponse%3A%3ARecords%3A0x00007fb5f7aee2c8%3E Completed 200 OK in 20ms (ActiveRecord: 4.0ms)

Started GET “/elastic_search/show?array=%23%3CElasticsearch%3A%3AModel%3A%3AResponse%3A%3ARecords%3A0x00007fb5f7aee2c8%3E” for 127.0.0.1 at 2019-01-29 15:52:18 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>"#<Elasticsearch::Model::Response::Records:0x00007fb5f7aee2c8>"}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (16.3ms)

Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for “#<Elasticsearch::Model::Response::Records:0x00007fb5f7aee2c8>”:String):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209736546040' Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:52:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 65ms (Views: 64.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:52:50 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 121ms (Views: 119.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:52:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (8.1ms)

Completed 200 OK in 123ms (Views: 121.7ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:52:53 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"90HqHVEjjtjRYXWPB+laHtXrT4oJ/QJEFA5MHtZZiysG7Si/zVjJYIS+FR5A34HCzYzNuJ9m//+LhJ0qI6/PXA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Completed 500 Internal Server Error in 22ms (ActiveRecord: 2.8ms)

NoMethodError (undefined method `as_indexed_json' for #<Elasticsearch::Model::Response::Result:0x00007fb5f8c91a70>):

app/controllers/elastic_search_controller.rb:15:in `block in retrieve' app/controllers/elastic_search_controller.rb:14:in `retrieve' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:53:31 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"90HqHVEjjtjRYXWPB+laHtXrT4oJ/QJEFA5MHtZZiysG7Si/zVjJYIS+FR5A34HCzYzNuJ9m//+LhJ0qI6/PXA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/elastic_search/show?array=%23%3CElasticsearch%3A%3AModel%3A%3AResponse%3A%3AResponse%3A0x00007fb5f7c9c4d0%3E Completed 200 OK in 21ms (ActiveRecord: 1.6ms)

Started GET “/elastic_search/show?array=%23%3CElasticsearch%3A%3AModel%3A%3AResponse%3A%3AResponse%3A0x00007fb5f7c9c4d0%3E” for 127.0.0.1 at 2019-01-29 15:53:31 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>"#<Elasticsearch::Model::Response::Response:0x00007fb5f7c9c4d0>"}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (8.0ms)

Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for “#<Elasticsearch::Model::Response::Response:0x00007fb5f7c9c4d0>”:String):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209761738280' Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:54:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 46ms (Views: 42.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 15:54:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 93ms (Views: 91.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:54:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.1ms)

Completed 200 OK in 67ms (Views: 65.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:54:35 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uE+RunHfqTx5Wae8OZOhVDcsNiAHrpVi8DNrDNfBJLpJ41MY7aTuhCyGxy1+pXqIL0u0EpE1aNlvubo4IjdgzQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/elastic_search/show.%23%3CElasticsearch::Model::Response::Response:0x00007fb5f9808e30%3E Completed 200 OK in 14ms (ActiveRecord: 2.0ms)

Started GET “/elastic_search/show.%23%3CElasticsearch::Model::Response::Response:0x00007fb5f9808e30%3E” for 127.0.0.1 at 2019-01-29 15:54:35 +0530 Processing by ElasticSearchController#show as

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (8.3ms)

Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209761618500' Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:55:28 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LD8qgH9JVbMOtWWZY0HdhzH11QdL1BXkw0KnU65dWYeJuwx5AxrB7UAZFgUR77EIpBAJYYdWOKRbtgpXh5ueOg==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/elastic_search/show.%23%3CElasticsearch::Model::Response::Response:0x00007fb5f7bfc020%3E Completed 200 OK in 16ms (ActiveRecord: 2.0ms)

Started GET “/elastic_search/show.%23%3CElasticsearch::Model::Response::Response:0x00007fb5f7bfc020%3E” for 127.0.0.1 at 2019-01-29 15:55:28 +0530 Processing by ElasticSearchController#show as

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (11.9ms)

Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for “#<Elasticsearch::Model::Response::Response:0x00007fb5f7bfc020>”:String):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209736782200' Started GET “/” for 127.0.0.1 at 2019-01-29 15:57:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 47ms (Views: 45.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:57:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 72ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:57:47 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WKj3eY+z264qqHuZa4TgzYAxgJJXOyNlLIGiGx4s5pypBDXbE8icFn93GwgssjsRmFYCoMGg3t6zC3Mv69qi6w==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/elastic_search/show.%23%3CElasticsearch::Model::Response::Results:0x00007fb5f3530510%3E Completed 200 OK in 29ms (ActiveRecord: 1.5ms)

Started GET “/elastic_search/show.%23%3CElasticsearch::Model::Response::Results:0x00007fb5f3530510%3E” for 127.0.0.1 at 2019-01-29 15:57:48 +0530 Processing by ElasticSearchController#show as

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (5.9ms)

Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for “#<Elasticsearch::Model::Response::Results:0x00007fb5f3530510>”:String):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209727004100' Started GET “/” for 127.0.0.1 at 2019-01-29 15:58:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 64ms (Views: 63.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 15:58:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.1ms)

Completed 200 OK in 62ms (Views: 60.1ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 15:58:33 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i9CvGlHligvk7Cfi6uzLpn5p8mxvtHxaUkqx+B2M53d6fG24zZ7Ns7EzR3Ot2hB6Zg5wXvkvgeHNwGDM6HqjAA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/models/url.rb:131

Redirected to localhost:3000/elastic_search/show.315%2F314%2F316%2F313 Completed 200 OK in 20ms (ActiveRecord: 3.2ms)

Started GET “/elastic_search/show.315%2F314%2F316%2F313” for 127.0.0.1 at 2019-01-29 15:58:33 +0530 Processing by ElasticSearchController#show as

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (9.3ms)

Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for “315/314/316/313”:String):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209729099400' Started GET “/” for 127.0.0.1 at 2019-01-29 15:59:58 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 53ms (Views: 51.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:00:00 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 74ms (Views: 71.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:00:01 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bISyGqI76CTvAeKsxFmsmMm/1v6EqJekXfYvAfr2HqGdKHC4PkCvnLregj2Db3dE0dhUzBIzah/CfP41DwBa1g==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit Redirected to localhost:3000/elastic_search/show.%23%3CElasticsearch::Model::Response::Result:0x00007fb5f3dabc30%3E%2F%23%3CElasticsearch::Model::Response::Result:0x00007fb5f3dab5c8%3E%2F%23%3CElasticsearch::Model::Response::Result:0x00007fb5f3daac90%3E%2F%23%3CElasticsearch::Model::Response::Result:0x00007fb5f3daa7b8%3E Completed 200 OK in 16ms (ActiveRecord: 1.5ms)

Started GET “/elastic_search/show.%23%3CElasticsearch::Model::Response::Result:0x00007fb5f3dabc30%3E%2F%23%3CElasticsearch::Model::Response::Result:0x00007fb5f3dab5c8%3E%2F%23%3CElasticsearch::Model::Response::Result:0x00007fb5f3daac90%3E%2F%23%3CElasticsearch::Model::Response::Result:0x00007fb5f3daa7b8%3E” for 127.0.0.1 at 2019-01-29 16:00:01 +0530 Processing by ElasticSearchController#show as

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (11.5ms)

Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for #<String:0x00007fb5f3dc2fe8>):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209728562900' Started GET “/” for 127.0.0.1 at 2019-01-29 16:00:57 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 47ms (Views: 45.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:00:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 75ms (Views: 73.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:00:59 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"B8n6UtIY4FmOjpEU5cZDQequ3vxSUL/mS0Bt5kjAWcv2ZTjwTmOn4dtR8YWi8Jid8slczsTLQl3UyrzSvTYdvA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373 Completed 200 OK in 21ms (ActiveRecord: 2.9ms)

Started GET “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373” for 127.0.0.1 at 2019-01-29 16:00:59 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-29 16:01:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 69ms (Views: 67.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:01:36 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 79ms (Views: 77.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:01:38 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tiHOGL5gE9tbH2mBR3WbkgqSD9SF7jPtXmWP4sOJUzpHjQy6IhtUYw7ACRAAQ0BOEvWN5hN1zlbB717WNn8XTQ==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373 Completed 200 OK in 19ms (ActiveRecord: 3.7ms)

Started GET “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373” for 127.0.0.1 at 2019-01-29 16:01:38 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-29 16:02:26 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 43ms (Views: 42.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:02:27 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 102ms (Views: 100.6ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:02:30 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vqZV2XuqKkNQMFavKDqTzO24DFlvQSqGtTGclP74YHlPCpd759Ft+wXvNj5vDEgQ9d+Oa/na1z0qu02gCw4kDg==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/elastic_search/show Completed 200 OK in 20ms (ActiveRecord: 4.3ms)

Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-29 16:02:30 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.1ms)

Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209728064660' Started GET “/elastic_search/show” for 127.0.0.1 at 2019-01-29 16:02:44 +0530 Processing by ElasticSearchController#show as HTML

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.1ms)

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209768497020' Started GET “/” for 127.0.0.1 at 2019-01-29 16:02:47 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 85ms (Views: 83.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:02:48 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 77ms (Views: 74.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:02:50 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qyX1T1XCKJXBwt+mwmR4EqBf7B7NEWAReeOX5VvTOyNaiTftyblvLZQdvzeFUqPOuDhuLFuKnarmaUbRriV/VA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/elastic_search/show.2 Completed 200 OK in 18ms (ActiveRecord: 3.3ms)

Started GET “/elastic_search/show.2” for 127.0.0.1 at 2019-01-29 16:02:50 +0530 Processing by ElasticSearchController#show as

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (10.8ms)

Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209737087480' Started GET “/elastic_search/show.2” for 127.0.0.1 at 2019-01-29 16:03:05 +0530 Processing by ElasticSearchController#show as

Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.6ms)

Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209728617040' Started GET “/” for 127.0.0.1 at 2019-01-29 16:03:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 75ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:03:11 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.4ms)

Completed 200 OK in 64ms (Views: 62.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:03:13 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IFNptrYPecYOD51ieEoLnJa6gj/BiILHtip/RvyBJMvR/6sUKnQ+flvQ/fM/fNBAjt0ADVcTf3wpoK5yCXdgvA==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373 Completed 200 OK in 46ms (ActiveRecord: 4.7ms)

Started GET “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373” for 127.0.0.1 at 2019-01-29 16:03:13 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show.domain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339409%252Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&short_url=c2850cf%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339463%252Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&short_url=bced776%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F54339325%252Fpointer-over-string-and-substring-based-on-pipe-with-jquery&short_url=b2c0992%2Fdomain=stackoverflow&long_url=https%253A%252F%252Fstackoverflow.com%252Fquestions%252F1278510%252Fsort-array-returned-by-activerecord-by-date-or-any-other-column&short_url=53f4373”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-29 16:03:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 53ms (Views: 52.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 16:03:47 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (12.0ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (36.8ms)

Completed 200 OK in 126ms (Views: 91.3ms | ActiveRecord: 29.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 16:03:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 78ms (Views: 76.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:03:49 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 88ms (Views: 85.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:03:51 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lprmsCCUrdSMNj4fakbcXIA9ANvUVSHZMjsfKYWHC3hnNiQSvO/qbNnpXo4tcAeAmFqC6ULO3GKtsc4dcHFPDw==", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow Completed 200 OK in 19ms (ActiveRecord: 2.7ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339409%2Fhow-to-show-5-rows-instead-of-default-10-rows-in-datatable&array%5B%5D%5Bshort_url%5D=c2850cf&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339463%2Fseperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio&array%5B%5D%5Bshort_url%5D=bced776&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F54339325%2Fpointer-over-string-and-substring-based-on-pipe-with-jquery&array%5B%5D%5Bshort_url%5D=b2c0992&array%5B%5D%5Bdomain%5D=stackoverflow&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F1278510%2Fsort-array-returned-by-activerecord-by-date-or-any-other-column&array%5B%5D%5Bshort_url%5D=53f4373&array%5B%5D%5Bdomain%5D=stackoverflow” for 127.0.0.1 at 2019-01-29 16:03:51 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"https://stackoverflow.com/questions/54339409/how-to-show-5-rows-instead-of-default-10-rows-in-datatable", "short_url"=>"c2850cf", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339463/seperate-word-from-line-in-a-string-in-txt-file-how-can-we-use-regular-expressio", "short_url"=>"bced776", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/54339325/pointer-over-string-and-substring-based-on-pipe-with-jquery", "short_url"=>"b2c0992", "domain"=>"stackoverflow"}, {"long_url"=>"https://stackoverflow.com/questions/1278510/sort-array-returned-by-activerecord-by-date-or-any-other-column", "short_url"=>"53f4373", "domain"=>"stackoverflow"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 71ms (Views: 69.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 16:03:52 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 91ms (Views: 88.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 16:05:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 40ms (Views: 38.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:05:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 88ms (Views: 86.5ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:05:09 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kFLkTTTUgFZdEKc4jMfMVLhQiTcDxfZZVgsQw1xBzdRh/ibvqK/H7gjPx6nL8ReIoDcLBZVeC+LJgcH3qbeJow==", "field"=>"long_url", "query"=>"plplplplp", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/search Completed 200 OK in 18ms (ActiveRecord: 4.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:05:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 74ms (Views: 72.2ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:05:14 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JTNLuMDYHJAUzSqoJgucXZZqQHuKbuu++w0EDkxE5UjUn4kaXKNbKEESSjlhPUeBjg3CSRz1FgVkh9U6ubKhPw==", "field"=>"long_url", "query"=>"stac", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/search Completed 200 OK in 6ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:05:14 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (6.5ms)

Completed 200 OK in 81ms (Views: 78.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 16:05:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 74ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:05:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.2ms)

Completed 200 OK in 103ms (Views: 100.0ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:05:20 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1mmFKXYbQoPzdO17wnl9IEMa01u3ojXYFJ3F31Zmp14nxUeL6mAFO6arjeqFT6b8W31RaSE5yGOLFxTro5DjKQ==", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/search Completed 200 OK in 8ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:05:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.6ms)

Completed 200 OK in 65ms (Views: 63.8ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:05:47 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cpjO3wWpiU3GLMVFgTobU6t7Q2uzHIS9fzCRBRixpBCDNAx9mdLO9ZPzpdTGDMCPsxzBWSWHeQbgukAx7UfgZw==", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&array%5B%5D%5Bshort_url%5D=50a8e7e&array%5B%5D%5Bdomain%5D=heroku&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 27ms (ActiveRecord: 4.5ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&array%5B%5D%5Bshort_url%5D=50a8e7e&array%5B%5D%5Bdomain%5D=heroku&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-29 16:05:47 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"39b2a84", "domain"=>"crazyforcode"}, {"long_url"=>"https://devcenter.heroku.com/articles/heroku-cli-commands/vipul", "short_url"=>"50a8e7e", "domain"=>"heroku"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 129ms (Views: 125.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 16:05:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 65ms (Views: 63.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:07:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 63ms (Views: 62.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 16:07:31 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.8ms)

Completed 200 OK in 71ms (Views: 68.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 16:07:32 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"76Y0dPHEikK9WvZs5uDQX0iDEdiSeroRk+ixbe9NRshhIeThXqd4UmeiGItv6AB4mD7HHyujT6SPs7Cj0WlUkQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 4.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 16:07:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 76ms (Views: 74.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:07:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.2ms)

Completed 200 OK in 78ms (Views: 76.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:07:35 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TmKW/JTCnbSmMLGG0iyy1j6j9yCeX4AN9xJj3bYMXoi/zlReCLnaDPPv0ReVGmkKJsR1EgjEfbZomLLpQ/oa/w==", "field"=>"long_url", "query"=>"plplplplp", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:9

Redirected to localhost:3000/search Completed 200 OK in 14ms (ActiveRecord: 2.7ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:07:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 74ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:07:37 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SfnksXOUVciOT9IUCnoJmVfwJV9eNSFyUSBf5QkGUqS4VSYT7+8ScNuQsoVNTNJFT5enbciu3MnOqo7R/PAW0w==", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show.domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03 Completed 200 OK in 11ms (ActiveRecord: 0.5ms)

Started GET “/elastic_search/show.domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03” for 127.0.0.1 at 2019-01-29 16:07:37 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show.domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/elastic_search/show/domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03” for 127.0.0.1 at 2019-01-29 16:08:07 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show/domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/elastic_search/show/domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03” for 127.0.0.1 at 2019-01-29 16:08:25 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show/domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/elastic_search/show?domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03” for 127.0.0.1 at 2019-01-29 16:08:30 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"domain"=>"crazyforcode", "long_url"=>"https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul", "short_url"=>"7201c03"}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (3.7ms)

Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

 8: 
 9:   </tr>
10: </thead>
11:   <% @urls.each do |t| %>
12: <thread>
13:   <tr>
14:     <td><%=t[:long_url]%></td>

app/views/elastic_search/show.html.erb:11:in `_app_views_elastic_search_show_html_erb___2454633106131595690_70209728921080' Started GET “/” for 127.0.0.1 at 2019-01-29 16:10:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 67ms (Views: 66.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:10:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 73ms (Views: 71.3ms | ActiveRecord: 0.0ms)

Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:10:07 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XEn10vw8xVgtvesn37ksbu0LkbaYD/rhTcT9wZhNQC6t5TdwYEeC4Hhii7aYj/ey9WwThA6UB1rSTiz1bbsEWQ==", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show.domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03 Completed 200 OK in 20ms (ActiveRecord: 4.6ms)

Started GET “/elastic_search/show.domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03” for 127.0.0.1 at 2019-01-29 16:10:07 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show.domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/elastic_search/show.domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03” for 127.0.0.1 at 2019-01-29 16:10:41 +0530

ActionController::RoutingError (No route matches [GET] “/elastic_search/show.domain=crazyforcode&long_url=http%253A%252F%252Fwww.crazyforcode.com%252Fdesign-tinyurl-service%252Fvipul&short_url=39b2a84%2Fdomain=heroku&long_url=https%253A%252F%252Fdevcenter.heroku.com%252Farticles%252Fheroku-cli-commands%252Fvipul&short_url=50a8e7e%2Fdomain=codeburst.io&long_url=https%253A%252F%252Fcodeburst.io%252Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%252Fvipul&short_url=7201c03”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/Search” for 127.0.0.1 at 2019-01-29 16:10:46 +0530 Processing by ElasticSearchController#retrieve as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/uBchM2hjaGzUbu/YeI/q+anOx0ggJdCKmjRaJBSbLxbZHp9sfIZ//39yCMTTFMkc0Lne+wCugKynHxsuZSrAQ==", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:9
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:14

Redirected to localhost:3000/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&array%5B%5D%5Bshort_url%5D=50a8e7e&array%5B%5D%5Bdomain%5D=heroku&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io Completed 200 OK in 18ms (ActiveRecord: 3.1ms)

Started GET “/elastic_search/show?array%5B%5D%5Blong_url%5D=http%3A%2F%2Fwww.crazyforcode.com%2Fdesign-tinyurl-service%2Fvipul&array%5B%5D%5Bshort_url%5D=39b2a84&array%5B%5D%5Bdomain%5D=crazyforcode&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fdevcenter.heroku.com%2Farticles%2Fheroku-cli-commands%2Fvipul&array%5B%5D%5Bshort_url%5D=50a8e7e&array%5B%5D%5Bdomain%5D=heroku&array%5B%5D%5Blong_url%5D=https%3A%2F%2Fcodeburst.io%2Fhow-to-build-a-good-api-using-rubyonrails-ef7eadfa3078%2Fvipul&array%5B%5D%5Bshort_url%5D=7201c03&array%5B%5D%5Bdomain%5D=codeburst.io” for 127.0.0.1 at 2019-01-29 16:10:46 +0530 Processing by ElasticSearchController#show as HTML

Parameters: {"array"=>[{"long_url"=>"http://www.crazyforcode.com/design-tinyurl-service/vipul", "short_url"=>"39b2a84", "domain"=>"crazyforcode"}, {"long_url"=>"https://devcenter.heroku.com/articles/heroku-cli-commands/vipul", "short_url"=>"50a8e7e", "domain"=>"heroku"}, {"long_url"=>"https://codeburst.io/how-to-build-a-good-api-using-rubyonrails-ef7eadfa3078/vipul", "short_url"=>"7201c03", "domain"=>"codeburst.io"}]}
Rendering elastic_search/show.html.erb within layouts/application
Rendered elastic_search/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 127ms (Views: 125.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 16:23:45 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 35ms (Views: 33.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 16:23:48 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 56ms (Views: 54.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 16:23:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 80ms (Views: 76.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 16:23:50 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (4.1ms)

Completed 200 OK in 56ms (Views: 54.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:23:56 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dt8kUZ8QRskiRzjR7t3x3arTGdPRFyy4HGxcZGHH5uDpGBjxfDs5KWkHUxS1C8x+YJAfZu29ZJ58AKhZJups3g==", "long_url"=>"https://www.cricbuz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:58
 (0.5ms)  COMMIT
↳ app/models/url.rb:58
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1e4fad8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:65
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["id", 365], ["LIMIT", 1]]
↳ app/models/url.rb:65
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "1e4fad8"], ["id", 365]]
↳ app/models/url.rb:65
 (0.3ms)  COMMIT
↳ app/models/url.rb:65
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)
Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 14], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 102ms (Views: 53.0ms | ActiveRecord: 12.5ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:24:30 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dt8kUZ8QRskiRzjR7t3x3arTGdPRFyy4HGxcZGHH5uDpGBjxfDs5KWkHUxS1C8x+YJAfZu29ZJ58AKhZJups3g==", "long_url"=>"https://www.cricbuz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "domain"=>"cricbuzz", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19"], ["LIMIT", 1]]
↳ app/models/url.rb:77

Completed 500 Internal Server Error in 34ms (ActiveRecord: 4.3ms)

ActionView::MissingTemplate (Missing template urls/show?Status=Already+Exists&domain=cricbuzz&long_url=https%3A%2F%2Fwww.cricbuz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&short_url=www.cico%2F1e4fad8 with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/urls_controller.rb:28:in `convert_long_url_to_short_url' Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 16:25:54 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 100ms (Views: 98.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:26:01 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GAtAeKDtq0Dl2f72bNpUyJY0NiXhKrTblE5HC1k/4Fi9j2aB3L4/Hqt1jWoedDhHA9HqQy2omZsMuuoPcPkn5Q==", "long_url"=>"https://www.gogle.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8", "domain"=>"tutorialspoint", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.gogle.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.gogle.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8"], ["domain", "tutorialspoint"]]
↳ app/models/url.rb:58
 (0.4ms)  COMMIT
↳ app/models/url.rb:58
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "33adb5e"], ["LIMIT", 1]]
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 15], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:65
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.gogle.com/search?q=elasticsearch+search+query+rails&oq=elasticsearch+search+query+rails&aqs=chrome..69i57j69i60l3j0.11049j0j7&sourceid=chrome&ie=UTF-8"], ["id", 366], ["LIMIT", 1]]
↳ app/models/url.rb:65
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "33adb5e"], ["id", 366]]
↳ app/models/url.rb:65
 (0.3ms)  COMMIT
↳ app/models/url.rb:65
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 125ms (Views: 39.9ms | ActiveRecord: 10.9ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 16:26:26 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 61ms (Views: 60.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:26:29 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"X4l9NYjW7NNw4h/HKB5VLSAPPhp9TzAsu9O7S5rPl9P6DVvM9IV4jT5ObFtasDmiterifLHNHWwjJxZPswlQbg==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 67ms (Views: 39.5ms | ActiveRecord: 7.3ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:38:24 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"X4l9NYjW7NNw4h/HKB5VLSAPPhp9TzAsu9O7S5rPl9P6DVvM9IV4jT5ObFtasDmiterifLHNHWwjJxZPswlQbg==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}
Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.8ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 52ms (Views: 51.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:38:39 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"X4l9NYjW7NNw4h/HKB5VLSAPPhp9TzAsu9O7S5rPl9P6DVvM9IV4jT5ObFtasDmiterifLHNHWwjJxZPswlQbg==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 63ms (Views: 38.7ms | ActiveRecord: 7.1ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:39:18 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"X4l9NYjW7NNw4h/HKB5VLSAPPhp9TzAsu9O7S5rPl9P6DVvM9IV4jT5ObFtasDmiterifLHNHWwjJxZPswlQbg==", "long_url"=>"https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 66ms (Views: 45.7ms | ActiveRecord: 4.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 16:39:24 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 51ms (Views: 50.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:39:27 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"j/Q29pF4CbCcvZPkhMmz9hnik8prL7hH3mCm+0J0ulIqcBAP7Sud7tIR4Hj2Z995jAdPrKetlQdGlAv/a7J97w==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 55ms (Views: 48.0ms | ActiveRecord: 1.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 16:40:07 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 72ms (Views: 70.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:40:11 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eWOHhiRfd0Xq2cJrghzBeksK+uOUP5IwSfKGoLPuUFPc56F/WAzjG6R1sffwsq313u8mhVi9v3DRBiukmiiX7g==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 62ms (Views: 44.4ms | ActiveRecord: 4.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:41:32 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eWOHhiRfd0Xq2cJrghzBeksK+uOUP5IwSfKGoLPuUFPc56F/WAzjG6R1sffwsq313u8mhVi9v3DRBiukmiiX7g==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 51ms (Views: 45.8ms | ActiveRecord: 0.6ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 16:42:44 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 42ms (Views: 41.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:42:49 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yfHgpZKVO/PI962d5Lc4bjklpPPCby83QmYcQpzgwRpsdcZc7savrYZb3gGWGVThrMB4lQ7tAnfakrFGtSYGpw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (14119.1ms)

Completed 200 OK in 14235ms (Views: 14217.7ms | ActiveRecord: 4.1ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:43:45 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yfHgpZKVO/PI962d5Lc4bjklpPPCby83QmYcQpzgwRpsdcZc7savrYZb3gGWGVThrMB4lQ7tAnfakrFGtSYGpw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 64ms (Views: 41.7ms | ActiveRecord: 3.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 16:43:47 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 61ms (Views: 59.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:44:37 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"d1cwLeXa8lH0UdxboxInH3TNFMTep0tTDaaGTG4USCzS0xbUmYlmD7r9r8fRvEuQ4SjIohIlZhOVUitIR9KPkQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 55ms (Views: 47.9ms | ActiveRecord: 1.1ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:47:36 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"d1cwLeXa8lH0UdxboxInH3TNFMTep0tTDaaGTG4USCzS0xbUmYlmD7r9r8fRvEuQ4SjIohIlZhOVUitIR9KPkQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:48:35 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"d1cwLeXa8lH0UdxboxInH3TNFMTep0tTDaaGTG4USCzS0xbUmYlmD7r9r8fRvEuQ4SjIohIlZhOVUitIR9KPkQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 339ms (Views: 316.3ms | ActiveRecord: 4.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 16:49:50 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"d1cwLeXa8lH0UdxboxInH3TNFMTep0tTDaaGTG4USCzS0xbUmYlmD7r9r8fRvEuQ4SjIohIlZhOVUitIR9KPkQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.5ms)

Completed 200 OK in 102ms (Views: 79.5ms | ActiveRecord: 4.4ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:16:30 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"d1cwLeXa8lH0UdxboxInH3TNFMTep0tTDaaGTG4USCzS0xbUmYlmD7r9r8fRvEuQ4SjIohIlZhOVUitIR9KPkQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.8ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:17:40 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (6.3ms)

Completed 200 OK in 332ms (Views: 325.8ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:17:44 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7EZbFVK3yLjFmv0H9sytqdr8+lMY6xNgxbbKUq9PnjRJwn3sLuRc5os2jpuEYsEmTxkmNdRpPiBdQmdWholZiQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 111ms (Views: 87.5ms | ActiveRecord: 5.4ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:18:44 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7EZbFVK3yLjFmv0H9sytqdr8+lMY6xNgxbbKUq9PnjRJwn3sLuRc5os2jpuEYsEmTxkmNdRpPiBdQmdWholZiQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 55ms (Views: 49.3ms | ActiveRecord: 0.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:19:32 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7EZbFVK3yLjFmv0H9sytqdr8+lMY6xNgxbbKUq9PnjRJwn3sLuRc5os2jpuEYsEmTxkmNdRpPiBdQmdWholZiQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.4ms)

Completed 200 OK in 54ms (Views: 49.8ms | ActiveRecord: 0.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:20:01 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7EZbFVK3yLjFmv0H9sytqdr8+lMY6xNgxbbKUq9PnjRJwn3sLuRc5os2jpuEYsEmTxkmNdRpPiBdQmdWholZiQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.5ms)

Completed 200 OK in 77ms (Views: 59.8ms | ActiveRecord: 4.5ms)

Started GET “/” for 127.0.0.1 at 2019-01-29 17:22:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 60ms (Views: 58.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 17:22:32 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.5ms)

Completed 200 OK in 88ms (Views: 83.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 17:22:33 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y9OFJpLt63fzWkdMojtdT6GkNHFSij2sLnhsl7VSM+XtVFWzPY4ZZymiqasrM41ocRnitutTyBkyI21Zi3YhvA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 18ms (ActiveRecord: 3.8ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 17:22:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.8ms)

Completed 200 OK in 77ms (Views: 75.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:22:35 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 68ms (Views: 66.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:22:37 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"53AH4yS/7S+FYxBTIQx59/poC9BFB9Tn7pZOs6/uYIt4tztDx5SSz84je5Z62kRUMCsNZXmtnMGO+rqO6MPqtQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.5ms)

Completed 200 OK in 89ms (Views: 62.0ms | ActiveRecord: 6.2ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:23:37 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"53AH4yS/7S+FYxBTIQx59/poC9BFB9Tn7pZOs6/uYIt4tztDx5SSz84je5Z62kRUMCsNZXmtnMGO+rqO6MPqtQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 66ms (Views: 48.1ms | ActiveRecord: 3.7ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:24:23 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"53AH4yS/7S+FYxBTIQx59/poC9BFB9Tn7pZOs6/uYIt4tztDx5SSz84je5Z62kRUMCsNZXmtnMGO+rqO6MPqtQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.5ms)

Completed 200 OK in 79ms (Views: 61.4ms | ActiveRecord: 3.3ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:28:03 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"53AH4yS/7S+FYxBTIQx59/poC9BFB9Tn7pZOs6/uYIt4tztDx5SSz84je5Z62kRUMCsNZXmtnMGO+rqO6MPqtQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 500 Internal Server Error in 29ms (ActiveRecord: 6.7ms)

ActionView::MissingTemplate (Missing partial urls/_show with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/urls_controller.rb:29:in `convert_long_url_to_short_url' Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:28:42 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 51ms (Views: 50.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:28:45 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lWbplWPZC9p3lLiGhwRDZJxOHwm5FZInpXrI8EJklu0w4s9sH4qfhDk4yxr1qi/rCavDb3WXv2c9jmX0a6JRUA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 60ms (Views: 44.0ms | ActiveRecord: 4.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:30:55 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 47ms (Views: 46.1ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:30:57 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MmEnFXcbWPv6JFbJ3bEFtYlfOb2kwfINnNNvrWaL5c2X5QHsC0jMpbSIJVWvH2k6HLrl22hD300EJ8KpT00icA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.5ms)

Completed 200 OK in 59ms (Views: 43.6ms | ActiveRecord: 3.3ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:31:38 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 49ms (Views: 48.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:31:40 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"maTXQ4ftbaD6sE3xF0RqVOfHwtcXWlfcCHCXYG0fz9I8IPG6+775/rQcPm1l6gbbciIesdvYepyQhDpkRNkIbw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58

Completed 500 Internal Server Error in 16ms (ActiveRecord: 3.1ms)

ActionView::MissingTemplate (Missing template views/urls/show with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/urls_controller.rb:29:in `convert_long_url_to_short_url' Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:32:07 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 45ms (Views: 44.4ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:32:10 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XMYYk9yVKgOLmvCLj8nSWD6tFbeOboqqprwHMa0wmoH5Qj5qoMa+XcU2gxf9Z77Xq0jJ0ULsp+o+SKo1hPZdPA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58

Completed 500 Internal Server Error in 23ms (ActiveRecord: 3.3ms)

ActionView::MissingTemplate (Missing template views/urls/show with {:locale=>, :formats=>[:js, “application/ecmascript”, “application/x-ecmascript”, :html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/urls_controller.rb:29:in `convert_long_url_to_short_url' Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:32:40 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 46ms (Views: 45.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:32:43 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wOApWWps7E0kbfHC8T6VfqFmJnBccHpMju69as7NZMllZA+gFj94E2rBgl6DkPnxNIP6FpDyVwwWGhBu5wujdA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 83ms (Views: 61.1ms | ActiveRecord: 3.4ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:33:10 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wOApWWps7E0kbfHC8T6VfqFmJnBccHpMju69as7NZMllZA+gFj94E2rBgl6DkPnxNIP6FpDyVwwWGhBu5wujdA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html
Rendered urls/show.html (0.3ms)

Completed 200 OK in 20ms (Views: 5.3ms | ActiveRecord: 3.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:33:26 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wOApWWps7E0kbfHC8T6VfqFmJnBccHpMju69as7NZMllZA+gFj94E2rBgl6DkPnxNIP6FpDyVwwWGhBu5wujdA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 52ms (Views: 46.7ms | ActiveRecord: 0.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:36:20 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wOApWWps7E0kbfHC8T6VfqFmJnBccHpMju69as7NZMllZA+gFj94E2rBgl6DkPnxNIP6FpDyVwwWGhBu5wujdA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:39:07 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wOApWWps7E0kbfHC8T6VfqFmJnBccHpMju69as7NZMllZA+gFj94E2rBgl6DkPnxNIP6FpDyVwwWGhBu5wujdA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (9937.9ms)

Completed 200 OK in 10357ms (Views: 10323.4ms | ActiveRecord: 7.4ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:42:02 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wOApWWps7E0kbfHC8T6VfqFmJnBccHpMju69as7NZMllZA+gFj94E2rBgl6DkPnxNIP6FpDyVwwWGhBu5wujdA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (130850.5ms)

Started GET “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:44:13 +0530

ActionController::RoutingError (No route matches [GET] “/urls/ShowShorten”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Completed 200 OK in 131015ms (Views: 131008.2ms | ActiveRecord: 0.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:45:05 +0530

ActionController::RoutingError (No route matches [POST] “/urls/ShowShorten”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:45:20 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wOApWWps7E0kbfHC8T6VfqFmJnBccHpMju69as7NZMllZA+gFj94E2rBgl6DkPnxNIP6FpDyVwwWGhBu5wujdA==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}
Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 74ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 17:45:29 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 80ms (Views: 78.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 17:45:30 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.2ms)

Completed 200 OK in 90ms (Views: 88.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 17:45:31 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SY9bJAFvab4+WlszxjAnDiu+ZWv1o/51Q/jH1gFWY3jHCIuxrgybruSitdRPOPcp+wOzrEx6C8Bfo8YYP3JxIQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 16ms (ActiveRecord: 7.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 17:45:31 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 66ms (Views: 62.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 17:45:54 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.8ms)

Completed 200 OK in 68ms (Views: 66.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 17:45:55 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 84ms (Views: 79.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:46:08 +0530

ActionController::RoutingError (No route matches [GET] “/urls/ShowShorten”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-29 17:46:15 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 132ms (Views: 130.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:46:24 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (4.1ms)

Completed 200 OK in 85ms (Views: 81.3ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:46:27 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AJMAQuaQbLverEFB2HrEcbEBkpcrW0nuMmX38arw42mfVDziBbsTW5XsKoSDrPnSe0KUIhfxAchSCQPM7d1pVw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (4893.0ms)

Completed 200 OK in 5004ms (Views: 4969.8ms | ActiveRecord: 6.5ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:48:01 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AJMAQuaQbLverEFB2HrEcbEBkpcrW0nuMmX38arw42mfVDziBbsTW5XsKoSDrPnSe0KUIhfxAchSCQPM7d1pVw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2732.5ms)

Completed 200 OK in 2798ms (Views: 2791.6ms | ActiveRecord: 0.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:48:23 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AJMAQuaQbLverEFB2HrEcbEBkpcrW0nuMmX38arw42mfVDziBbsTW5XsKoSDrPnSe0KUIhfxAchSCQPM7d1pVw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (30247.2ms)

Completed 200 OK in 30312ms (Views: 30306.2ms | ActiveRecord: 0.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:49:06 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AJMAQuaQbLverEFB2HrEcbEBkpcrW0nuMmX38arw42mfVDziBbsTW5XsKoSDrPnSe0KUIhfxAchSCQPM7d1pVw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.9ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.9ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (27069.3ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:49:33 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.3ms)

Completed 200 OK in 27294ms (Views: 27283.1ms | ActiveRecord: 2.2ms)

Completed 200 OK in 209ms (Views: 207.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:49:36 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 53ms (Views: 52.2ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:53:38 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/7z6WAUlIm9DcFuH+E+JezjIhluP+YU8E10DcZD0hfZaONyheXa2MQ3cKBuK4eX0rS1aPUN7qHyLqa51uTJCSw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2861.8ms)

Completed 200 OK in 2946ms (Views: 2923.6ms | ActiveRecord: 1.3ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:54:28 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/7z6WAUlIm9DcFuH+E+JezjIhluP+YU8E10DcZD0hfZaONyheXa2MQ3cKBuK4eX0rS1aPUN7qHyLqa51uTJCSw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2183.3ms)

Completed 200 OK in 2250ms (Views: 2243.4ms | ActiveRecord: 0.7ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:56:16 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/7z6WAUlIm9DcFuH+E+JezjIhluP+YU8E10DcZD0hfZaONyheXa2MQ3cKBuK4eX0rS1aPUN7qHyLqa51uTJCSw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2188.0ms)

Completed 200 OK in 2294ms (Views: 2289.8ms | ActiveRecord: 0.5ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:56:52 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/7z6WAUlIm9DcFuH+E+JezjIhluP+YU8E10DcZD0hfZaONyheXa2MQ3cKBuK4eX0rS1aPUN7qHyLqa51uTJCSw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"tutorialspoint", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.8ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2536.9ms)

Completed 200 OK in 2606ms (Views: 2597.1ms | ActiveRecord: 1.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:57:35 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/7z6WAUlIm9DcFuH+E+JezjIhluP+YU8E10DcZD0hfZaONyheXa2MQ3cKBuK4eX0rS1aPUN7qHyLqa51uTJCSw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"tutorialspoint", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1873.3ms)

Completed 200 OK in 1958ms (Views: 1951.0ms | ActiveRecord: 0.7ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:58:20 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/7z6WAUlIm9DcFuH+E+JezjIhluP+YU8E10DcZD0hfZaONyheXa2MQ3cKBuK4eX0rS1aPUN7qHyLqa51uTJCSw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"tutorialspoint", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.4ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (5675.2ms)

Completed 200 OK in 5743ms (Views: 5733.7ms | ActiveRecord: 1.2ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 17:59:12 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 85ms (Views: 83.7ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 17:59:20 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"USmZjIBJebxW+2CDA/GLNImqfp6Cl8NBY7nVbyDPuvLXhwD6+fTIir3HJpdPDiLTQOdwivvN4rhcdyU3b6nVxQ==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"staff", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (6077.6ms)

Completed 200 OK in 6141ms (Views: 6133.1ms | ActiveRecord: 1.2ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:00:07 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/7z6WAUlIm9DcFuH+E+JezjIhluP+YU8E10DcZD0hfZaONyheXa2MQ3cKBuK4eX0rS1aPUN7qHyLqa51uTJCSw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"tutorialspoint", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2526.5ms)

Completed 500 Internal Server Error in 2626ms (Views: 2608.6ms | ActiveRecord: 3.4ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/urls_controller.rb:31:in `convert_long_url_to_short_url' Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:00:21 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/7z6WAUlIm9DcFuH+E+JezjIhluP+YU8E10DcZD0hfZaONyheXa2MQ3cKBuK4eX0rS1aPUN7qHyLqa51uTJCSw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"tutorialspoint", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1848.8ms)

Completed 200 OK in 1950ms (Views: 1910.4ms | ActiveRecord: 7.4ms)

Started GET “/urls/” for 127.0.0.1 at 2019-01-29 18:01:30 +0530

ActionController::RoutingError (No route matches [GET] “/urls”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2019-01-29 18:01:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 89ms (Views: 85.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:01:37 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.4ms)

Completed 200 OK in 72ms (Views: 69.9ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:01:44 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (29.4ms)

Completed 200 OK in 112ms (Views: 96.2ms | ActiveRecord: 3.5ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:03:10 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 101ms (Views: 50.3ms | ActiveRecord: 4.1ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:03:13 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 113ms (Views: 55.3ms | ActiveRecord: 0.6ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:03:24 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 181ms (Views: 133.3ms | ActiveRecord: 0.8ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:03:26 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 99ms (Views: 58.9ms | ActiveRecord: 0.8ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:03:31 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 87ms (Views: 50.2ms | ActiveRecord: 0.7ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:03:36 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 115ms (Views: 77.9ms | ActiveRecord: 0.8ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:03:46 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (28.3ms)

Completed 200 OK in 19317ms (Views: 79.7ms | ActiveRecord: 4.9ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:06:53 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}
Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 69ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:07:01 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000urls/show Completed 200 OK in 29ms (ActiveRecord: 7.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:07:21 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58

Redirected to localhost:3000show Completed 200 OK in 17ms (ActiveRecord: 3.3ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:07:33 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EcFMKfxPrTwpdeD9N9DtTRwVSNewa7/qfny+GpHecEmOBnCJH2TS3GI1izhsBtDu1lZOYozB98weEEon1vP6dw==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58

Redirected to localhost:3000/urls/show Completed 200 OK in 19ms (ActiveRecord: 4.1ms)

Started GET “/urls/show” for 127.0.0.1 at 2019-01-29 18:07:33 +0530 Processing by UrlsController#show as HTML

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (3.2ms)

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

1: <% @result.each do |key,value|%>
2:  <%= key %> : <%= value%>
3: <%end%>
4: <center><%= link_to "Back",:back %></center>

app/views/urls/show.html.erb:1:in `_app_views_urls_show_html_erb__50830394038114468_70098741805180' Started GET “/” for 127.0.0.1 at 2019-01-29 18:07:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 75ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-29 18:07:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 95ms (Views: 93.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-29 18:08:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 51ms (Views: 50.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 18:08:04 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.5ms)

Completed 200 OK in 69ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 18:08:06 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EojKxiOTv+73P5AfLS3Hr8d/mCFVuYXvtO2BbE1MoPKcDxpTjPBN/i3HfvikJReIF8JO5uxgcFqotoCic2iyqw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 10ms (ActiveRecord: 2.4ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:08:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 70ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:08:09 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.1ms)

Completed 200 OK in 90ms (Views: 86.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:08:18 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.6ms)

Completed 200 OK in 100ms (Views: 97.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 18:09:51 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (8.0ms)

Completed 200 OK in 134ms (Views: 129.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:09:59 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 53ms (Views: 50.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:13:08 +0530

 (8.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (4.2ms)

Completed 200 OK in 387ms (Views: 380.5ms | ActiveRecord: 0.0ms)

Started POST “/urls/ShowShorten” for 127.0.0.1 at 2019-01-29 18:13:12 +0530 Processing by UrlsController#convert_long_url_to_short_url as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0SXkHblKILwQXk2ER5hXWsW62YNbBSI3oSlrlG9/r0x0ocLkxRm04l7yPhg1NjvVUF8F5ZeHD3c53caQRrlo8Q==", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 200 OK in 38ms (ActiveRecord: 8.3ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-29 18:13:12 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 117ms (Views: 114.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/show?Status=Nothing+Found+%21” for 127.0.0.1 at 2019-01-29 18:13:30 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Nothing Found !"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 62ms (Views: 61.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:13:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 67ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:17:15 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 77ms (Views: 74.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&domain=housing.com&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 18:17:17 +0530

ActionController::RoutingError (No route matches [GET] “/urls/ShowShorten”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&domain=housing.com&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 18:17:29 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58

Redirected to localhost:3000/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c Completed 302 Found in 16ms (ActiveRecord: 3.5ms)

Started GET “/urls/show?Status=Already+Exists&domain=housing.com&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&short_url=www.hoco%2F33e355c” for 127.0.0.1 at 2019-01-29 18:17:29 +0530 Processing by UrlsController#show as HTML

Parameters: {"Status"=>"Already Exists", "domain"=>"housing.com", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "short_url"=>"www.hoco/33e355c"}
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 43ms (Views: 42.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:17:31 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 78ms (Views: 75.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:17:55 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.9ms)

Completed 200 OK in 44ms (Views: 43.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&domain=housing.com&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 18:17:57 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58

Completed 500 Internal Server Error in 23ms (ActiveRecord: 6.5ms)

ActionView::MissingTemplate (Missing template url/show with {:locale=>, :formats=>, :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/urls_controller.rb:28:in `convert_long_url_to_short_url' Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&domain=housing.com&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 18:18:28 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:77
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 62ms (Views: 39.8ms | ActiveRecord: 5.9ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:18:31 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.4ms)

Completed 200 OK in 79ms (Views: 75.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:19:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 40ms (Views: 38.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 18:19:07 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (3.0ms)

Completed 200 OK in 75ms (Views: 73.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 18:19:08 +0530

ActionController::RoutingError (No route matches [GET] “/urls/ShowShort”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 18:19:19 +0530

ActionController::RoutingError (No route matches [GET] “/urls/ShowShort”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 18:19:29 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:105
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 57ms (Views: 44.2ms | ActiveRecord: 3.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:19:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 77ms (Views: 75.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:20:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 42ms (Views: 41.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:21:01 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:21: syntax error, unexpected end, expecting end-of-input):

app/controllers/elastic_search_controller.rb:21: syntax error, unexpected end, expecting end-of-input Started GET “/search” for 127.0.0.1 at 2019-01-29 18:21:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 49ms (Views: 48.1ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&q=stackoverflow&commit=Search” for 127.0.0.1 at 2019-01-29 18:21:12 +0530

ActionController::RoutingError (No route matches [GET] “/Search”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/Search?utf8=%E2%9C%93&mode=long_url&q=stackoverflow&commit=Search” for 127.0.0.1 at 2019-01-29 18:21:31 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (16.2ms)

Completed 200 OK in 65ms (Views: 55.1ms | ActiveRecord: 4.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:21:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.8ms)

Completed 200 OK in 78ms (Views: 71.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:27:48 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 72ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:27:51 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :field, :query, :commit Completed 500 Internal Server Error in 30ms (ActiveRecord: 8.2ms)

NoMethodError (undefined method `+' for nil:NilClass):

app/models/url.rb:118:in `custom_search' app/controllers/elastic_search_controller.rb:7:in `retrieve' Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:28:49 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}
Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 50ms (Views: 48.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 18:28:50 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.3ms)

Completed 200 OK in 64ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 18:28:51 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JO2rc1GRjIspS2Uj8T7fnmqMDcE7Dbu04k1W6Rntq5Sqanvm/vJ+m/Ozi8R4Ng+5ujHbBoLUTgH+FlcnJ8m5zQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 13ms (ActiveRecord: 5.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:28:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 76ms (Views: 46.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:28:53 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 63ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:28:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 85ms (Views: 82.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:28:55 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.5ms)

Completed 200 OK in 78ms (Views: 75.6ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&q=stackoverflow&commit=Search” for 127.0.0.1 at 2019-01-29 18:28:57 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (18.6ms)

Completed 200 OK in 76ms (Views: 57.3ms | ActiveRecord: 7.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:28:58 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 104ms (Views: 98.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:29:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 47ms (Views: 45.7ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:29:23 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :query, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (1.1ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (23.0ms)

Completed 200 OK in 111ms (Views: 87.7ms | ActiveRecord: 10.8ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:29:24 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 73ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:29:27 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :query, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (1.1ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (14.5ms)

Completed 200 OK in 66ms (Views: 64.2ms | ActiveRecord: 1.1ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:29:55 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :query, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (9.2ms)

Completed 200 OK in 85ms (Views: 72.1ms | ActiveRecord: 3.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:29:56 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 90ms (Views: 87.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:29:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 88ms (Views: 86.7ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&search_tag=&commit=Search” for 127.0.0.1 at 2019-01-29 18:29:58 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "search_tag"=>"", "commit"=>"Search"}

Unpermitted parameters: :utf8, :search_tag, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.9ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (14.4ms)

Completed 200 OK in 86ms (Views: 84.1ms | ActiveRecord: 0.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:29:59 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 78ms (Views: 76.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:30:00 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 87ms (Views: 85.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=&domain=&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 18:30:01 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"", "domain"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_url_to_short_url Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 18:30:01 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 61ms (Views: 59.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:30:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 95ms (Views: 92.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:30:03 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 73ms (Views: 70.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:30:04 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 85ms (Views: 82.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:30:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 100ms (Views: 97.2ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&search_tag=&commit=Search” for 127.0.0.1 at 2019-01-29 18:30:07 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "search_tag"=>"", "commit"=>"Search"}

Unpermitted parameters: :utf8, :search_tag, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (1.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (15.1ms)

Completed 200 OK in 85ms (Views: 83.3ms | ActiveRecord: 1.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:30:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 66ms (Views: 63.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:30:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 46ms (Views: 44.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:30:24 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.7ms)

Completed 200 OK in 60ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&search_tag=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:30:29 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "search_tag"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :search_tag, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (10.0ms)

Completed 200 OK in 97ms (Views: 67.9ms | ActiveRecord: 5.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:30:30 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 67ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&search_tag=&commit=Search” for 127.0.0.1 at 2019-01-29 18:30:45 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "search_tag"=>"", "commit"=>"Search"}

Unpermitted parameters: :utf8, :search_tag, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.9ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (15.6ms)

Completed 200 OK in 80ms (Views: 77.9ms | ActiveRecord: 0.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:31:12 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 50ms (Views: 49.2ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&q=stackoverflow&commit=Search” for 127.0.0.1 at 2019-01-29 18:31:14 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "q"=>"stackoverflow", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4)  [["id", 315], ["id", 314], ["id", 316], ["id", 313]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (23.1ms)

Completed 200 OK in 115ms (Views: 87.8ms | ActiveRecord: 7.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:31:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 81ms (Views: 77.8ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&mode=long_url&q=&commit=Search” for 127.0.0.1 at 2019-01-29 18:31:16 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "mode"=>"long_url", "q"=>"", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (9.1ms)

Completed 200 OK in 88ms (Views: 85.4ms | ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:31:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 75ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:32:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 61ms (Views: 59.7ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:32:21 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (14.7ms)

Completed 200 OK in 79ms (Views: 59.8ms | ActiveRecord: 4.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:32:25 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 79ms (Views: 76.9ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=cric&commit=Search” for 127.0.0.1 at 2019-01-29 18:32:29 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (1.1ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 349], ["id", 357], ["id", 358], ["id", 362], ["id", 364], ["id", 365], ["id", 348], ["id", 359], ["id", 363], ["id", 347]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (23.9ms)

Completed 200 OK in 76ms (Views: 74.1ms | ActiveRecord: 1.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:32:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 72ms (Views: 69.8ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=&commit=Search” for 127.0.0.1 at 2019-01-29 18:32:32 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Rendering elastic_search/show.html.erb within layouts/application
Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (33.9ms)

Completed 200 OK in 86ms (Views: 84.9ms | ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:32:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 75ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:33:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 46ms (Views: 45.3ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:33:42 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:8

Completed 406 Not Acceptable in 55ms (ActiveRecord: 8.7ms)

ActionController::UnknownFormat (ElasticSearchController#retrieve is missing a template for this request format and variant.

request.formats: [“text/html”] request.variant: []

NOTE! For XHR/Ajax or API requests, this action would normally respond with 204 No Content: an empty white screen. Since you're loading it in a web browser, we assume that you expected to actually render a template, not nothing, so we're showing an error to be extra-clear. If you expect 204 No Content, carry on. That's what you'll get from an XHR or API request. Give it a shot.):

actionpack (5.2.2) lib/action_controller/metal/implicit_render.rb:55:in `default_render' actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `block in send_action' actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `tap' actionpack (5.2.2) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' actionpack (5.2.2) lib/abstract_controller/base.rb:194:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:42:in `block in process_action' activesupport (5.2.2) lib/active_support/callbacks.rb:132:in `run_callbacks' actionpack (5.2.2) lib/abstract_controller/callbacks.rb:41:in `process_action' actionpack (5.2.2) lib/action_controller/metal/rescue.rb:22:in `process_action' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `block in instrument' activesupport (5.2.2) lib/active_support/notifications/instrumenter.rb:23:in `instrument' activesupport (5.2.2) lib/active_support/notifications.rb:168:in `instrument' actionpack (5.2.2) lib/action_controller/metal/instrumentation.rb:32:in `process_action' actionpack (5.2.2) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' activerecord (5.2.2) lib/active_record/railties/controller_runtime.rb:24:in `process_action' actionpack (5.2.2) lib/abstract_controller/base.rb:134:in `process' actionview (5.2.2) lib/action_view/rendering.rb:32:in `process' actionpack (5.2.2) lib/action_controller/metal.rb:191:in `dispatch' actionpack (5.2.2) lib/action_controller/metal.rb:252:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:34:in `serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:52:in `block in serve' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `each' actionpack (5.2.2) lib/action_dispatch/journey/router.rb:35:in `serve' actionpack (5.2.2) lib/action_dispatch/routing/route_set.rb:840:in `call' warden (1.2.8) lib/warden/manager.rb:36:in `block in call' warden (1.2.8) lib/warden/manager.rb:34:in `catch' warden (1.2.8) lib/warden/manager.rb:34:in `call' rack (2.0.6) lib/rack/tempfile_reaper.rb:15:in `call' rack (2.0.6) lib/rack/etag.rb:25:in `call' rack (2.0.6) lib/rack/conditional_get.rb:25:in `call' rack (2.0.6) lib/rack/head.rb:12:in `call' actionpack (5.2.2) lib/action_dispatch/http/content_security_policy.rb:18:in `call' rack (2.0.6) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/cookies.rb:670:in `call' activerecord (5.2.2) lib/active_record/migration.rb:559:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' activesupport (5.2.2) lib/active_support/callbacks.rb:98:in `run_callbacks' actionpack (5.2.2) lib/action_dispatch/middleware/callbacks.rb:26:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:34:30 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 29ms (ActiveRecord: 3.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:34:30 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.8ms)

Completed 200 OK in 329ms (Views: 328.0ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:34:33 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (1.8ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 15ms (ActiveRecord: 1.8ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:34:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 98ms (Views: 96.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:34:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 85ms (Views: 83.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:34:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 86ms (Views: 83.2ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:34:37 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 15ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:34:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 67ms (Views: 66.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:34:49 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 64ms (Views: 44.3ms | ActiveRecord: 4.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 18:34:54 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 66ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:35:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 92ms (Views: 90.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:35:05 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (1.8ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.5ms)

Completed 200 OK in 70ms (Views: 52.7ms | ActiveRecord: 1.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:35:36 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 65ms (Views: 63.6ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 18:35:38 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.8ms)

Completed 200 OK in 78ms (Views: 45.1ms | ActiveRecord: 8.8ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:35:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 81ms (Views: 79.3ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=&commit=Search” for 127.0.0.1 at 2019-01-29 18:35:41 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 11ms (ActiveRecord: 0.6ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 18:35:41 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 70ms (Views: 67.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-29 19:07:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.5ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 68ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 19:07:42 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.1ms)

Completed 200 OK in 67ms (Views: 65.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 19:07:43 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qBfWO/hQYaFAkX3TYS4aM2QeAh7+sYZOY7myfP+gHmsmkAauVzOTsZppkzToJsoUtKPU2Udoc/t/4rOywYQMMg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 14ms (ActiveRecord: 6.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:07:43 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 79ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 19:07:44 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.5ms)

Completed 200 OK in 71ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F43013354%2Fform-with-search-field-in-rails-5-1&domain=stackoverflow&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 19:07:57 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://stackoverflow.com/questions/43013354/form-with-search-field-in-rails-5-1", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.9ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/43013354/form-with-search-field-in-rails-5-1"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (1.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/43013354/form-with-search-field-in-rails-5-1"], ["domain", "stackoverflow"]]
↳ app/models/url.rb:58
 (11.3ms)  COMMIT
↳ app/models/url.rb:58
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 16], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:8
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3c0cfe8"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:65
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/43013354/form-with-search-field-in-rails-5-1"], ["id", 367], ["LIMIT", 1]]
↳ app/models/url.rb:65
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "3c0cfe8"], ["id", 367]]
↳ app/models/url.rb:65
 (0.4ms)  COMMIT
↳ app/models/url.rb:65
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 150ms (Views: 58.1ms | ActiveRecord: 20.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 19:08:02 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.9ms)

Completed 200 OK in 67ms (Views: 63.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:08:03 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 61ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 19:08:04 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.3ms)

Completed 200 OK in 79ms (Views: 75.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F43013354%2Fform-with-search-field-in-rails-5-1&domain=stackoverflow&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 19:08:10 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://stackoverflow.com/questions/43013354/form-with-search-field-in-rails-5-1", "domain"=>"stackoverflow", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/43013354/form-with-search-field-in-rails-5-1"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.5ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/43013354/form-with-search-field-in-rails-5-1"], ["LIMIT", 1]]
↳ app/models/url.rb:77
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 61ms (Views: 46.1ms | ActiveRecord: 1.8ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 19:08:12 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 60ms (Views: 56.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:08:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 71.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:08:14 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 63ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=e54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:08:17 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:105
DomainPrefix Load (1.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 77ms (Views: 68.9ms | ActiveRecord: 1.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:08:18 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 70.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-29 19:08:19 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.9ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (12.3ms)

Completed 200 OK in 71ms (Views: 46.3ms | ActiveRecord: 5.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:08:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 105ms (Views: 102.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:08:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 76ms (Views: 73.2ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 19:08:25 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.6ms)

Completed 200 OK in 77ms (Views: 54.9ms | ActiveRecord: 0.7ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:08:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 80ms (Views: 78.4ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=sta&commit=Search” for 127.0.0.1 at 2019-01-29 19:08:39 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"sta", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 350], ["id", 367], ["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 314], ["id", 316], ["id", 317], ["id", 313]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 350], ["id", 367], ["id", 315], ["id", 318], ["id", 319], ["id", 320], ["id", 314], ["id", 316], ["id", 317], ["id", 313]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (3.3ms)

Completed 200 OK in 76ms (Views: 56.9ms | ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:08:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 76ms (Views: 73.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:08:42 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 80ms (Views: 75.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:08:43 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 71ms (Views: 68.7ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=66e&commit=Search” for 127.0.0.1 at 2019-01-29 19:08:51 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"66e", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 10ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:08:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 63ms (Views: 61.2ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=39b&commit=Search” for 127.0.0.1 at 2019-01-29 19:09:06 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"39b", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.9ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (3.0ms)

Completed 200 OK in 72ms (Views: 58.1ms | ActiveRecord: 0.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:09:08 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 80ms (Views: 76.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:09:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 86ms (Views: 83.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 19:09:10 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:09:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 56ms (Views: 54.3ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 19:17:43 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 500 Internal Server Error in 33ms (ActiveRecord: 7.1ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 19:18:35 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html", "domain"=>"elasticsearch"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysis-custom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57

Completed 500 Internal Server Error in 19ms (ActiveRecord: 5.5ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:17:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 19:19:23 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["domain", "elasticsearch"]]
↳ app/models/url.rb:57
 (1.3ms)  COMMIT
↳ app/models/url.rb:57
Url Load (2.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1d68550"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["id", 368], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "1d68550"], ["id", 368]]
↳ app/models/url.rb:64
 (6.0ms)  COMMIT
↳ app/models/url.rb:64
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5

Completed 200 OK in 69ms (Views: 0.6ms | ActiveRecord: 11.5ms)

CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.7ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 17], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 19:22:11 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76

Completed 200 OK in 51ms (Views: 0.2ms | ActiveRecord: 6.5ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 19:22:12 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.1ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 19:26:45 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html", "domain"=>"elasticsearch"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 30ms (Views: 0.2ms | ActiveRecord: 8.4ms)

Started GET “/short-url?short_url=64854af” for 127.0.0.1 at 2019-01-29 19:26:48 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"64854af"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "64854af"], ["LIMIT", 1]]
↳ app/models/url.rb:97

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started GET “/short-url?short_url=64854af” for 127.0.0.1 at 2019-01-29 19:26:49 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"64854af"}

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=www.elco/64854af” for 127.0.0.1 at 2019-01-29 19:27:03 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"www.elco/64854af"}

Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-29 19:27:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 352ms (Views: 348.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 19:27:10 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (8.1ms)

Completed 200 OK in 130ms (Views: 128.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 19:27:11 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SaeVnIBORxyb7OMOzNvZ9guMNDhYyymuIbrrE9LJeGXHIEUJLy21DEEUDelF0wnR2zHi/+ES3Bs94erd7O1qPA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 20ms (ActiveRecord: 4.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:27:11 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (3.4ms)

Completed 200 OK in 80ms (Views: 76.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 19:27:12 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 126ms (Views: 124.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&domain=housing.com&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 19:27:15 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "domain"=>"housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.8ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/models/url.rb:78
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 87ms (Views: 67.8ms | ActiveRecord: 2.6ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 19:27:16 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 70ms (Views: 68.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:27:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 76ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 19:27:18 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.6ms)

Completed 200 OK in 83ms (Views: 81.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Frichonrails.com%2Farticles%2Frendering-static-html-files-with-layout&domain=rails&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 19:27:28 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://richonrails.com/articles/rendering-static-html-files-with-layout", "domain"=>"rails", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://richonrails.com/articles/rendering-static-html-files-with-layout"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://richonrails.com/articles/rendering-static-html-files-with-layout"], ["domain", "rails"]]
↳ app/models/url.rb:57
 (1.2ms)  COMMIT
↳ app/models/url.rb:57
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "rails"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "r/a"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:12
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:20
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "rails"], ["prefix", "r/a"]]
↳ app/models/domain_prefix.rb:20
 (0.3ms)  COMMIT
↳ app/models/domain_prefix.rb:20
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74e9dcd"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.9ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://richonrails.com/articles/rendering-static-html-files-with-layout"], ["id", 369], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "74e9dcd"], ["id", 369]]
↳ app/models/url.rb:64
 (0.4ms)  COMMIT
↳ app/models/url.rb:64
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)
Report Load (1.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-29"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-29"], ["id", 7], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 18], ["id", 7]]
↳ app/workers/url_worker.rb:8
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 98ms (Views: 47.5ms | ActiveRecord: 6.1ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:28:02 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 83ms (Views: 81.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:28:03 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 82ms (Views: 79.4ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:28:06 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 67ms (Views: 64.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:28:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 66ms (Views: 64.2ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=r%2Fa&commit=Search” for 127.0.0.1 at 2019-01-29 19:28:12 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"r/a", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 12ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:28:12 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 46ms (Views: 44.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:28:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 63ms (Views: 60.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 19:28:22 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 87ms (Views: 84.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Frichonrails.com%2Farticles%2Frendering-static-html-files-with-layout&domain=rails&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-29 19:28:28 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://richonrails.com/articles/rendering-static-html-files-with-layout", "domain"=>"rails", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (1.0ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://richonrails.com/articles/rendering-static-html-files-with-layout"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://richonrails.com/articles/rendering-static-html-files-with-layout"], ["LIMIT", 1]]
↳ app/models/url.rb:78
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 58ms (Views: 41.5ms | ActiveRecord: 2.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:28:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 64ms (Views: 61.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:28:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 84ms (Views: 82.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=dcd&commit=Search” for 127.0.0.1 at 2019-01-29 19:28:37 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"dcd", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 369]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 369]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.4ms)

Completed 200 OK in 71ms (Views: 55.4ms | ActiveRecord: 0.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:28:41 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 61ms (Views: 58.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:28:47 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 79ms (Views: 77.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=e54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:28:49 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d "], ["LIMIT", 1]]
↳ app/models/url.rb:97
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 49ms (Views: 44.8ms | ActiveRecord: 0.5ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:28:50 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 84ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=e54de1d&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:28:55 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"e54de1d", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:97
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 56ms (Views: 52.0ms | ActiveRecord: 0.4ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:28:56 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 59ms (Views: 56.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:32:02 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 337ms (Views: 330.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:32:04 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (20.5ms)

Completed 200 OK in 122ms (Views: 120.3ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-01-29 19:32:06 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (2.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 296], ["id", 306], ["id", 312]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.7ms)

Completed 200 OK in 96ms (Views: 50.7ms | ActiveRecord: 11.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:32:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 81ms (Views: 79.8ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=&commit=Search” for 127.0.0.1 at 2019-01-29 19:32:08 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 12ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:32:08 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.3ms)

Completed 200 OK in 76ms (Views: 74.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=66e&commit=Search” for 127.0.0.1 at 2019-01-29 19:32:14 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"66e", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (1.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 10ms (ActiveRecord: 1.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:32:14 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=5ae&commit=Search” for 127.0.0.1 at 2019-01-29 19:32:23 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"5ae", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.2ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 12ms (ActiveRecord: 0.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-29 19:32:23 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 46ms (Views: 44.8ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=39b&commit=Search” for 127.0.0.1 at 2019-01-29 19:32:31 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"39b", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.1ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (3.3ms)

Completed 200 OK in 88ms (Views: 68.4ms | ActiveRecord: 0.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:32:33 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 71ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 19:32:34 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:32:35 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 48ms (Views: 44.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 19:36:08 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 62ms (Views: 60.5ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 19:36:09 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9FPHsvYWeh2G0z+q+vawkf3bq83eZL6VMsFEMNgFUnJ61BcnWXWIDVwr0U1z/mC2LWZ9Cme9SyAumkX+5iFAKw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 19ms (ActiveRecord: 3.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:36:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 66ms (Views: 64.6ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-29 19:36:10 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:36:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 74ms (Views: 72.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-29 19:36:45 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 42ms (Views: 41.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-29 19:36:46 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hHhxXaIdlEd1cZRxapXo2dnmL0bFU4nBFXwW2x72/58K/6HIDX5mV6+JepbjnTj+CVv5gXyKfHQJJxcVINLtxg==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 12ms (ActiveRecord: 5.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:36:46 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 72ms (Views: 70.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:36:57 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 91ms (Views: 88.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:37:00 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "www.hoco/e54de1d "], ["LIMIT", 1]]
↳ app/models/url.rb:90
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 66ms (Views: 46.0ms | ActiveRecord: 4.3ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:37:01 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 64ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:37:03 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 72ms (Views: 70.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:37:05 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.1ms)

Completed 200 OK in 76ms (Views: 73.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:37:06 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 71ms (Views: 69.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:37:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 49ms (Views: 47.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-29 19:37:20 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.9ms)

Completed 200 OK in 80ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:37:21 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 92ms (Views: 90.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:37:21 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 78ms (Views: 75.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=e54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:37:24 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d "], ["LIMIT", 1]]
↳ app/models/url.rb:90
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 64ms (Views: 47.9ms | ActiveRecord: 5.4ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:37:26 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 85ms (Views: 83.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=e54de1d&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:37:31 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"e54de1d", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:90
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 70ms (Views: 48.7ms | ActiveRecord: 3.9ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:37:32 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 82ms (Views: 79.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:37:36 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.hoco/e54de1d", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "www.hoco/e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:90
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 74ms (Views: 69.3ms | ActiveRecord: 0.4ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:37:37 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 83ms (Views: 82.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:37:49 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.hoco/e54de1d", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 68ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:37:50 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 86ms (Views: 85.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:40:53 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (0.8ms)

Completed 200 OK in 44ms (Views: 42.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:40:55 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 75ms (Views: 41.8ms | ActiveRecord: 6.1ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:40:56 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 79ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-29 19:44:02 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:90
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.8ms)

Completed 200 OK in 100ms (Views: 74.5ms | ActiveRecord: 3.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-29 19:44:06 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.5ms)

Completed 200 OK in 70ms (Views: 67.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-29 19:44:10 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 67ms (Views: 65.2ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
DomainPrefix Load (0.4ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.4ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 5]]
 (6.4ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Destroy (0.4ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 6]]
 (6.3ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Destroy (1.4ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 7]]
 (6.1ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 8]]
 (2.9ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.2ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 9]]
 (0.7ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.8ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 10]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 11]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 12]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 13]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 14]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 15]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 16]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Destroy (0.7ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 17]]
 (0.6ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Destroy (0.4ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 18]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.2ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 19]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 20]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 21]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 22]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.4ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 23]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 24]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 25]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 26]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 27]]
 (0.3ms)  COMMIT
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
 (0.2ms)  BEGIN
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "PropTiger.com"], ["prefix", "pt.com/"]]
 (1.3ms)  COMMIT
DomainPrefix Load (0.4ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 28]]
 (1.3ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Create (0.2ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "proptiger.com"], ["prefix", "pt.com/"]]
 (1.2ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "maakan.com"], ["prefix", "mk.com/"]]
 (1.2ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Create (0.2ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "housing.com"], ["prefix", "hsng.com/"]]
 (1.3ms)  COMMIT

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 21:04:35 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html", "domain"=>"elasticsearch"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:50
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:50
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:50
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:75

Completed 500 Internal Server Error in 32ms (ActiveRecord: 4.6ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 21:09:22 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:50
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/current/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:50
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:50

Completed 500 Internal Server Error in 49ms (ActiveRecord: 5.9ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent/nalysisustom-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 21:10:54 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent/nalysisustom-analyzer.html", "domain"=>"elasticsearch"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:50
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:50
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent/nalysisustom-analyzer.html"], ["domain", "elasticsearch"]]
↳ app/models/url.rb:50
 (6.8ms)  COMMIT
↳ app/models/url.rb:50
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "eafcb4d"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent/nalysisustom-analyzer.html"], ["id", 370], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "eafcb4d"], ["id", 370]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
DomainPrefix Load (0.6ms)  SELECT "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1  [["prefix", "elasticsearch"]]
↳ app/models/url.rb:62
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent/nalysisustom-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:75
CACHE DomainPrefix Load (0.0ms)  SELECT "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1  [["prefix", "elasticsearch"]]
↳ app/models/url.rb:88

Completed 500 Internal Server Error in 118ms (ActiveRecord: 13.9ms)

TypeError (no implicit conversion of String into Array):

app/models/url.rb:88:in `rescue in shorten_url' app/models/url.rb:48:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 21:31:42 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["domain", "elasticsearch"]]
↳ app/models/url.rb:51
 (0.5ms)  COMMIT
↳ app/models/url.rb:51
DomainPrefix Load (9.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/url.rb:53

Completed 200 OK in 82ms (Views: 0.2ms | ActiveRecord: 25.5ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html&domain=elasticsearch” for 127.0.0.1 at 2019-01-29 21:32:04 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html", "domain"=>"elasticsearch"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:51
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/url.rb:79

Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 2.1ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html&domain=proptiger” for 127.0.0.1 at 2019-01-29 21:32:11 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html", "domain"=>"proptiger"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:51
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/url.rb:79

Completed 200 OK in 9ms (Views: 0.2ms | ActiveRecord: 1.3ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html&domain=proptiger” for 127.0.0.1 at 2019-01-29 21:32:12 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html", "domain"=>"proptiger"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
 (0.7ms)  ROLLBACK
↳ app/models/url.rb:51
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/url.rb:79

Completed 200 OK in 11ms (Views: 0.2ms | ActiveRecord: 2.3ms)

DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:32:40 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html", "domain"=>"proptiger.com"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:51
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/url.rb:79

Completed 200 OK in 10ms (Views: 0.2ms | ActiveRecord: 1.5ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:33:53 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html", "domain"=>"proptiger.com"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:51
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/url.rb:79

Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 6.1ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:34:29 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html", "domain"=>"proptiger.com"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:51
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/url.rb:79

Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 6.5ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:35:34 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html", "domain"=>"proptiger.com"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:51
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 500 Internal Server Error in 37ms (ActiveRecord: 6.1ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:51:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:35:53 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html", "domain"=>"proptiger.com"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:51
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/elasticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "elasticsearch"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 500 Internal Server Error in 27ms (ActiveRecord: 7.0ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:51:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/reference/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:36:45 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/reference/cuent-analyzer.html", "domain"=>"proptiger.com"}
 (0.3ms)  BEGIN
↳ app/models/url.rb:51
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:51
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/en/sticsearch/reference/cuent-analyzer.html"], ["domain", "proptiger.com"]]
↳ app/models/url.rb:51
 (1.1ms)  COMMIT
↳ app/models/url.rb:51
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/reference/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:76
CACHE DomainPrefix Load (0.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 500 Internal Server Error in 33ms (ActiveRecord: 3.2ms)

NoMethodError (undefined method `first' for nil:NilClass):

app/models/url.rb:79:in `block in shorten_url' app/models/url.rb:78:in `rescue in shorten_url' app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/refere/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:37:43 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/refere/cuent-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/refere/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:77

Completed 500 Internal Server Error in 29ms (ActiveRecord: 8.3ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:80:in `block in shorten_url' app/models/url.rb:79:in `rescue in shorten_url' app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/refere/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:37:53 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/refere/cuent-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/refere/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:77

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:80:in `block in shorten_url' app/models/url.rb:79:in `rescue in shorten_url' app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/rere/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:42:43 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:77

Completed 500 Internal Server Error in 23ms (ActiveRecord: 6.4ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:80:in `block in shorten_url' app/models/url.rb:79:in `rescue in shorten_url' app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/rere/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:47:42 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Url Load (0.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:75

Completed 500 Internal Server Error in 21ms (ActiveRecord: 6.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/models/url.rb:78:in `block in shorten_url' app/models/url.rb:77:in `rescue in shorten_url' app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/rere/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:49:16 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 4.1ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/rere/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:49:46 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)

DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/” for 127.0.0.1 at 2019-01-29 21:51:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 336ms (Views: 334.5ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/rere/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:51:26 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5

Completed 200 OK in 21ms (Views: 0.2ms | ActiveRecord: 6.5ms)

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["prefix", "proptiger.com"], ["LIMIT", 1]]
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]

Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/rere/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:54:45 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html"], ["domain", "proptiger.com"]]
↳ app/models/url.rb:57
 (1.3ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1643c16"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html"], ["id", 373], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "1643c16"], ["id", 373]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:75

Completed 500 Internal Server Error in 90ms (ActiveRecord: 9.1ms)

NoMethodError (undefined method `+' for #<DomainPrefix:0x00007fb9632a4080>):

app/models/url.rb:88:in `rescue in shorten_url' app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/sticsearch/rere/cuent-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:54:59 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/sticsearch/rere/cuent-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:75

Completed 500 Internal Server Error in 21ms (ActiveRecord: 1.3ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:57:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/sticseant-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:56:10 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticseant-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/sticseant-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastic.co/en/sticseant-analyzer.html"], ["domain", "proptiger.com"]]
↳ app/models/url.rb:57
 (1.2ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "137d0db"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastic.co/en/sticseant-analyzer.html"], ["id", 374], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "137d0db"], ["id", 374]]
↳ app/models/url.rb:61
 (6.1ms)  COMMIT
↳ app/models/url.rb:61
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/sticseant-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:75

Completed 500 Internal Server Error in 83ms (ActiveRecord: 10.0ms)

NoMethodError (undefined method `+' for #<DomainPrefix:0x00007fb96149c538>):

app/models/url.rb:88:in `rescue in shorten_url' app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastic.co/en/sticseant-analyzer.html&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:56:18 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastic.co/en/sticseant-analyzer.html", "domain"=>"proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastic.co/en/sticseant-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastic.co/en/sticseant-analyzer.html"], ["LIMIT", 1]]
↳ app/models/url.rb:75

Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.2ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:57:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastitml&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 21:57:09 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitml", "domain"=>"proptiger.com"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastitml"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastitml"], ["domain", "proptiger.com"]]
↳ app/models/url.rb:57
 (1.1ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "0c97a97"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastitml"], ["id", 375], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.8ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "0c97a97"], ["id", 375]]
↳ app/models/url.rb:61
 (0.4ms)  COMMIT
↳ app/models/url.rb:61
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastitml"], ["LIMIT", 1]]
↳ app/models/url.rb:75

Completed 500 Internal Server Error in 52ms (ActiveRecord: 5.2ms)

NoMethodError (undefined method `+' for #<DomainPrefix:0x00007fb962c17e10>):

app/models/url.rb:88:in `rescue in shorten_url' app/models/url.rb:50:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastitm&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 22:00:35 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitm", "domain"=>"proptiger.com"}
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastitm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.elastitm"], ["domain", "proptiger.com"]]
↳ app/models/url.rb:58
 (5.1ms)  COMMIT
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c3f9cfd"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:62
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.elastitm"], ["id", 376], ["LIMIT", 1]]
↳ app/models/url.rb:62
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "c3f9cfd"], ["id", 376]]
↳ app/models/url.rb:62
 (0.3ms)  COMMIT
↳ app/models/url.rb:62

Completed 200 OK in 52ms (Views: 0.3ms | ActiveRecord: 14.6ms)

Started POST “/shorten-url/?long_url=www.elastitm&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 22:00:39 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitm", "domain"=>"proptiger.com"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.3ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastitm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastitm"], ["LIMIT", 1]]
↳ app/models/url.rb:76

Completed 500 Internal Server Error in 16ms (ActiveRecord: 2.2ms)

ActiveRecord::RecordInvalid (Validation failed: Long url has already been taken):

app/models/url.rb:58:in `shorten_url' app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.elastitm&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 22:02:35 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitm", "domain"=>"proptiger.com"}
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastitm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastitm"], ["LIMIT", 1]]
↳ app/models/url.rb:76

Completed 200 OK in 32ms (Views: 0.2ms | ActiveRecord: 9.7ms)

Started POST “/shorten-url/?long_url=www.elastitm&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 22:02:37 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitm", "domain"=>"proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastitm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastitm"], ["LIMIT", 1]]
↳ app/models/url.rb:76

Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 1.4ms)

Started POST “/shorten-url/?long_url=www.elastitm&domain=proptiger.co” for 127.0.0.1 at 2019-01-29 22:02:53 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitm", "domain"=>"proptiger.co"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.co"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started POST “/shorten-url/?long_url=www.elastitm&domain=proptiger.com” for 127.0.0.1 at 2019-01-29 22:02:56 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitm", "domain"=>"proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.elastitm"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.elastitm"], ["LIMIT", 1]]
↳ app/models/url.rb:76

Completed 200 OK in 12ms (Views: 0.2ms | ActiveRecord: 1.8ms)

Started POST “/shorten-url/?long_url=www.elastitm&domain=Proptiger.com” for 127.0.0.1 at 2019-01-29 22:03:04 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitm", "domain"=>"Proptiger.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "Proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)

Started POST “/shorten-url/?long_url=www.elastitm&domain=Proptiger.com” for 127.0.0.1 at 2019-01-29 22:03:35 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitm", "domain"=>"Proptiger.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "Proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started POST “/shorten-url/?long_url=www.elastitm&domain=Proptiger.com” for 127.0.0.1 at 2019-01-29 22:03:39 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.elastitm", "domain"=>"Proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "Proptiger.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)

Started POST “/shorten-url/?long_url=www.maakan.com&domain=maakan.com” for 127.0.0.1 at 2019-01-29 22:04:01 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakan.com", "domain"=>"maakan.com"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakan.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.4ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.maakan.com"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.maakan.com"], ["domain", "maakan.com"]]
↳ app/models/url.rb:58
 (1.1ms)  COMMIT
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "79cfc7b"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:62
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.maakan.com"], ["id", 377], ["LIMIT", 1]]
↳ app/models/url.rb:62
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "79cfc7b"], ["id", 377]]
↳ app/models/url.rb:62
 (5.9ms)  COMMIT
↳ app/models/url.rb:62

Completed 200 OK in 58ms (Views: 0.2ms | ActiveRecord: 10.3ms)

Started POST “/shorten-url/?long_url=www.maakan.com/vipul&domain=maakan.com” for 127.0.0.1 at 2019-01-29 22:10:53 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakan.com/vipul", "domain"=>"maakan.com"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakan.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.maakan.com/vipul"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.maakan.com/vipul"], ["domain", "maakan.com"]]
↳ app/models/url.rb:58
 (1.3ms)  COMMIT
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "bc76091"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:62
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.maakan.com/vipul"], ["id", 378], ["LIMIT", 1]]
↳ app/models/url.rb:62
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "bc76091"], ["id", 378]]
↳ app/models/url.rb:62
 (0.3ms)  COMMIT
↳ app/models/url.rb:62

Completed 200 OK in 85ms (Views: 0.2ms | ActiveRecord: 10.3ms)

Started POST “/shorten-url/?long_url=www.maakan.com/vipul/vipul” for 127.0.0.1 at 2019-01-29 22:12:04 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakan.com/vipul/vipul"}
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 16ms (Views: 0.7ms | ActiveRecord: 3.6ms)

Started POST “/shorten-url/?long_url=www.maakan.com/vipul/vipul” for 127.0.0.1 at 2019-01-29 22:12:19 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakan.com/vipul/vipul"}
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4

Completed 200 OK in 19ms (Views: 0.2ms | ActiveRecord: 3.9ms)

DomainPrefix Load (0.4ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.4ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 29]]
 (1.2ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.3ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 30]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.2ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 31]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "housing"], ["prefix", "hsng.com/"]]
 (1.3ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "maakan"], ["prefix", "mk.com/"]]
 (1.2ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "proptiger"], ["prefix", "pt.com/"]]
 (1.3ms)  COMMIT
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started POST “/shorten-url/?long_url=www.maakan.com/vipul/vipul” for 127.0.0.1 at 2019-01-29 22:14:00 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakan.com/vipul/vipul"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.maakan.com/vipul/vipul"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.maakan.com/vipul/vipul"], ["domain", "maakan"]]
↳ app/models/url.rb:58
 (6.3ms)  COMMIT
↳ app/models/url.rb:58
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ad3f184"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:62
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.maakan.com/vipul/vipul"], ["id", 379], ["LIMIT", 1]]
↳ app/models/url.rb:62
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "ad3f184"], ["id", 379]]
↳ app/models/url.rb:62
 (0.4ms)  COMMIT
↳ app/models/url.rb:62

Completed 200 OK in 83ms (Views: 0.2ms | ActiveRecord: 11.4ms)

Started POST “/shorten-url/?long_url=www.maakan.com/vipul/vipul” for 127.0.0.1 at 2019-01-29 22:16:20 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakan.com/vipul/vipul"}
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.2ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.maakan.com/vipul/vipul"], ["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.1ms)  ROLLBACK
↳ app/models/url.rb:58
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.maakan.com/vipul/vipul"], ["LIMIT", 1]]
↳ app/models/url.rb:74

Completed 200 OK in 24ms (Views: 0.2ms | ActiveRecord: 5.9ms)

Started GET “/short-url?short_url=www.elco/64854af” for 127.0.0.1 at 2019-01-29 22:16:27 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"www.elco/64854af"}
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "64854af"], ["LIMIT", 1]]
↳ app/models/url.rb:96

Completed 200 OK in 4ms (Views: 0.1ms | ActiveRecord: 0.7ms)

Started GET “/short-url?short_url=mk.com/ad3f184” for 127.0.0.1 at 2019-01-29 22:16:39 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/ad3f184"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ad3f184"], ["LIMIT", 1]]
↳ app/models/url.rb:96

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)

Started GET “/short-url?short_url=mk.com/ad3f184” for 127.0.0.1 at 2019-01-29 22:20:48 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/ad3f184"}

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 6.5ms)

Started GET “/short-url?short_url=ad3f184” for 127.0.0.1 at 2019-01-29 22:20:53 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"ad3f184"}

Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Report Load (7.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
 (4.0ms)  BEGIN
↳ app/workers/url_worker.rb:10
Report Exists (0.8ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
Report Load (2.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
 (1.7ms)  BEGIN
↳ app/workers/url_worker.rb:10
Report Create (8.1ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-30"], ["no_of_urls", 1]]
↳ app/workers/url_worker.rb:10
Report Exists (0.7ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
Report Load (2.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
Report Load (2.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
Report Load (3.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
Report Create (1.3ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-30"], ["no_of_urls", 1]]
↳ app/workers/url_worker.rb:10
↳ app/workers/url_worker.rb:5
 (5.5ms)  COMMIT
↳ app/workers/url_worker.rb:10
 (4.1ms)  COMMIT
↳ app/workers/url_worker.rb:10
 (0.5ms)  BEGIN
↳ app/workers/url_worker.rb:10
 (1.8ms)  BEGIN
↳ app/workers/url_worker.rb:10
Report Exists (2.0ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
 (1.4ms)  ROLLBACK
↳ app/workers/url_worker.rb:10
Report Exists (9.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
Report Load (1.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (1.1ms)  BEGIN
↳ app/workers/url_worker.rb:10
 (0.9ms)  BEGIN
↳ app/workers/url_worker.rb:8
↳ app/workers/url_worker.rb:10
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
Report Exists (1.7ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
Report Exists (2.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (1.1ms)  ROLLBACK
↳ app/workers/url_worker.rb:10
Report Load (1.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (2.3ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
↳ app/workers/url_worker.rb:6
Report Load (1.6ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (1.1ms)  ROLLBACK
↳ app/workers/url_worker.rb:10
 (3.6ms)  BEGIN
 (2.0ms)  BEGIN
 (3.0ms)  BEGIN
↳ app/workers/url_worker.rb:8
↳ app/workers/url_worker.rb:8
Report Load (1.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
Report Exists (2.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (1.7ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (2.1ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Exists (2.1ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.9ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
Report Exists (2.1ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (2.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (1.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8

Started GET “/” for 127.0.0.1 at 2019-01-30 09:55:19 +0530

 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 429ms (Views: 423.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 09:55:21 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (12.5ms)

Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 09:55:22 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"t32CT8PzMBfZ+1eGYODDvCc1+tecQiQ6pzoCgKuAotg5kJf3Xw2/zKufOPjK+eYMUQcNur0UQMKSiG5GRnusTQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:20

Redirected to localhost:3000/home/index Completed 200 OK in 19ms (ActiveRecord: 7.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 09:55:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 61.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 09:55:24 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 69ms (Views: 67.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 09:55:27 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 90ms (Views: 42.6ms | ActiveRecord: 3.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 09:55:29 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 77ms (Views: 75.1ms | ActiveRecord: 0.0ms)

Url Load (0.6ms)  SELECT "urls".* FROM "urls"
 (0.2ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 314]]
 (1.1ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 315]]
 (6.2ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.5ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 316]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.5ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 296]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 297]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 298]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 299]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 301]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 303]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 304]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 305]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 306]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 311]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 317]]
 (0.3ms)  COMMIT
 (0.3ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 318]]
 (0.6ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 319]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 312]]
 (0.3ms)  COMMIT
 (0.3ms)  BEGIN
Url Destroy (0.7ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 313]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 320]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 321]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 322]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 323]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 324]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 325]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 326]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 327]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.9ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 328]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 329]]
 (0.3ms)  COMMIT
 (0.3ms)  BEGIN
Url Destroy (0.7ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 330]]
 (0.6ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 331]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 332]]
 (0.5ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (1.0ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 333]]
 (0.6ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 335]]
 (6.1ms)  COMMIT
 (0.3ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 336]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 337]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 338]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 339]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (1.1ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 340]]
 (0.3ms)  COMMIT
 (0.4ms)  BEGIN
Url Destroy (0.7ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 341]]
 (0.4ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 342]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 343]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 344]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 345]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.5ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 346]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 347]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 348]]
 (0.3ms)  COMMIT
 (0.3ms)  BEGIN
Url Destroy (0.5ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 349]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 350]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 351]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 352]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 353]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 354]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 355]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 356]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 357]]
 (0.4ms)  COMMIT
 (0.4ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 358]]
 (0.5ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 359]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 360]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.4ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 361]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.2ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 362]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 363]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 364]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 365]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 366]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 367]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 368]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 369]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 370]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 371]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 372]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 373]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 374]]
 (0.4ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.5ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 375]]
 (0.8ms)  COMMIT
 (0.4ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 376]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 377]]
 (0.3ms)  COMMIT
 (0.2ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 378]]
 (0.3ms)  COMMIT
 (0.1ms)  BEGIN
Url Destroy (0.3ms)  DELETE FROM "urls" WHERE "urls"."id" = $1  [["id", 379]]
 (0.3ms)  COMMIT

Started GET “/” for 127.0.0.1 at 2019-01-30 09:56:20 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 120ms (Views: 117.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 09:56:22 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 90ms (Views: 87.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.proptiger.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 09:56:28 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.proptiger.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/"], ["domain", "proptiger"]]
↳ app/models/url.rb:57
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
 (1.2ms)  COMMIT
↳ app/workers/url_worker.rb:5
↳ app/models/url.rb:57
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "90904e4"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/"], ["id", 380], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "90904e4"], ["id", 380]]
↳ app/models/url.rb:61
 (0.4ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 143ms (Views: 72.9ms | ActiveRecord: 5.8ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 09:56:29 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 63ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2Fproperty-for-rent-in-gurgaon&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 09:56:35 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (1.0ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["domain", "housing"]]
↳ app/models/url.rb:57
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (6.0ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9423bb6"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["id", 381], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "9423bb6"], ["id", 381]]
↳ app/models/url.rb:61
 (0.4ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 83ms (Views: 44.4ms | ActiveRecord: 9.5ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 09:56:36 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 61ms (Views: 58.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 09:56:55 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 48ms (Views: 41.9ms | ActiveRecord: 0.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 09:56:57 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.6ms)

Completed 200 OK in 86ms (Views: 84.8ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1 LIMIT $2  [["id", 33], ["LIMIT", 1]]
 (0.1ms)  BEGIN
DomainPrefix Destroy (0.4ms)  DELETE FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1  [["id", 33]]
 (1.2ms)  COMMIT
 (0.2ms)  BEGIN
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "makaan"], ["prefix", "mk.com"]]
 (1.3ms)  COMMIT

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 09:58:19 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 55ms (Views: 51.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 09:58:20 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 69ms (Views: 67.8ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 09:58:40 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 54ms (Views: 52.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 09:59:20 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.8ms)

Completed 200 OK in 47ms (Views: 46.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 09:59:22 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 80ms (Views: 67.7ms | ActiveRecord: 1.4ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:00:14 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.8ms)

Completed 200 OK in 46ms (Views: 45.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:00:16 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/"], ["domain", "makaan"]]
↳ app/models/url.rb:57
 (2.3ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "63906fc"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/"], ["id", 382], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "63906fc"], ["id", 382]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8

Completed 200 OK in 101ms (Views: 46.4ms | ActiveRecord: 14.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:00:18 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 59ms (Views: 57.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.proptiger.com%2Fnashik%2Fpathardi-phata%2Fekta-world-ekta-greenville-651128&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:00:35 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.proptiger.com/nashik/pathardi-phata/ekta-world-ekta-greenville-651128", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/nashik/pathardi-phata/ekta-world-ekta-greenville-651128"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/nashik/pathardi-phata/ekta-world-ekta-greenville-651128"], ["domain", "proptiger"]]
↳ app/models/url.rb:57
 (0.4ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "40138aa"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/nashik/pathardi-phata/ekta-world-ekta-greenville-651128"], ["id", 383], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "40138aa"], ["id", 383]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8

Completed 200 OK in 110ms (Views: 68.5ms | ActiveRecord: 8.4ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:00:37 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 62ms (Views: 60.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2F3bhk-flats-for-rent-in-sector-43-gurgaon-C8P546nmwx0mb1amy8d%3Flocality_info%3Dfalse&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:00:46 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/3bhk-flats-for-rent-in-sector-43-gurgaon-C8P546nmwx0mb1amy8d?locality_info=false", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.9ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/3bhk-flats-for-rent-in-sector-43-gurgaon-C8P546nmwx0mb1amy8d?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/3bhk-flats-for-rent-in-sector-43-gurgaon-C8P546nmwx0mb1amy8d?locality_info=false"], ["domain", "housing"]]
↳ app/models/url.rb:57
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.1ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (4.9ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e3024da"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/3bhk-flats-for-rent-in-sector-43-gurgaon-C8P546nmwx0mb1amy8d?locality_info=false"], ["id", 384], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e3024da"], ["id", 384]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 86ms (Views: 44.1ms | ActiveRecord: 9.2ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:00:48 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 70ms (Views: 69.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2Fgurgaon-residential-property%2Frent-property-in-gurgaon-city%3Fbeds%3D3%26propertyType%3Dapartment%26budget%3D30000%2C36000&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:01:36 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/gurgaon-residential-property/rent-property-in-gurgaon-city?beds=3&propertyType=apartment&budget=30000,36000", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/gurgaon-residential-property/rent-property-in-gurgaon-city?beds=3&budget=30000%2C36000&propertyType=apartment"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/gurgaon-residential-property/rent-property-in-gurgaon-city?beds=3&budget=30000%2C36000&propertyType=apartment"], ["domain", "makaan"]]
↳ app/models/url.rb:57
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (6.2ms)  COMMIT
 (0.4ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "960e426"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/gurgaon-residential-property/rent-property-in-gurgaon-city?beds=3&budget=30000%2C36000&propertyType=apartment"], ["id", 385], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "960e426"], ["id", 385]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 80ms (Views: 43.1ms | ActiveRecord: 8.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:01:37 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 87ms (Views: 86.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2Fgurgaon-property%2Fsector-38-rental-flats-51416%3Fbeds%3D3%26propertyType%3Dapartment%26budget%3D30000%2C36000&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:02:00 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/gurgaon-property/sector-38-rental-flats-51416?beds=3&propertyType=apartment&budget=30000,36000", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/gurgaon-property/sector-38-rental-flats-51416?beds=3&budget=30000%2C36000&propertyType=apartment"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/gurgaon-property/sector-38-rental-flats-51416?beds=3&budget=30000%2C36000&propertyType=apartment"], ["domain", "makaan"]]
↳ app/models/url.rb:57
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.5ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (5.8ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "74dd63c"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.9ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/gurgaon-property/sector-38-rental-flats-51416?beds=3&budget=30000%2C36000&propertyType=apartment"], ["id", 386], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "74dd63c"], ["id", 386]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 83ms (Views: 44.3ms | ActiveRecord: 9.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:02:01 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 90ms (Views: 89.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2Fgurgaon%2Fjmd-gardens-in-sector-33-6369934%2F3bhk-3t-1875-sqft-apartment-for-rent&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:02:16 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/gurgaon/jmd-gardens-in-sector-33-6369934/3bhk-3t-1875-sqft-apartment-for-rent", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.5ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/gurgaon/jmd-gardens-in-sector-33-6369934/3bhk-3t-1875-sqft-apartment-for-rent"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/gurgaon/jmd-gardens-in-sector-33-6369934/3bhk-3t-1875-sqft-apartment-for-rent"], ["domain", "makaan"]]
↳ app/models/url.rb:57
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (5.7ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4d9748d"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/gurgaon/jmd-gardens-in-sector-33-6369934/3bhk-3t-1875-sqft-apartment-for-rent"], ["id", 387], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "4d9748d"], ["id", 387]]
↳ app/models/url.rb:61
 (0.4ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 72ms (Views: 41.5ms | ActiveRecord: 8.6ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:02:25 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 95ms (Views: 94.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:02:25 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 66ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2654454-1150-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:02:28 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/2654454-1150-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2654454-1150-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/2654454-1150-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon"], ["domain", "housing"]]
↳ app/models/url.rb:57
Report Load (4.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (9.2ms)  COMMIT
↳ app/models/url.rb:57
 (0.4ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "36d437e"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/2654454-1150-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon"], ["id", 388], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "36d437e"], ["id", 388]]
↳ app/models/url.rb:61
 (0.4ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 93ms (Views: 50.7ms | ActiveRecord: 12.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:02:29 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 61ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.proptiger.com%2Fahmedabad%2Fnear-nirma-university-on-sg-highway%2Fgodrej-properties-garden-city-pinecrest-1640226&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:02:44 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226"], ["domain", "proptiger"]]
↳ app/models/url.rb:57
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (7.0ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "25b0d05"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/ahmedabad/near-nirma-university-on-sg-highway/godrej-properties-garden-city-pinecrest-1640226"], ["id", 389], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "25b0d05"], ["id", 389]]
↳ app/models/url.rb:61
 (0.5ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 75ms (Views: 42.6ms | ActiveRecord: 9.9ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:02:46 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.9ms)

Completed 200 OK in 94ms (Views: 93.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.proptiger.com%2Fahmedabad-real-estate%2Fnear-nirma-university-on-sg-highway-overview-52593&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:03:02 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.proptiger.com/ahmedabad-real-estate/near-nirma-university-on-sg-highway-overview-52593", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.5ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.proptiger.com/ahmedabad-real-estate/near-nirma-university-on-sg-highway-overview-52593"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.proptiger.com/ahmedabad-real-estate/near-nirma-university-on-sg-highway-overview-52593"], ["domain", "proptiger"]]
↳ app/models/url.rb:57
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.1ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (6.9ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d4fe5e2"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.3ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.proptiger.com/ahmedabad-real-estate/near-nirma-university-on-sg-highway-overview-52593"], ["id", 390], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "d4fe5e2"], ["id", 390]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 80ms (Views: 44.5ms | ActiveRecord: 10.2ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:03:04 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 66ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:03:16 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_url_to_short_url Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:03:16 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.9ms)

Completed 200 OK in 59ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2Fsearch-C8P546nmwx0mb1amy8dV1khp6%3Flocality_info%3Dfalse&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:03:19 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1khp6?locality_info=false", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1khp6?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1khp6?locality_info=false"], ["domain", "housing"]]
↳ app/models/url.rb:57
Report Load (1.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.4ms)  BEGIN
↳ app/workers/url_worker.rb:8
 (6.1ms)  COMMIT
↳ app/models/url.rb:57
Report Exists (1.1ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1d4a00d"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1khp6?locality_info=false"], ["id", 391], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "1d4a00d"], ["id", 391]]
↳ app/models/url.rb:61
 (0.7ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 85ms (Views: 46.3ms | ActiveRecord: 9.9ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:03:20 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.5ms)

Completed 200 OK in 86ms (Views: 83.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2Fgurgaon%2Funitech-the-residences-in-sector-33-5336435%2F3bhk-3t-1500-sqft-apartment-for-rent&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:03:28 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/gurgaon/unitech-the-residences-in-sector-33-5336435/3bhk-3t-1500-sqft-apartment-for-rent", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/gurgaon/unitech-the-residences-in-sector-33-5336435/3bhk-3t-1500-sqft-apartment-for-rent"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/gurgaon/unitech-the-residences-in-sector-33-5336435/3bhk-3t-1500-sqft-apartment-for-rent"], ["domain", "makaan"]]
↳ app/models/url.rb:57
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (7.0ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (13.0ms)  COMMIT
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "40aa4cb"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/gurgaon/unitech-the-residences-in-sector-33-5336435/3bhk-3t-1500-sqft-apartment-for-rent"], ["id", 392], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "40aa4cb"], ["id", 392]]
↳ app/models/url.rb:61
 (0.4ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 91ms (Views: 48.1ms | ActiveRecord: 15.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:03:29 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 91ms (Views: 88.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2Fsearch-C8P546nmwx0mb1amy8dV1e3ne%3Flocality_info%3Dfalse&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:03:43 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1e3ne?locality_info=false", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.4ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1e3ne?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1e3ne?locality_info=false"], ["domain", "housing"]]
↳ app/models/url.rb:57
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.1ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (5.6ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "72e7974"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1e3ne?locality_info=false"], ["id", 393], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "72e7974"], ["id", 393]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 80ms (Views: 45.2ms | ActiveRecord: 8.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:03:46 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 66ms (Views: 63.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2Fsearch-C8P546nmwx0mb1amy8dV1ha51%3Flocality_info%3Dfalse&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:03:55 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1ha51?locality_info=false", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1ha51?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (1.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1ha51?locality_info=false"], ["domain", "housing"]]
↳ app/models/url.rb:57
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.1ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (6.5ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "b719415"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/search-C8P546nmwx0mb1amy8dV1ha51?locality_info=false"], ["id", 394], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "b719415"], ["id", 394]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 107ms (Views: 69.2ms | ActiveRecord: 10.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:03:56 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.4ms)

Completed 200 OK in 68ms (Views: 66.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2F3bhk-flats-for-rent-in-sushant-lok-i-gurgaon-C8F0P5hd4k3472nkbdh3k%3Flocality_info%3Dfalse&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:04:14 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/3bhk-flats-for-rent-in-sushant-lok-i-gurgaon-C8F0P5hd4k3472nkbdh3k?locality_info=false", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/3bhk-flats-for-rent-in-sushant-lok-i-gurgaon-C8F0P5hd4k3472nkbdh3k?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/3bhk-flats-for-rent-in-sushant-lok-i-gurgaon-C8F0P5hd4k3472nkbdh3k?locality_info=false"], ["domain", "housing"]]
↳ app/models/url.rb:57
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.6ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
 (6.6ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "518b9dc"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/3bhk-flats-for-rent-in-sushant-lok-i-gurgaon-C8F0P5hd4k3472nkbdh3k?locality_info=false"], ["id", 395], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "518b9dc"], ["id", 395]]
↳ app/models/url.rb:61
 (0.4ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 74ms (Views: 41.3ms | ActiveRecord: 9.3ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:04:16 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.9ms)

Completed 200 OK in 81ms (Views: 80.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2Fgurgaon%2Fjmd-gardens-in-sector-33-6362187%2F3bhk-3t-1875-sqft-apartment-for-rent&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:04:25 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/gurgaon/jmd-gardens-in-sector-33-6362187/3bhk-3t-1875-sqft-apartment-for-rent", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/gurgaon/jmd-gardens-in-sector-33-6362187/3bhk-3t-1875-sqft-apartment-for-rent"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/gurgaon/jmd-gardens-in-sector-33-6362187/3bhk-3t-1875-sqft-apartment-for-rent"], ["domain", "makaan"]]
↳ app/models/url.rb:57
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.4ms)  BEGIN
↳ app/workers/url_worker.rb:8
 (5.9ms)  COMMIT
↳ app/models/url.rb:57
Report Exists (0.9ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 8], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (0.2ms)  ROLLBACK
↳ app/workers/url_worker.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1d837ec"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/gurgaon/jmd-gardens-in-sector-33-6362187/3bhk-3t-1875-sqft-apartment-for-rent"], ["id", 396], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "1d837ec"], ["id", 396]]
↳ app/models/url.rb:61
 (0.6ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 84ms (Views: 46.7ms | ActiveRecord: 9.4ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:04:27 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.8ms)

Completed 200 OK in 79ms (Views: 78.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:04:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 59ms (Views: 57.4ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-30 10:04:29 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.8ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (12.3ms)

Completed 200 OK in 84ms (Views: 76.6ms | ActiveRecord: 5.4ms)

Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]
Report Load (0.3ms)  SELECT "reports".* FROM "reports"
Report Load (0.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT $2  [["id", 8], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Report Destroy (0.3ms)  DELETE FROM "reports" WHERE "reports"."id" = $1  [["id", 8]]
 (1.2ms)  COMMIT
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]
Report Load (0.3ms)  SELECT "reports".* FROM "reports"

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:06:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 76ms (Views: 73.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:06:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.7ms)

Completed 200 OK in 87ms (Views: 83.7ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:06:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 81ms (Views: 79.8ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-30 10:06:37 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (2.6ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (4.8ms)

Completed 200 OK in 73ms (Views: 68.4ms | ActiveRecord: 2.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:06:39 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:06:40 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 85ms (Views: 83.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.makaan.com%2Fgurgaon%2Funitech-the-residences-in-sector-33-5336435%2F3bhk-3t-1500-sqft-apartment&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:06:48 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.makaan.com/gurgaon/unitech-the-residences-in-sector-33-5336435/3bhk-3t-1500-sqft-apartment", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.8ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/gurgaon/unitech-the-residences-in-sector-33-5336435/3bhk-3t-1500-sqft-apartment"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.9ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/gurgaon/unitech-the-residences-in-sector-33-5336435/3bhk-3t-1500-sqft-apartment"], ["domain", "makaan"]]
↳ app/models/url.rb:57
 (6.2ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9aaff90"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (2.3ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/gurgaon/unitech-the-residences-in-sector-33-5336435/3bhk-3t-1500-sqft-apartment"], ["id", 397], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "9aaff90"], ["id", 397]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 108ms (Views: 70.0ms | ActiveRecord: 12.3ms)

Report Load (1.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 2], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (1.2ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:06:50 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 66ms (Views: 65.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:06:51 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 71ms (Views: 68.2ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-30 10:06:52 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (1.7ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (3.7ms)

Completed 200 OK in 76ms (Views: 73.6ms | ActiveRecord: 1.7ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:06:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 81ms (Views: 76.4ms | ActiveRecord: 0.0ms)

Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"
 (3.1ms)  SELECT COUNT(*) FROM "urls"
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]
Report Load (0.2ms)  SELECT "reports".* FROM "reports"
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."id" = $1 LIMIT $2  [["id", 9], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 18], ["id", 9]]
 (1.2ms)  COMMIT

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:08:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.7ms)

Completed 200 OK in 79ms (Views: 76.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:08:09 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 76ms (Views: 73.7ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-30 10:08:10 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (3.6ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (5.6ms)

Completed 200 OK in 71ms (Views: 64.4ms | ActiveRecord: 3.6ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:08:13 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 64ms (Views: 63.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:08:25 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.1ms)

Completed 200 OK in 57ms (Views: 54.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2Fproperty-for-rent-in-gurgaon%3Fmktg%3Dtrue%26gclid%3DCj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:08:27 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon?mktg=true&gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:4
 (0.1ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon?gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&mktg=true"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon?gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&mktg=true"], ["domain", "housing"]]
↳ app/models/url.rb:57
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.6ms)  BEGIN
↳ app/workers/url_worker.rb:8
 (5.9ms)  COMMIT
↳ app/models/url.rb:57
Report Exists (1.7ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 19], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:8
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9f11fc0"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.3ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (1.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon?gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&mktg=true"], ["id", 398], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "9f11fc0"], ["id", 398]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 109ms (Views: 70.0ms | ActiveRecord: 9.9ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:08:29 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.9ms)

Completed 200 OK in 71ms (Views: 68.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:08:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 81ms (Views: 78.7ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-30 10:08:31 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:10
Rendered home/generate_report.html.erb within layouts/application (2.5ms)

Completed 200 OK in 66ms (Views: 63.1ms | ActiveRecord: 0.5ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:08:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 71ms (Views: 68.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:08:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.5ms)

Completed 200 OK in 80ms (Views: 78.7ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=hsng&commit=Search” for 127.0.0.1 at 2019-01-30 10:08:37 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"hsng", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 17ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:08:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 50ms (Views: 49.1ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=hsng&commit=Search” for 127.0.0.1 at 2019-01-30 10:08:45 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"hsng", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:8

Redirected to localhost:3000/search Completed 302 Found in 15ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:08:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (0.9ms)

Completed 200 OK in 47ms (Views: 45.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=housing&commit=Search” for 127.0.0.1 at 2019-01-30 10:08:50 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"housing", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 381], ["id", 388], ["id", 384], ["id", 395], ["id", 394], ["id", 391], ["id", 393], ["id", 398]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 381], ["id", 388], ["id", 384], ["id", 395], ["id", 394], ["id", 391], ["id", 393], ["id", 398]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.3ms)

Completed 200 OK in 67ms (Views: 49.6ms | ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:08:54 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.4ms)

Completed 200 OK in 87ms (Views: 84.3ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=housing&commit=Search” for 127.0.0.1 at 2019-01-30 10:09:02 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"housing", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (1.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 381], ["id", 388], ["id", 384], ["id", 395], ["id", 394], ["id", 391], ["id", 393], ["id", 398]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8)  [["id", 381], ["id", 388], ["id", 384], ["id", 395], ["id", 394], ["id", 391], ["id", 393], ["id", 398]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.0ms)

Completed 200 OK in 55ms (Views: 40.9ms | ActiveRecord: 1.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:09:07 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.9ms)

Completed 200 OK in 63ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=942&commit=Search” for 127.0.0.1 at 2019-01-30 10:09:13 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"942", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 381]]
↳ app/controllers/elastic_search_controller.rb:8
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 381]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (3.5ms)

Completed 200 OK in 71ms (Views: 61.6ms | ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:09:16 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 63ms (Views: 60.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:09:18 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.1ms)

Completed 200 OK in 87ms (Views: 84.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=9423bb6&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 10:09:20 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"9423bb6", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9423bb6"], ["LIMIT", 1]]
↳ app/models/url.rb:95
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 51ms (Views: 47.0ms | ActiveRecord: 0.6ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:09:21 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 70ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=9423bb6+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 10:09:26 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"9423bb6 ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 51ms (Views: 47.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:09:27 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 70ms (Views: 68.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 10:09:28 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/short_url_to_long_url Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:09:28 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.1ms)

Completed 200 OK in 77ms (Views: 75.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.hoco%2Fe54de1d+&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 10:09:31 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.hoco/e54de1d ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e54de1d"], ["LIMIT", 1]]
↳ app/models/url.rb:95
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 71ms (Views: 66.1ms | ActiveRecord: 0.7ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:09:35 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 60ms (Views: 57.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:09:36 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 67ms (Views: 63.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:14:19 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.8ms)

Completed 200 OK in 64ms (Views: 63.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2Fproperty-for-rent-in-gurgaon%3Fmktg%3Dtrue%26gclid%3DCj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:14:22 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon?mktg=true&gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5
 (0.1ms)  BEGIN
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon?gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&mktg=true"], ["LIMIT", 1]]
↳ app/models/url.rb:58
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."short_url" IS NULL LIMIT $1  [["LIMIT", 1]]
↳ app/models/url.rb:58
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:58
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 82ms (Views: 44.5ms | ActiveRecord: 8.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:14:23 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 69ms (Views: 65.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2Fproperty-for-rent-in-gurgaon%3Fmktg%3Dtrue%26gclid%3DCj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:14:52 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon?mktg=true&gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon?gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&mktg=true"], ["LIMIT", 1]]
↳ app/models/url.rb:57
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon?gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&mktg=true"], ["LIMIT", 1]]
↳ app/models/url.rb:73
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 65ms (Views: 44.3ms | ActiveRecord: 4.8ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:14:54 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 85ms (Views: 81.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2F-in-gurgaon%3Fmktg%3Dtrue%26gclid%3DCj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:15:04 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/-in-gurgaon?mktg=true&gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.4ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/-in-gurgaon?gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&mktg=true"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/-in-gurgaon?gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&mktg=true"], ["domain", "housing"]]
↳ app/models/url.rb:57
 (4.7ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9f817bb"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/-in-gurgaon?gclid=Cj0KCQiAkMDiBRDNARIsACKP1FGZtIogdBuiX6bSzM6QBMQhwrliKMUem4emXPDDQL1dnaib-yQcoo0aAqSeEALw_wcB&mktg=true"], ["id", 399], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "9f817bb"], ["id", 399]]
↳ app/models/url.rb:61
 (0.4ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 20], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.5ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 97ms (Views: 53.8ms | ActiveRecord: 7.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:15:05 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 61ms (Views: 58.9ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:15:08 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 58ms (Views: 56.6ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-30 10:15:31 +0530 Processing by UsersController#logout as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 79ms (Views: 77.5ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-30 10:15:32 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.7ms)

Completed 200 OK in 68ms (Views: 64.4ms | ActiveRecord: 0.0ms)

Started POST “/users/CreateUser” for 127.0.0.1 at 2019-01-30 10:15:49 +0530 Processing by UsersController#create_user as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eJnkzDq5uy4mQhiPf4G1Eo/flXR2ZEA5Rm8/CE6zflHYAoNyhD5cfBy/CQfUNuBd7W2HPBoTLS0np0kp5Dv35w==", "username"=>"vipul", "email"=>"bishoo191297@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :authenticity_token, :confirm_password, :commit

 (0.1ms)  BEGIN
↳ app/models/user.rb:13
User Exists (0.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "bishoo191297@gmail.com"], ["LIMIT", 1]]
↳ app/models/user.rb:13
User Create (6.7ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "vipul"], ["email", "bishoo191297@gmail.com"], ["password", "09cd426c5c8c1d706d88157c4f4061ff"]]
↳ app/models/user.rb:13
 (6.5ms)  COMMIT
↳ app/models/user.rb:13

Redirected to localhost:3000/home/index Completed 200 OK in 25ms (ActiveRecord: 16.2ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:15:49 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 63ms (Views: 61.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-30 10:22:19 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 79ms (Views: 78.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:22:20 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 77ms (Views: 75.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon+.++++++&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:22:31 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon .      ", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5
 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon%20."], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon%20."], ["domain", "housing"]]
↳ app/models/url.rb:57
 (1.9ms)  COMMIT
↳ app/models/url.rb:57
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "da77726"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon%20."], ["id", 400], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "da77726"], ["id", 400]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)
Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.6ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 21], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (1.5ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 111ms (Views: 47.7ms | ActiveRecord: 22.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:22:33 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 59ms (Views: 57.6ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:22:34 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 69ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:22:35 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 93ms (Views: 90.0ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:22:40 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 53ms (Views: 50.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:22:41 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:22:44 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 62ms (Views: 61.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:22:46 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 87ms (Views: 82.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2F2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 10:22:48 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/url.rb:57
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:57
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon"], ["domain", "housing"]]
↳ app/models/url.rb:57
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (1.7ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
 (5.9ms)  COMMIT
↳ app/models/url.rb:57
Report Update (1.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 22], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (4.8ms)  COMMIT
↳ app/workers/url_worker.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "5f85cea"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:61
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/2662836-750-sqft-3-bhk-independent-floor-on-rent-in-sector-43-gurgaon"], ["id", 401], ["LIMIT", 1]]
↳ app/models/url.rb:61
Url Update (0.8ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "5f85cea"], ["id", 401]]
↳ app/models/url.rb:61
 (0.3ms)  COMMIT
↳ app/models/url.rb:61
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 78ms (Views: 46.3ms | ActiveRecord: 8.8ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 10:22:52 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 58ms (Views: 55.2ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:22:53 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 54ms (Views: 52.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:22:54 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (3.7ms)

Completed 200 OK in 75ms (Views: 73.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=5f85cea&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 10:22:57 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"5f85cea", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "5f85cea"], ["LIMIT", 1]]
↳ app/models/url.rb:95
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 50ms (Views: 42.9ms | ActiveRecord: 0.9ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:23:01 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 60ms (Views: 57.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=++++5f85cea.++&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 10:23:07 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"     5f85cea .  ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "5f85cea ."], ["LIMIT", 1]]
↳ app/models/url.rb:95
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 51ms (Views: 46.9ms | ActiveRecord: 0.5ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:23:08 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 54ms (Views: 51.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=++++++5f85cea+++++&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 10:23:15 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"       5f85cea      ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 72ms (Views: 69.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 10:23:16 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 54ms (Views: 51.5ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:23:17 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 63ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-30 10:23:22 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:23:22 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 42ms (Views: 41.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 10:23:23 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.4ms)

Completed 200 OK in 77ms (Views: 74.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 10:23:30 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"I1znf5GzLKYp2ii0zJx6nPHD4ybAd59LyzMKVUr1U9CtsfLHDU2jfVu+R8pmhV8sh/EUS+Eh+7P+gWaTpw5dRQ==", "email"=>"vipul.kumar@proptiger.com         ", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home/index Completed 200 OK in 9ms (ActiveRecord: 3.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:23:30 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 58ms (Views: 57.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-30 10:24:07 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:24:07 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 42ms (Views: 40.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 10:27:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.9ms)

Completed 200 OK in 66ms (Views: 64.7ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 10:27:27 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J6VLIRABdit7y8fJa9IX+ZMbyaVltPiu7mWOab7y0Y2pSF6ZjP/58AmvqLfByzJJ5Sk+yETinFbb1+KvUwnfGA==", "email"=>"vipul", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home/index Completed 200 OK in 37ms (ActiveRecord: 3.9ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:27:27 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 57ms (Views: 55.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 10:27:28 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.4ms)

Completed 200 OK in 60ms (Views: 57.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 10:27:28 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zE3r69SVUhv8PoXz4VFZL03+gGDQYPJrqr8ZcFUwYeNCoP5TSGvdwI5a6o1LSHyfO8x3DfE2lpOfDXW2uMtvdg==", "email"=>"vipul", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home/index Completed 200 OK in 2ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:27:28 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 90ms (Views: 87.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 10:27:29 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.8ms)

Completed 200 OK in 99ms (Views: 97.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 10:27:32 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OPUjK2Z14BXZdtn0c5BRHl4Oql1TuHAXXsGx5w98lKG2GDaT+otvzqsStorZiXSuKDxdMHLuFO9rc90h4oeaNA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home/index Completed 200 OK in 7ms (ActiveRecord: 0.3ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:27:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 91ms (Views: 88.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:27:33 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:11: else without rescue is useless

else
^~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/elastic_search_controller.rb:30: syntax error, unexpected end, expecting end-of-input):

app/controllers/elastic_search_controller.rb:11: else without rescue is useless app/controllers/elastic_search_controller.rb:30: syntax error, unexpected end, expecting end-of-input Started GET “/search” for 127.0.0.1 at 2019-01-30 10:28:23 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 38ms (Views: 37.3ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:33:25 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 49ms (Views: 47.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:33:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.2ms)

Completed 200 OK in 96ms (Views: 94.9ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&date_of_tour=18%2F3%2F2018&query=&commit=Search” for 127.0.0.1 at 2019-01-30 10:33:35 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "date_of_tour"=>"18/3/2018", "query"=>"", "commit"=>"Search"}

Redirected to localhost:3000/search Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:33:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 38ms (Views: 37.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 10:35:51 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.1ms)

Completed 200 OK in 1387ms (Views: 1381.8ms | ActiveRecord: 0.0ms)

Started GET “/generate_report” for 127.0.0.1 at 2019-01-30 10:38:26 +0530

ActionController::RoutingError (No route matches [GET] “/generate_report”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/search” for 127.0.0.1 at 2019-01-30 10:38:30 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.1ms)

Completed 200 OK in 113ms (Views: 111.8ms | ActiveRecord: 0.0ms)

Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:38:32 +0530 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/application
Rendered home/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 142ms (Views: 141.0ms | ActiveRecord: 0.0ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-30 10:38:33 +0530 Processing by HomeController#generate_report as HTML

Rendering home/generate_report.html.erb within layouts/application
Report Load (10.8ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home/generate_report.html.erb:16
Rendered home/generate_report.html.erb within layouts/application (26.2ms)

Completed 200 OK in 147ms (Views: 121.0ms | ActiveRecord: 17.4ms)

Started GET “/home/generate_report” for 127.0.0.1 at 2019-01-30 10:42:22 +0530

ArgumentError (' home' is not a supported controller name. This can lead to potential routing problems. See guides.rubyonrails.org/routing.html#specifying-a-controller-to-use):

config/routes.rb:24:in `block in <main>' config/routes.rb:1:in `<main>' Started GET “/home/index” for 127.0.0.1 at 2019-01-30 10:44:19 +0530

ArgumentError (' home_page' is not a supported controller name. This can lead to potential routing problems. See guides.rubyonrails.org/routing.html#specifying-a-controller-to-use):

config/routes.rb:24:in `block in <main>' config/routes.rb:1:in `<main>' Started GET “/” for 127.0.0.1 at 2019-01-30 10:44:21 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (332.5ms)

Completed 500 Internal Server Error in 340ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `home_generate_report_path' for #<#<Class:0x00007f9f697c8d68>:0x00007f9f6371f2f0> Did you mean? home_page_generate_report_path):

 4: Select the Service <br>
 5: <%= link_to "Find Short Url",urls_long_url_to_short_url_path%> <br>
 6: <%= link_to "Find Long Url",urls_short_url_to_long_url_path%> <br>
 7: <%=link_to 'Generate Report',home_generate_report_path%><br>
 8: <%=link_to 'Elastic Search',search_path%><br>
 9: 
10: <%=link_to "LogOut",users_logout_path %>

app/views/home_page/index.html.erb:7:in `_app_views_home_page_index_html_erb___1600995379399960082_70161323149940' Started GET “/” for 127.0.0.1 at 2019-01-30 10:44:43 +0530

ArgumentError (' home_page' is not a supported controller name. This can lead to potential routing problems. See guides.rubyonrails.org/routing.html#specifying-a-controller-to-use):

config/routes.rb:24:in `block in <main>' config/routes.rb:1:in `<main>' Started GET “/” for 127.0.0.1 at 2019-01-30 10:45:02 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 175ms (Views: 173.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 10:45:10 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (4.3ms)

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

12:   </tr>
13:   </thead>
14:   <tbody>
15:     <% @report.each do |t| %>
16:   <tr>
17:     <td><%=t.date%></td>
18:     <td><%=t.no_of_urls%></td>

app/views/home_page/generate_report.html.erb:15:in `_app_views_home_page_generate_report_html_erb__418205432555901310_70161316911980' Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 10:48:43 +0530 Processing by HomePageController#generate_report as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

ActionView::MissingTemplate (Missing template home/index with {:locale=>, :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :vtt, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :mp3, :ogg, :m4a, :webm, :mp4, :otf, :ttf, :woff, :woff2, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/Users/vipul/Intern/Url_Shortner/app/views"
"/Users/vipul/.rvm/gems/ruby-2.6.0/gems/devise-4.5.0/app/views"

):

app/controllers/application_controller.rb:9:in `check_session' Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 10:49:05 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 112ms (Views: 111.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 10:49:07 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (346.8ms)

Completed 500 Internal Server Error in 353ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `home_index_path' for #<#<Class:0x00007f9f6a921970>:0x00007f9f6a92bf60> Did you mean? home_page_index_path):

4:     Password : <%= f.password_field :password %><br><br>
5:     <%= f.submit "Login" %></h5>
6:   <% end %>
7:   <center><%= link_to "Home",home_index_path%></center>
8: </center>

app/views/users/login.html.erb:7:in `_app_views_users_login_html_erb___4606900861212484699_70161332244580' Started GET “/users/login” for 127.0.0.1 at 2019-01-30 10:50:40 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.4ms)

Completed 200 OK in 145ms (Views: 143.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 10:50:42 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TooNLip/NxmnuL+gIf8GaeRnJeqiSj5YY+93A9yR78xXDHB0X5xdQS5Ls5T8GFEkqN6FHISkKl8yL4a5/I3b0Q==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Completed 500 Internal Server Error in 193ms (ActiveRecord: 4.6ms)

NameError (undefined local variable or method `home_index_path' for #<UsersController:0x00007f9f66fdf220> Did you mean? home_page_index_path):

app/controllers/users_controller.rb:59:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 10:50:43 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TooNLip/NxmnuL+gIf8GaeRnJeqiSj5YY+93A9yR78xXDHB0X5xdQS5Ls5T8GFEkqN6FHISkKl8yL4a5/I3b0Q==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Completed 500 Internal Server Error in 194ms (ActiveRecord: 0.3ms)

NameError (undefined local variable or method `home_index_path' for #<UsersController:0x00007f9f63b12268> Did you mean? home_page_index_path):

app/controllers/users_controller.rb:59:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 10:51:05 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/application_controller.rb:13: unterminated string meets end of file /Users/vipul/Intern/Url_Shortner/app/controllers/application_controller.rb:13: syntax error, unexpected end-of-input, expecting end):

app/controllers/application_controller.rb:13: unterminated string meets end of file app/controllers/application_controller.rb:13: syntax error, unexpected end-of-input, expecting end app/controllers/users_controller.rb:1:in `<main>' Started GET “/users/login” for 127.0.0.1 at 2019-01-30 10:51:07 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/application_controller.rb:13: unterminated string meets end of file /Users/vipul/Intern/Url_Shortner/app/controllers/application_controller.rb:13: syntax error, unexpected end-of-input, expecting end):

app/controllers/application_controller.rb:13: unterminated string meets end of file app/controllers/application_controller.rb:13: syntax error, unexpected end-of-input, expecting end app/controllers/users_controller.rb:1:in `<main>' Started GET “/users/login” for 127.0.0.1 at 2019-01-30 10:51:19 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.3ms)

Completed 200 OK in 162ms (Views: 160.9ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 10:51:21 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"C3/J4MP48GgjHEOZppc41S9I7C7Xj4QBBYgIdGpomz4S+bS6thuaMKrvT617cG+YY/FM2PFhkAZUSPnOSnSvIw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Completed 500 Internal Server Error in 210ms (ActiveRecord: 3.0ms)

NameError (undefined local variable or method `home_index_path' for #<UsersController:0x00007f9f696e0ce8> Did you mean? home_page_index_path):

app/controllers/users_controller.rb:59:in `check_login' Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 10:52:38 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"C3/J4MP48GgjHEOZppc41S9I7C7Xj4QBBYgIdGpomz4S+bS6thuaMKrvT617cG+YY/FM2PFhkAZUSPnOSnSvIw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 9ms (ActiveRecord: 2.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 10:52:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 119ms (Views: 117.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 10:52:40 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (3.5ms)

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `each' for nil:NilClass):

12:   </tr>
13:   </thead>
14:   <tbody>
15:     <% @report.each do |t| %>
16:   <tr>
17:     <td><%=t.date%></td>
18:     <td><%=t.no_of_urls%></td>

app/views/home_page/generate_report.html.erb:15:in `_app_views_home_page_generate_report_html_erb__418205432555901310_70161272692320' Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 10:52:56 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.3ms)

Completed 200 OK in 133ms (Views: 132.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=01%2F30%2F2019&commit=Search” for 127.0.0.1 at 2019-01-30 10:53:03 +0530

ActionController::RoutingError (No route matches [GET] “/home_page/Report”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/home_page/Report?utf8=%E2%9C%93&date=01%2F30%2F2019&commit=Search” for 127.0.0.1 at 2019-01-30 10:53:43 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"01/30/2019", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (8.6ms)

Completed 200 OK in 159ms (Views: 151.7ms | ActiveRecord: 4.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 10:53:46 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 134ms (Views: 130.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 10:53:48 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.8ms)

Completed 200 OK in 143ms (Views: 141.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=01%2F24%2F2019&commit=Search” for 127.0.0.1 at 2019-01-30 10:53:50 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"01/24/2019", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports" ORDER BY "reports"."date" ASC
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (3.2ms)

Completed 200 OK in 118ms (Views: 114.9ms | ActiveRecord: 0.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 10:53:51 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 142ms (Views: 139.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 10:55:10 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (0.9ms)

Completed 200 OK in 125ms (Views: 124.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=01%2F30%2F2019&commit=Search” for 127.0.0.1 at 2019-01-30 10:55:15 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"01/30/2019", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "01/30/2019"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (2.7ms)

Completed 200 OK in 125ms (Views: 113.7ms | ActiveRecord: 4.2ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=01%2F30%2F2019&commit=Search” for 127.0.0.1 at 2019-01-30 10:55:19 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"01/30/2019", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "01/30/2019"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (3.4ms)

Completed 200 OK in 141ms (Views: 138.4ms | ActiveRecord: 0.6ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=01%2F30%2F2019&commit=Search” for 127.0.0.1 at 2019-01-30 10:55:32 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"01/30/2019", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.3ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "01/30/2019"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (1.8ms)

Completed 200 OK in 115ms (Views: 109.6ms | ActiveRecord: 1.3ms)

Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" LIMIT $1  [["LIMIT", 1]]
Report Load (0.3ms)  SELECT "reports".* FROM "reports"

Started GET “/home_page/Report?utf8=%E2%9C%93&date=01%2F30%2F2019&commit=Search” for 127.0.0.1 at 2019-01-30 10:57:01 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"01/30/2019", "commit"=>"Search"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strftime' for “01/30/2019”:String Did you mean? strip):

app/controllers/home_page_controller.rb:9:in `generate_report' Started GET “/home_page/Report?utf8=%E2%9C%93&date=01%2F30%2F2019&commit=Search” for 127.0.0.1 at 2019-01-30 10:58:06 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"01/30/2019", "commit"=>"Search"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strftime' for “01/30/2019”:String Did you mean? strip):

app/controllers/home_page_controller.rb:9:in `generate_report' Started GET “/” for 127.0.0.1 at 2019-01-30 10:58:24 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 148ms (Views: 147.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 10:58:25 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (2.4ms)

Completed 200 OK in 139ms (Views: 135.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=01%2F30%2F2019&commit=Search” for 127.0.0.1 at 2019-01-30 10:58:28 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"01/30/2019", "commit"=>"Search"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

ArgumentError (invalid date):

app/controllers/home_page_controller.rb:9:in `parse' app/controllers/home_page_controller.rb:9:in `generate_report' Started GET “/” for 127.0.0.1 at 2019-01-30 11:00:14 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 115ms (Views: 112.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 11:00:16 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (12.9ms)

Completed 200 OK in 169ms (Views: 166.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=&commit=Search” for 127.0.0.1 at 2019-01-30 11:00:22 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (2.0ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", ""]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (5.8ms)

Completed 200 OK in 125ms (Views: 116.3ms | ActiveRecord: 4.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-30 11:00:41 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 154ms (Views: 149.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 11:00:43 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.6ms)

Completed 200 OK in 160ms (Views: 157.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-03-01&commit=Search” for 127.0.0.1 at 2019-01-30 11:00:54 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-03-01", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-03-01"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (2.9ms)

Completed 200 OK in 119ms (Views: 117.0ms | ActiveRecord: 0.5ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-03-01&commit=Search” for 127.0.0.1 at 2019-01-30 11:01:54 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-03-01", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (1.6ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-03-01"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (4.1ms)

Completed 200 OK in 150ms (Views: 147.1ms | ActiveRecord: 1.6ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-30&commit=Search” for 127.0.0.1 at 2019-01-30 11:02:11 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-30", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-30"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (11.4ms)

Completed 200 OK in 129ms (Views: 122.5ms | ActiveRecord: 5.4ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-30&commit=Search” for 127.0.0.1 at 2019-01-30 11:02:38 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-30", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.3ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-30"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (5.9ms)

Completed 200 OK in 121ms (Views: 114.5ms | ActiveRecord: 3.3ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-29&commit=Search” for 127.0.0.1 at 2019-01-30 11:02:47 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-29", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (3.3ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-29"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (7.8ms)

Completed 200 OK in 156ms (Views: 150.6ms | ActiveRecord: 3.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 11:02:49 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 130ms (Views: 128.5ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.maakan.com/vipul/vipul” for 127.0.0.1 at 2019-01-30 11:10:15 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakan.com/vipul/vipul"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5

Completed 500 Internal Server Error in 48ms (ActiveRecord: 4.7ms)

ArgumentError ('200' is not an ActiveModel-compatible object. It must implement :to_partial_path.):

app/controllers/urls_controller.rb:19:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.maakaan.com/vipul/vipul” for 127.0.0.1 at 2019-01-30 11:26:45 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakaan.com/vipul/vipul"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:55: syntax error, unexpected tSTRING_BEG, expecting =>

:status "Error",
        ^

/Users/vipul/Intern/Url_Shortner/app/models/url.rb:55: syntax error, unexpected ',', expecting end

:status "Error",
               ^

/Users/vipul/Intern/Url_Shortner/app/models/url.rb:57: syntax error, unexpected '}', expecting end

}
^

/Users/vipul/Intern/Url_Shortner/app/models/url.rb:66: syntax error, unexpected rescue, expecting end

rescue Exception => exception
^~~~~~

/Users/vipul/Intern/Url_Shortner/app/models/url.rb:136: syntax error, unexpected end-of-input, expecting end):

app/models/url.rb:55: syntax error, unexpected tSTRING_BEG, expecting => app/models/url.rb:55: syntax error, unexpected ',', expecting end app/models/url.rb:57: syntax error, unexpected '}', expecting end app/models/url.rb:66: syntax error, unexpected rescue, expecting end app/models/url.rb:136: syntax error, unexpected end-of-input, expecting end app/controllers/urls_controller.rb:19:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.maakaan.com/vipul/vipul” for 127.0.0.1 at 2019-01-30 11:27:08 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakaan.com/vipul/vipul"}
DomainPrefix Load (0.9ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5

Completed 200 OK in 22ms (Views: 0.3ms | ActiveRecord: 9.2ms)

Started POST “/shorten-url/?long_url=www.maakaan.com/vipul/vipul” for 127.0.0.1 at 2019-01-30 11:36:52 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakaan.com/vipul/vipul"}
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5

Completed 200 OK in 18ms (Views: 0.2ms | ActiveRecord: 7.6ms)

Started POST “/shorten-url/?long_url=www.maakan.com/vipul/vipul” for 127.0.0.1 at 2019-01-30 11:36:55 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.maakan.com/vipul/vipul"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "maakan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5

Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.5ms)

Started POST “/shorten-url/?long_url=www.makaan.com/vipul/vipul” for 127.0.0.1 at 2019-01-30 11:37:00 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul/vipul"}
DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5
 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul/vipul"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/vipul/vipul"], ["domain", "makaan"]]
↳ app/models/url.rb:60
 (1.3ms)  COMMIT
↳ app/models/url.rb:60
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2e02464"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/vipul/vipul"], ["id", 402], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "2e02464"], ["id", 402]]
↳ app/models/url.rb:64
 (5.7ms)  COMMIT
↳ app/models/url.rb:64

Completed 200 OK in 64ms (Views: 0.2ms | ActiveRecord: 12.6ms)

Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.3ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 23], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (6.2ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started GET “/short-url?short_url=mk.com2e02464” for 127.0.0.1 at 2019-01-30 11:37:16 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com2e02464"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "mk.com2e02464"], ["LIMIT", 1]]
↳ app/models/url.rb:118

Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.4ms)

Started GET “/short-url?short_url=mk.com/2e02464” for 127.0.0.1 at 2019-01-30 11:37:22 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/2e02464"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2e02464"], ["LIMIT", 1]]
↳ app/models/url.rb:118

Completed 200 OK in 7ms (Views: 0.3ms | ActiveRecord: 0.5ms)

DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1 LIMIT $2  [["id", 35], ["LIMIT", 1]]
 (0.2ms)  BEGIN
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."id" != $2 LIMIT $3  [["domain", "makaan"], ["id", 35], ["LIMIT", 1]]
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 AND "domain_prefixes"."id" != $2 LIMIT $3  [["prefix", "mk.com/"], ["id", 35], ["LIMIT", 1]]
DomainPrefix Update (0.3ms)  UPDATE "domain_prefixes" SET "prefix" = $1 WHERE "domain_prefixes"."id" = $2  [["prefix", "mk.com/"], ["id", 35]]
 (1.4ms)  COMMIT
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1 LIMIT $2  [["id", 35], ["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."id" = $1 LIMIT $2  [["id", 35], ["LIMIT", 1]]
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.2ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.2ms)  SELECT "urls".* FROM "urls"

Started GET “/short-url?short_url=mk.com/2e02464” for 127.0.0.1 at 2019-01-30 11:40:19 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/2e02464"}

Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.makaan.com/vipul/vipul/vips” for 127.0.0.1 at 2019-01-30 11:41:36 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul/vipul/vips"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul/vipul/vips"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/vipul/vipul/vips"], ["domain", "makaan"]]
↳ app/models/url.rb:60
 (5.7ms)  COMMIT
↳ app/models/url.rb:60
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6f1d9d1"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/vipul/vipul/vips"], ["id", 403], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "6f1d9d1"], ["id", 403]]
↳ app/models/url.rb:64
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
 (6.1ms)  COMMIT
↳ app/models/url.rb:64
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 24], ["id", 9]]
↳ app/workers/url_worker.rb:8

Completed 200 OK in 63ms (Views: 0.2ms | ActiveRecord: 18.6ms)

 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started POST “/shorten-url/?long_url=www.makaan.com/vipul/vipul/vips/vips” for 127.0.0.1 at 2019-01-30 11:43:21 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul/vipul/vips/vips"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5
 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips"], ["domain", "makaan"]]
↳ app/models/url.rb:60
 (0.5ms)  COMMIT
↳ app/models/url.rb:60
Url Load (1.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4227522"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (1.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips"], ["id", 404], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "4227522"], ["id", 404]]
↳ app/models/url.rb:64
 (6.3ms)  COMMIT
↳ app/models/url.rb:64
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5

Completed 200 OK in 81ms (Views: 0.2ms | ActiveRecord: 17.9ms)

CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 25], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started POST “/shorten-url/?long_url=www.makaan.com/vipul/vipul/vips/vips” for 127.0.0.1 at 2019-01-30 11:43:33 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul/vipul/vips/vips"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:66: syntax error, unexpected 'n', expecting => /Users/vipul/Intern/Url_Shortner/app/models/url.rb:68: syntax error, unexpected ',', expecting end … short_url:prefix+short_url, … ^ /Users/vipul/Intern/Url_Shortner/app/models/url.rb:70: syntax error, unexpected tLABEL, expecting '='

domain:params[:domain]
^~~~~~~

/Users/vipul/Intern/Url_Shortner/app/models/url.rb:71: syntax error, unexpected '}', expecting end

}
^):

app/models/url.rb:66: syntax error, unexpected 'n', expecting => app/models/url.rb:68: syntax error, unexpected ',', expecting end app/models/url.rb:70: syntax error, unexpected tLABEL, expecting '=' app/models/url.rb:71: syntax error, unexpected '}', expecting end app/controllers/urls_controller.rb:19:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaan.com/vipul/vipul/vips/vips” for 127.0.0.1 at 2019-01-30 11:44:16 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul/vipul/vips/vips"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/url.rb:67: syntax error, unexpected tIDENTIFIER, expecting '}'

status: :bad_request,
^~~~~~

/Users/vipul/Intern/Url_Shortner/app/models/url.rb:68: syntax error, unexpected ',', expecting end … short_url:prefix+short_url, … ^ /Users/vipul/Intern/Url_Shortner/app/models/url.rb:70: syntax error, unexpected tLABEL, expecting '='

domain:params[:domain]
^~~~~~~

/Users/vipul/Intern/Url_Shortner/app/models/url.rb:71: syntax error, unexpected '}', expecting end

}
^):

app/models/url.rb:67: syntax error, unexpected tIDENTIFIER, expecting '}' app/models/url.rb:68: syntax error, unexpected ',', expecting end app/models/url.rb:70: syntax error, unexpected tLABEL, expecting '=' app/models/url.rb:71: syntax error, unexpected '}', expecting end app/controllers/urls_controller.rb:19:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaan.com/vipul/vipul/vips/vips” for 127.0.0.1 at 2019-01-30 11:44:25 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul/vipul/vips/vips"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips"], ["LIMIT", 1]]
↳ app/models/url.rb:86

Completed 200 OK in 37ms (Views: 0.4ms | ActiveRecord: 7.8ms)

Started POST “/shorten-url/?long_url=www.makaan.com/vipul/vipul/vips/vips/vv” for 127.0.0.1 at 2019-01-30 11:44:31 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul/vipul/vips/vips/vv"}
 (1.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips/vv"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips/vv"], ["domain", "makaan"]]
↳ app/models/url.rb:60
 (1.3ms)  COMMIT
↳ app/models/url.rb:60
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c991cba"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips/vv"], ["id", 405], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "c991cba"], ["id", 405]]
↳ app/models/url.rb:64
 (0.5ms)  COMMIT
↳ app/models/url.rb:64

Completed 200 OK in 34ms (Views: 0.3ms | ActiveRecord: 5.3ms)

Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 26], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started POST “/shorten-url/?long_url=www.makaan.com/vipul/vipul/vips/vips/vv/v” for 127.0.0.1 at 2019-01-30 11:50:17 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul/vipul/vips/vips/vv/v"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5
 (0.2ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips/vv/v"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips/vv/v"], ["domain", "makaan"]]
↳ app/models/url.rb:60
 (1.3ms)  COMMIT
↳ app/models/url.rb:60
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3c1d2e4"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips/vv/v"], ["id", 406], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "3c1d2e4"], ["id", 406]]
↳ app/models/url.rb:64
 (0.3ms)  COMMIT
↳ app/models/url.rb:64

Completed 202 Accepted in 88ms (Views: 0.3ms | ActiveRecord: 11.6ms)

Report Load (1.2ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 27], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started POST “/shorten-url/?long_url=www.makaan.com/vipul/vipul/vips/vips/vv/v” for 127.0.0.1 at 2019-01-30 11:55:33 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul/vipul/vips/vips/vv/v"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5
 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips/vv/v"], ["LIMIT", 1]]
↳ app/models/url.rb:60
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:60
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com/vipul/vipul/vips/vips/vv/v"], ["LIMIT", 1]]
↳ app/models/url.rb:85

Completed 208 Already Reported in 46ms (Views: 1.0ms | ActiveRecord: 6.5ms)

Started POST “/shorten-url/?long_url=www.makaaan.com/vipul/vipul/vips/vips/vv/v” for 127.0.0.1 at 2019-01-30 11:55:40 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul/vipul/vips/vips/vv/v"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5

Completed 0 in 7ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started POST “/shorten-url/?long_url=www.makaaan.com/vipul/vipul/vips/vips/vv/v” for 127.0.0.1 at 2019-01-30 11:55:45 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul/vipul/vips/vips/vv/v"}

Completed 0 in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.makaaan.com/vipul/vipul/vips/vips/vv/v” for 127.0.0.1 at 2019-01-30 11:56:03 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul/vipul/vips/vips/vv/v"}

Completed 0 in 3ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.makaaan.com/vipul/vipul/vips/vips/vv/v” for 127.0.0.1 at 2019-01-30 11:56:32 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul/vipul/vips/vips/vv/v"}

Completed 400 Bad Request in 13ms (Views: 0.3ms | ActiveRecord: 2.9ms)

Started GET “/short-url?short_url=mk.com/2e02464” for 127.0.0.1 at 2019-01-30 11:59:16 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/2e02464"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2e02464"], ["LIMIT", 1]]
↳ app/models/url.rb:118

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 4.3ms)

Started GET “/short-url?short_url=mk.com/2e02464d” for 127.0.0.1 at 2019-01-30 11:59:20 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/2e02464d"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2e02464d"], ["LIMIT", 1]]
↳ app/models/url.rb:118

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.6ms)

Started GET “/short-url?short_url=mk.com/2e02464d” for 127.0.0.1 at 2019-01-30 11:59:49 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/2e02464d"}

Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.4ms)

NoMethodError (undefined method `match' for nil:NilClass):

app/models/url.rb:84:in `rescue in shorten_url' app/models/url.rb:48:in `shorten_url' app/controllers/urls_controller.rb:30:in `api_get_short_url' Started GET “/short-url?short_url=mk.com/2e02464d” for 127.0.0.1 at 2019-01-30 12:00:00 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/2e02464d"}

Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.5ms)

NoMethodError (undefined method `match' for nil:NilClass):

app/models/url.rb:84:in `rescue in shorten_url' app/models/url.rb:48:in `shorten_url' app/controllers/urls_controller.rb:30:in `api_get_short_url' Started GET “/short-url?short_url=mk.com/2e02464d” for 127.0.0.1 at 2019-01-30 12:01:03 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/2e02464d"}

Completed 404 Not Found in 11ms (Views: 0.2ms | ActiveRecord: 1.5ms)

Started GET “/” for 127.0.0.1 at 2019-01-30 12:05:24 +0530 Started GET “/” for 127.0.0.1 at 2019-01-30 12:05:24 +0530

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (27.4ms)
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.2ms)

Filter chain halted as :check_session rendered or redirected Filter chain halted as :check_session rendered or redirected Completed 200 OK in 738ms (Views: 735.8ms | ActiveRecord: 0.0ms)

Completed 200 OK in 751ms (Views: 746.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 12:05:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (18.0ms)

Completed 200 OK in 137ms (Views: 135.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 12:05:27 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TEsKKcgm0srZeXv7oCauP3USKNA1Br6cuXK85l7+iirCph+RVNhdEasdFIUKP4uPAyDfvRRQ2mSMwNAgswWEvw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 15ms (ActiveRecord: 5.8ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:05:27 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 123ms (Views: 121.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 12:05:32 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.6ms)

Completed 200 OK in 173ms (Views: 170.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frnt%2F2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl%3Flocality_info%3Dfalse&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 12:05:38 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rnt/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:5
 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rnt/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rnt/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["domain", "housing"]]
↳ app/models/url.rb:60
 (1.3ms)  COMMIT
↳ app/models/url.rb:60
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "61fcba1"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rnt/2bhk-flats-for-rent-in-sector-38-gurgaon-C4P1mgsnnt2xp0zfhjl?locality_info=false"], ["id", 407], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "61fcba1"], ["id", 407]]
↳ app/models/url.rb:64
 (0.4ms)  COMMIT
↳ app/models/url.rb:64
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)
Report Load (1.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 28], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (6.0ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 272ms (Views: 171.2ms | ActiveRecord: 9.9ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:05:51 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 176ms (Views: 174.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 12:06:35 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.9ms)

Completed 200 OK in 181ms (Views: 178.7ms | ActiveRecord: 0.0ms)

 (6.3ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (6.1ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Started GET “/” for 127.0.0.1 at 2019-01-30 12:15:25 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 565ms (Views: 560.5ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:15:27 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (34.2ms)

Completed 200 OK in 205ms (Views: 201.7ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=youtube&prefix=yt.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:16:11 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"youtube", "prefix"=>"yt.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "youtube"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "yt.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
DomainPrefix Create (0.4ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "youtube"], ["prefix", "yt.com/"]]
↳ app/models/domain_prefix.rb:10
 (6.5ms)  COMMIT
↳ app/models/domain_prefix.rb:10

Completed 500 Internal Server Error in 270ms (ActiveRecord: 12.1ms)

NameError (undefined local variable or method `home_index_path' for #<DomainPrefixController:0x00007f8a8d8d9130> Did you mean? home_page_index_path):

app/controllers/domain_prefix_controller.rb:9:in `create_domain' Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=youtube&prefix=yt.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:16:26 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"youtube", "prefix"=>"yt.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "youtube"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "yt.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/domain_prefix.rb:10

Redirected to localhost:3000/home_page/index Completed 302 Found in 24ms (ActiveRecord: 6.9ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:16:26 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 242ms (Views: 239.8ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:16:31 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (4.5ms)

Completed 200 OK in 178ms (Views: 176.1ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=youtube&prefix=yt.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:16:48 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"youtube", "prefix"=>"yt.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (2.0ms)  BEGIN
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.7ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "youtube"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "yt.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/domain_prefix.rb:10

Redirected to localhost:3000/home_page/index Completed 302 Found in 9ms (ActiveRecord: 3.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:16:48 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 178ms (Views: 176.7ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:17:28 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.0ms)

Completed 200 OK in 159ms (Views: 157.7ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=tutorialspoint&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:17:40 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"tutorialspoint", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
DomainPrefix Create (0.3ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "tutorialspoint"], ["prefix", "ttr.com/"]]
↳ app/models/domain_prefix.rb:10
 (6.2ms)  COMMIT
↳ app/models/domain_prefix.rb:10

Redirected to localhost:3000/home_page/index Completed 302 Found in 29ms (ActiveRecord: 13.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:17:40 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 195ms (Views: 193.2ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:17:42 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (4.1ms)

Completed 200 OK in 195ms (Views: 193.7ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=tutorialspoint&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:17:46 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"tutorialspoint", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
 (0.2ms)  ROLLBACK
↳ app/models/domain_prefix.rb:10

Completed 422 Unprocessable Entity in 7ms (ActiveRecord: 1.3ms)

ActiveRecord::RecordInvalid (Validation failed: Domain has already been taken, Prefix has already been taken):

app/models/domain_prefix.rb:10:in `create_entry' app/controllers/domain_prefix_controller.rb:7:in `create_domain'

 (0.2ms)  BEGIN
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "pt.com/"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=tutorialspoint&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:20:04 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"tutorialspoint", "prefix"=>"ttr.com", "commit"=>"Search"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/models/domain_prefix.rb:15: syntax error, unexpected end-of-input, expecting end):

app/models/domain_prefix.rb:15: syntax error, unexpected end-of-input, expecting end app/controllers/domain_prefix_controller.rb:7:in `create_domain' Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=tutorialspoint&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:20:17 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"tutorialspoint", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.2ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.4ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 14ms (ActiveRecord: 3.8ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:20:17 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 155ms (Views: 154.5ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.2ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:20:27 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.6ms)

Completed 200 OK in 210ms (Views: 207.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=tutorialspoint&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:20:31 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"tutorialspoint", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.3ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 10ms (ActiveRecord: 1.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:20:31 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 184ms (Views: 182.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:20:42 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.6ms)

Completed 200 OK in 153ms (Views: 152.0ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=tutorialspoint&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:20:51 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"tutorialspoint", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 ORDER BY "domain_prefixes"."id" ASC LIMIT $3  [["domain", "tutorialspoint"], ["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10

Completed 500 Internal Server Error in 227ms (ActiveRecord: 3.1ms)

NameError (undefined local variable or method `domain_prefix_domain_form' for #<DomainPrefixController:0x00007f8a8d9982d8> Did you mean? domain_prefix_domain_form_url

domain_prefix_domain_form_path):

app/controllers/domain_prefix_controller.rb:12:in `create_domain' Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=tutorialspoint&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:21:20 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"tutorialspoint", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 ORDER BY "domain_prefixes"."id" ASC LIMIT $3  [["domain", "tutorialspoint"], ["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 10ms (ActiveRecord: 3.5ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:21:20 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (0.9ms)

Completed 200 OK in 167ms (Views: 166.4ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=housing.com&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:21:25 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"housing.com", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 ORDER BY "domain_prefixes"."id" ASC LIMIT $3  [["domain", "housing.com"], ["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
 (0.3ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.2ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 12ms (ActiveRecord: 2.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:21:25 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 191ms (Views: 189.7ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:21:43 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.8ms)

Completed 200 OK in 167ms (Views: 165.6ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=housing.com&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:21:47 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"housing.com", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 ORDER BY "domain_prefixes"."id" ASC LIMIT $3  [["domain", "housing.com"], ["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.1ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 8ms (ActiveRecord: 1.8ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:21:47 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 195ms (Views: 194.1ms | ActiveRecord: 0.0ms)

DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 LIMIT $3  [["domain", "proptiger.com"], ["prefix", "ttr.com/"], ["LIMIT", 11]]
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 ORDER BY "domain_prefixes"."id" ASC LIMIT $3  [["domain", "proptiger.com"], ["prefix", "ttr.com/"], ["LIMIT", 1]]

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:23:37 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (0.9ms)

Completed 200 OK in 154ms (Views: 152.8ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=housing.com&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:23:40 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"housing.com", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 ORDER BY "domain_prefixes"."id" ASC LIMIT $3  [["domain", "housing.com"], ["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 12ms (ActiveRecord: 5.3ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:23:40 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.7ms)

Completed 200 OK in 198ms (Views: 196.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=cricbuzz&prefix=crc.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:23:46 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"cricbuzz", "prefix"=>"crc.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 ORDER BY "domain_prefixes"."id" ASC LIMIT $3  [["domain", "cricbuzz"], ["prefix", "crc.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 4ms (ActiveRecord: 0.7ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:23:46 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (0.9ms)

Completed 200 OK in 171ms (Views: 170.1ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=cricbuzz&prefix=yt.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:24:03 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"cricbuzz", "prefix"=>"yt.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 ORDER BY "domain_prefixes"."id" ASC LIMIT $3  [["domain", "cricbuzz"], ["prefix", "yt.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10
 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:13
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:13
DomainPrefix Exists (0.2ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "yt.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:13
 (0.1ms)  ROLLBACK
↳ app/models/domain_prefix.rb:13

Redirected to localhost:3000/home_page/index Completed 302 Found in 15ms (ActiveRecord: 4.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:24:03 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 198ms (Views: 196.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 12:24:05 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 184ms (Views: 182.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:24:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 226ms (Views: 224.8ms | ActiveRecord: 0.0ms)

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 AND "domain_prefixes"."prefix" = $2 ORDER BY "domain_prefixes"."id" ASC LIMIT $3  [["domain", "proptiger.com"], ["prefix", "ttr.com/"], ["LIMIT", 1]]
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.3ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:24:17 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.8ms)

Completed 200 OK in 181ms (Views: 179.3ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=housing.com&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:25:16 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"housing.com", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (13.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE (housing.com) ORDER BY "domain_prefixes"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/domain_prefix.rb:10

Completed 500 Internal Server Error in 19ms (ActiveRecord: 15.3ms)

ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: missing FROM-clause entry for table “housing” LINE 1: …“domain_prefixes”.* FROM “domain_prefixes” WHERE (housing.co…

^

: SELECT “domain_prefixes”.* FROM “domain_prefixes” WHERE (housing.com) ORDER BY “domain_prefixes”.“id” ASC LIMIT $1):

app/models/domain_prefix.rb:10:in `create_entry' app/controllers/domain_prefix_controller.rb:7:in `create_domain' Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=housing.com&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:27:52 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"housing.com", "prefix"=>"ttr.com", "commit"=>"Search"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 200ms (Views: 199.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 12:27:53 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.8ms)

Completed 200 OK in 201ms (Views: 199.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 12:27:54 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jzLfl6PPaEBryHBo2fiBU1XdDBfAFp++qDCqdUsoRkIB38ovPzHnmxmsHxZz4aTjI+/7euFA+0adgsazptNI1w==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 12ms (ActiveRecord: 3.9ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:27:54 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 235ms (Views: 233.1ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:27:55 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.2ms)

Completed 200 OK in 199ms (Views: 197.5ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=housing.com&prefix=ttr.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:27:57 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"housing.com", "prefix"=>"ttr.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (1.1ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.4ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 16ms (ActiveRecord: 5.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:27:57 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.2ms)

Completed 200 OK in 197ms (Views: 195.6ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=housing.com&prefix=hsng.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:28:03 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"housing.com", "prefix"=>"hsng.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (2.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (1.0ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "hsng.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.2ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 13ms (ActiveRecord: 3.7ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 12:28:03 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.0ms)

Completed 200 OK in 175ms (Views: 172.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=cricbuzz&prefix=crc.com&commit=Search” for 127.0.0.1 at 2019-01-30 12:28:09 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"cricbuzz", "prefix"=>"crc.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (2.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "crc.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Create (0.9ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "cricbuzz"], ["prefix", "crc.com/"]]
↳ app/models/domain_prefix.rb:11
 (6.3ms)  COMMIT
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 16ms (ActiveRecord: 10.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:28:10 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 197ms (Views: 195.9ms | ActiveRecord: 0.0ms)

DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" LIMIT $1  [["LIMIT", 1]]
DomainPrefix Load (0.2ms)  SELECT "domain_prefixes".* FROM "domain_prefixes"

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 12:28:17 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 179ms (Views: 176.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Flive-cricket-scores%2F20786%2Fnz-vs-ind-4th-odi-india-tour-of-new-zealand-2019&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 12:28:28 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/live-cricket-scores/20786/nz-vs-ind-4th-odi-india-tour-of-new-zealand-2019", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/models/url.rb:60
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/20786/nz-vs-ind-4th-odi-india-tour-of-new-zealand-2019"], ["LIMIT", 1]]
↳ app/models/url.rb:60
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/20786/nz-vs-ind-4th-odi-india-tour-of-new-zealand-2019"], ["domain", "cricbuzz"]]
↳ app/models/url.rb:60
 (5.6ms)  COMMIT
↳ app/models/url.rb:60
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "7f7a761"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/20786/nz-vs-ind-4th-odi-india-tour-of-new-zealand-2019"], ["id", 408], ["LIMIT", 1]]
↳ app/models/url.rb:64
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "7f7a761"], ["id", 408]]
↳ app/models/url.rb:64
 (0.3ms)  COMMIT
↳ app/models/url.rb:64
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)
Report Load (1.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 29], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (5.6ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 272ms (Views: 185.2ms | ActiveRecord: 11.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:28:35 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 186ms (Views: 184.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 12:29:24 +0530

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (9.1ms)

Completed 200 OK in 559ms (Views: 552.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-30&commit=Search” for 127.0.0.1 at 2019-01-30 12:29:37 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-30", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-30"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (35.7ms)

Completed 200 OK in 265ms (Views: 251.3ms | ActiveRecord: 6.8ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:29:39 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 225ms (Views: 221.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 12:29:41 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.0ms)

Completed 200 OK in 195ms (Views: 193.4ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=cricb&commit=Search” for 127.0.0.1 at 2019-01-30 12:29:45 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"cricb", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (3.6ms)

Completed 200 OK in 213ms (Views: 180.5ms | ActiveRecord: 5.9ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 12:29:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 209ms (Views: 207.9ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=cric&commit=Search” for 127.0.0.1 at 2019-01-30 12:29:53 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (3.1ms)

Completed 200 OK in 188ms (Views: 172.7ms | ActiveRecord: 0.8ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 12:29:55 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.3ms)

Completed 200 OK in 196ms (Views: 193.1ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=761&commit=Search” for 127.0.0.1 at 2019-01-30 12:30:01 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"761", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (1.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.1ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 193ms (Views: 173.5ms | ActiveRecord: 1.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 12:30:03 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 201ms (Views: 198.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:30:04 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 182ms (Views: 179.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-30 12:30:05 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 12:30:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (3.7ms)

Completed 200 OK in 216ms (Views: 214.4ms | ActiveRecord: 0.0ms)

Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" IS NULL LIMIT $1  [["LIMIT", 1]]
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.hey.com"], ["LIMIT", 1]]
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.hey.com"], ["LIMIT", 1]]
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.hey.com"], ["LIMIT", 1]]
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" LIMIT $1  [["LIMIT", 1]]
Url Load (0.3ms)  SELECT "urls".* FROM "urls"
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]

Started POST “/shorten-url/?long_url=www.makaaan.com/vipul/vipul/vips/vips/vv/v” for 127.0.0.1 at 2019-01-30 12:49:13 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul/vipul/vips/vips/vv/v"}

Completed 500 Internal Server Error in 51ms (ActiveRecord: 3.6ms)

NameError (undefined local variable or method `se' for #<Url:0x00007fb8bb47a948>):

app/models/url.rb:49:in `find_errors' app/controllers/urls_controller.rb:18:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaaan.com/vipul/vipul/vips/vips/vv/v” for 127.0.0.1 at 2019-01-30 12:49:31 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul/vipul/vips/vips/vv/v"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 400 Bad Request in 51ms (Views: 0.3ms | ActiveRecord: 8.9ms)

Started POST “/shorten-url/?long_url=www.makaaan.com/vipul/vipul/vips/vips/vv/v” for 127.0.0.1 at 2019-01-30 12:50:05 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul/vipul/vips/vips/vv/v"}

Completed 400 Bad Request in 16ms (Views: 0.2ms | ActiveRecord: 5.4ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 12:50:25 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.9ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:64
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:64
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:89

Completed 208 Already Reported in 24ms (Views: 0.2ms | ActiveRecord: 6.1ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 12:50:58 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
 (0.2ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:64
 (0.4ms)  ROLLBACK
↳ app/models/url.rb:64

Completed 208 Already Reported in 20ms (Views: 0.2ms | ActiveRecord: 5.5ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 12:52:22 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:64
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:64

Completed 208 Already Reported in 21ms (Views: 0.2ms | ActiveRecord: 4.8ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 12:53:44 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}

Completed 500 Internal Server Error in 234ms (ActiveRecord: 1.9ms)

NameError (undefined local variable or method `long_url' for #<UrlsController:0x00007fb8bd9597a0>):

app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 12:56:01 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:64
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:64
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:89

Completed 208 Already Reported in 44ms (Views: 0.3ms | ActiveRecord: 7.0ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 12:56:18 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:18
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:18
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:18
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:64
 (0.3ms)  ROLLBACK
↳ app/models/url.rb:64

Completed 208 Already Reported in 36ms (Views: 0.4ms | ActiveRecord: 5.6ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:01:57 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:18: syntax error, unexpected ':', expecting end

return json: {
           ^):

app/controllers/urls_controller.rb:18: syntax error, unexpected ':', expecting end Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:02:12 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" IS NULL ORDER BY "domain_prefixes"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 500 Internal Server Error in 9ms (Views: 0.3ms | ActiveRecord: 3.7ms)

NoMethodError (undefined method `[]' for nil:NilClass):

app/controllers/urls_controller.rb:23:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:02:45 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:26
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:26

Completed 500 Internal Server Error in 27ms (ActiveRecord: 8.5ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:28:in `[]' app/controllers/urls_controller.rb:28:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:03:44 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 24ms (ActiveRecord: 5.9ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:29:in `[]' app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:04:34 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 500 Internal Server Error in 25ms (ActiveRecord: 7.8ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:28:in `[]' app/controllers/urls_controller.rb:28:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:05:20 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.2ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:28:in `[]' app/controllers/urls_controller.rb:28:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:05:51 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (1.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
CACHE DomainPrefix Load (0.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:64
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:64
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:89

Completed 208 Already Reported in 32ms (Views: 0.2ms | ActiveRecord: 10.0ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:06:05 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:64
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:64

Completed 208 Already Reported in 34ms (Views: 0.2ms | ActiveRecord: 7.8ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:06:22 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 31ms (ActiveRecord: 12.4ms)

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/urls_controller.rb:29:in `[]' app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:06:32 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
 (0.1ms)  BEGIN
↳ app/models/url.rb:64
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:64
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:64

Completed 208 Already Reported in 34ms (Views: 0.2ms | ActiveRecord: 7.7ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:06:49 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:67
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:67

Completed 208 Already Reported in 34ms (Views: 0.2ms | ActiveRecord: 8.0ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:06:59 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
 (0.1ms)  BEGIN
↳ app/models/url.rb:67
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/models/url.rb:67
 (0.2ms)  ROLLBACK
↳ app/models/url.rb:67

Completed 208 Already Reported in 32ms (Views: 0.2ms | ActiveRecord: 9.5ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:09:18 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:32: syntax error, unexpected ':', expecting '}'

status: :already_reported,
      ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:33: syntax error, unexpected ',', expecting end …url:prefix+url_row, … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:35: syntax error, unexpected tLABEL, expecting '='

domain:url_row[:domain]
^~~~~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:36: syntax error, unexpected '}', expecting end

}
^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:92: syntax error, unexpected end-of-input, expecting end):

app/controllers/urls_controller.rb:32: syntax error, unexpected ':', expecting '}' app/controllers/urls_controller.rb:33: syntax error, unexpected ',', expecting end app/controllers/urls_controller.rb:35: syntax error, unexpected tLABEL, expecting '=' app/controllers/urls_controller.rb:36: syntax error, unexpected '}', expecting end app/controllers/urls_controller.rb:92: syntax error, unexpected end-of-input, expecting end Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:09:41 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:32: syntax error, unexpected ':', expecting '}'

status: :already_reported,
      ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:33: syntax error, unexpected ',', expecting end …url:prefix+url_row, … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:35: syntax error, unexpected tLABEL, expecting '='

domain:url_row[:domain]
^~~~~~~

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:36: syntax error, unexpected '}', expecting end

}
^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:92: syntax error, unexpected end-of-input, expecting end):

app/controllers/urls_controller.rb:32: syntax error, unexpected ':', expecting '}' app/controllers/urls_controller.rb:33: syntax error, unexpected ',', expecting end app/controllers/urls_controller.rb:35: syntax error, unexpected tLABEL, expecting '=' app/controllers/urls_controller.rb:36: syntax error, unexpected '}', expecting end app/controllers/urls_controller.rb:92: syntax error, unexpected end-of-input, expecting end Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:09:57 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

No template found for UrlsController#api_post_shorten_url, rendering head :no_content Completed 204 No Content in 61ms (ActiveRecord: 8.7ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:10:18 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

No template found for UrlsController#api_post_shorten_url, rendering head :no_content Completed 204 No Content in 35ms (ActiveRecord: 1.0ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:10:46 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

No template found for UrlsController#api_post_shorten_url, rendering head :no_content Completed 204 No Content in 58ms (ActiveRecord: 8.5ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:11:50 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

No template found for UrlsController#api_post_shorten_url, rendering head :no_content Completed 204 No Content in 51ms (ActiveRecord: 5.9ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:12:08 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

No template found for UrlsController#api_post_shorten_url, rendering head :no_content Completed 204 No Content in 56ms (ActiveRecord: 7.9ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:12:25 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

No template found for UrlsController#api_post_shorten_url, rendering head :no_content Completed 204 No Content in 59ms (ActiveRecord: 10.2ms)

Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:13:11 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE (https://housing.com/rent/property-for-rent-in-gurgaon) ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:31

Completed 500 Internal Server Error in 24ms (ActiveRecord: 6.5ms)

ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR: syntax error at or near “:” LINE 1: SELECT “urls”.* FROM “urls” WHERE (housing.com/rent

^

: SELECT “urls”.* FROM “urls” WHERE (housing.com/rent/property-for-rent-in-gurgaon) ORDER BY “urls”.“id” ASC LIMIT $1):

app/controllers/urls_controller.rb:31:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:13:33 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE (https://housing.com/rent/property-for-rent-in-gurgaon) ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:31

Completed 500 Internal Server Error in 65ms (ActiveRecord: 12.0ms)

ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR: syntax error at or near “:” LINE 1: SELECT “urls”.* FROM “urls” WHERE (housing.com/rent

^

: SELECT “urls”.* FROM “urls” WHERE (housing.com/rent/property-for-rent-in-gurgaon) ORDER BY “urls”.“id” ASC LIMIT $1):

app/controllers/urls_controller.rb:31:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:14:13 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE (https://housing.com/rent/property-for-rent-in-gurgaon) ORDER BY "urls"."id" ASC LIMIT $1  [["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:31

Completed 500 Internal Server Error in 10ms (ActiveRecord: 2.2ms)

ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR: syntax error at or near “:” LINE 1: SELECT “urls”.* FROM “urls” WHERE (housing.com/rent

^

: SELECT “urls”.* FROM “urls” WHERE (housing.com/rent/property-for-rent-in-gurgaon) ORDER BY “urls”.“id” ASC LIMIT $1):

app/controllers/urls_controller.rb:31:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=housing.com/rent/property-for-rent-in-gurgaon” for 127.0.0.1 at 2019-01-30 13:15:25 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/rent/property-for-rent-in-gurgaon"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://housing.com/rent/property-for-rent-in-gurgaon"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:30

Completed 208 Already Reported in 31ms (Views: 0.4ms | ActiveRecord: 8.0ms)

Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 13:17:08 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.makaan.com"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NormalizeUrl::InvalidURIError (only absolute URLs can be normalized):

app/controllers/urls_controller.rb:16:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 13:17:26 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.makaan.com"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:26
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:26

Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 7.9ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-30 13:18:56 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:15:in `api_post_shorten_url' Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-30 13:21:42 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:15:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:22:01 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:26
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:26
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/vipul"], ["domain", "makaan"]]
↳ app/controllers/urls_controller.rb:26
 (6.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:26
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "602d087"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (4.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:45
Url Exists (9.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/vipul"], ["id", 409], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:45
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "602d087"], ["id", 409]]
↳ app/controllers/urls_controller.rb:45
 (0.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:45

Completed 200 OK in 81ms (Views: 0.3ms | ActiveRecord: 31.3ms)

Report Load (2.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 30], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (6.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started POST “/shorten-url/?long_url=www.makaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:43:21 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:142: syntax error, unexpected end-of-input, expecting end):

app/controllers/urls_controller.rb:142: syntax error, unexpected end-of-input, expecting end Started POST “/shorten-url/?long_url=www.makaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:44:14 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul"}
DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69

Completed 500 Internal Server Error in 235ms (ActiveRecord: 11.3ms)

NameError (undefined local variable or method `prefix' for #<UrlsController:0x00007fb8b9a68e38> Did you mean? _prefixes):

app/controllers/urls_controller.rb:72:in `check_url_valid_url' app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:45:46 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (1.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69

Completed 500 Internal Server Error in 314ms (ActiveRecord: 11.3ms)

NameError (undefined local variable or method `prefix' for #<UrlsController:0x00007fb8b9f8b3e8> Did you mean? _prefixes):

app/controllers/urls_controller.rb:72:in `check_url_valid_url' app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:46:10 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 239ms (ActiveRecord: 9.3ms)

NameError (undefined local variable or method `prefix' for #<UrlsController:0x00007fb8ba4583f8> Did you mean? perfix):

app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:47:02 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vipul"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "602d087"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "02d087f"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:35
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:35
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:35

Completed 202 Accepted in 36ms (Views: 0.2ms | ActiveRecord: 9.3ms)

Started POST “/shorten-url/?long_url=www.makaaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:47:38 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:28
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaaan.com/vipul"], ["domain", "makaaan"]]
↳ app/controllers/urls_controller.rb:28
 (0.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:28
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "cc720e3"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:36
Url Exists (2.1ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaaan.com/vipul"], ["id", 410], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:36
Url Update (1.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "cc720e3"], ["id", 410]]
↳ app/controllers/urls_controller.rb:36
 (4.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:36

Completed 500 Internal Server Error in 83ms (ActiveRecord: 18.5ms)

NoMethodError (undefined method `+' for nil:NilClass):

app/controllers/urls_controller.rb:39:in `api_post_shorten_url'

Report Load (1.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 31], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started POST “/shorten-url/?long_url=www.makaaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:48:00 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69

Completed 500 Internal Server Error in 23ms (ActiveRecord: 6.6ms)

NoMethodError (undefined method `+' for nil:NilClass):

app/controllers/urls_controller.rb:72:in `check_url_valid_url' app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:48:16 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69

Completed 500 Internal Server Error in 27ms (Views: 0.2ms | ActiveRecord: 8.6ms)

NoMethodError (undefined method `+' for nil:NilClass):

app/controllers/urls_controller.rb:72:in `check_url_valid_url' app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:49:06 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:29
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:29
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:29
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:71

Completed 500 Internal Server Error in 28ms (Views: 0.2ms | ActiveRecord: 9.9ms)

NoMethodError (undefined method `+' for nil:NilClass):

app/controllers/urls_controller.rb:74:in `check_url_valid_url' app/controllers/urls_controller.rb:31:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:51:20 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul"}
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:30
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:30
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:30
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaaan.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:72

Completed 500 Internal Server Error in 27ms (Views: 0.3ms | ActiveRecord: 8.6ms)

NoMethodError (undefined method `+' for nil:NilClass):

app/controllers/urls_controller.rb:75:in `check_url_valid_url' app/controllers/urls_controller.rb:32:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.makaaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:51:33 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:26: Invalid break):

app/controllers/urls_controller.rb:26: Invalid break app/controllers/urls_controller.rb Started POST “/shorten-url/?long_url=www.makaaan.com/vipul” for 127.0.0.1 at 2019-01-30 13:51:43 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vipul"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 400 Bad Request in 13ms (Views: 0.2ms | ActiveRecord: 5.4ms)

Started POST “/shorten-url/?long_url=sfsadasdadsadadsadsd” for 127.0.0.1 at 2019-01-30 13:52:46 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"sfsadasdadsadadsadsd"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NormalizeUrl::InvalidURIError (only absolute URLs can be normalized):

app/controllers/urls_controller.rb:19:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=sfsadasdadsadadsadsd” for 127.0.0.1 at 2019-01-30 13:53:56 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"sfsadasdadsadadsadsd"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", ""], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 400 Bad Request in 7ms (Views: 0.2ms | ActiveRecord: 3.3ms)

Started POST “/shorten-url/?long_url=www.google.com” for 127.0.0.1 at 2019-01-30 13:54:49 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.google.com"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 400 Bad Request in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 13:55:12 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:28
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:28
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "64b80e1"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:37
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:37
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:37

Completed 202 Accepted in 34ms (Views: 0.4ms | ActiveRecord: 4.7ms)

Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:37:43 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.1ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 30ms (ActiveRecord: 11.4ms)

NoMethodError (undefined method `class=' for {:status=>:bad_request, :error=>“Enter Valid Url”}:Hash Did you mean? class):

app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:38:44 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 28ms (ActiveRecord: 8.8ms)

NoMethodError (undefined method `class=' for {:status=>:bad_request, :error=>“Enter Valid Url”}:Hash Did you mean? class):

app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:39:32 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 35ms (ActiveRecord: 10.4ms)

NoMethodError (undefined method `class=' for {:status=>:bad_request, :error=>“Enter Valid Url”}:Hash Did you mean? class):

app/controllers/urls_controller.rb:29:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:40:24 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 25ms (ActiveRecord: 6.9ms)

NoMethodError (undefined method `class=' for {:status=>:bad_request, :error=>“Enter Valid Url”}:Hash Did you mean? class):

app/controllers/urls_controller.rb:30:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.google.com” for 127.0.0.1 at 2019-01-30 14:41:58 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.google.com"}
DomainPrefix Load (2.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 400 Bad Request in 4ms (Views: 0.3ms | ActiveRecord: 2.3ms)

Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:42:23 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 30ms (ActiveRecord: 8.9ms)

NoMethodError (undefined method `class=' for #<Hash:0x00007fb8bb3637d0> Did you mean? class):

app/controllers/urls_controller.rb:30:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:43:32 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 34ms (ActiveRecord: 8.5ms)

NoMethodError (undefined method `class=' for #<Hash:0x00007fb8c03abad0> Did you mean? class):

app/controllers/urls_controller.rb:30:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:44:29 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 24ms (ActiveRecord: 6.7ms)

NoMethodError (undefined method `class=' for #<Hash:0x00007fb8c01d3438> Did you mean? class):

app/controllers/urls_controller.rb:30:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:45:15 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 27ms (ActiveRecord: 6.5ms)

NoMethodError (undefined method `class=' for #<Hash:0x00007fb8bde1b810> Did you mean? class):

app/controllers/urls_controller.rb:30:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:45:34 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.7ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 500 Internal Server Error in 27ms (ActiveRecord: 8.0ms)

NoMethodError (undefined method `class=' for #<Hash:0x00007fb8bd90fc90> Did you mean? class):

app/controllers/urls_controller.rb:30:in `api_post_shorten_url' Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:46:43 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 400 Bad Request in 26ms (Views: 0.2ms | ActiveRecord: 8.8ms)

Started POST “/shorten-url/?long_url=www.google.com” for 127.0.0.1 at 2019-01-30 14:47:00 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.google.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 400 Bad Request in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:47:07 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 400 Bad Request in 25ms (Views: 0.1ms | ActiveRecord: 0.9ms)

Started POST “/shorten-url/?long_url=www.proptiger.com” for 127.0.0.1 at 2019-01-30 14:47:30 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.proptiger.com"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "proptiger"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:27
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.proptiger.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:27
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:27

Completed 400 Bad Request in 27ms (Views: 0.2ms | ActiveRecord: 8.4ms)

Started GET “/short-url?short_url=mk.com/2e02464d” for 127.0.0.1 at 2019-01-30 14:53:07 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/2e02464d"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "2e02464d"], ["LIMIT", 1]]
↳ app/models/url.rb:72

Completed 404 Not Found in 12ms (Views: 0.2ms | ActiveRecord: 3.9ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-30 14:53:14 +0530 Processing by UrlsController#api_get_short_url as / Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:51:in `api_get_short_url' Started GET “/short-url” for 127.0.0.1 at 2019-01-30 14:54:03 +0530 Processing by UrlsController#api_get_short_url as / Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:53:in `api_get_short_url' Started GET “/short-url” for 127.0.0.1 at 2019-01-30 14:54:42 +0530 Processing by UrlsController#api_get_short_url as / Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:54:in `api_get_short_url' Started GET “/short-url” for 127.0.0.1 at 2019-01-30 14:55:15 +0530 Processing by UrlsController#api_get_short_url as / Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:53:in `api_get_short_url' Started GET “/short-url” for 127.0.0.1 at 2019-01-30 14:56:16 +0530 Processing by UrlsController#api_get_short_url as / Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:53:in `api_get_short_url' Started GET “/short-url” for 127.0.0.1 at 2019-01-30 14:56:55 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=mk.com/2e02464d” for 127.0.0.1 at 2019-01-30 14:56:59 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/2e02464d"}

Completed 404 Not Found in 8ms (Views: 0.1ms | ActiveRecord: 2.1ms)

Started GET “/” for 127.0.0.1 at 2019-01-30 14:57:15 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (3.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 786ms (Views: 783.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 14:57:18 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.0ms)

Completed 200 OK in 147ms (Views: 145.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 14:57:19 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7y1LKqFtxwNfQ0IHPEWaFYAJfWum4sQpsstgErDem/FhwF6SPZNI2C0nLXmWXL+l9juKBoe0oNGHeQzUXSWVZA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 10ms (ActiveRecord: 3.1ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 14:57:19 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 155ms (Views: 153.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 14:57:23 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 223ms (Views: 221.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 14:57:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 205ms (Views: 203.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 14:57:38 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (14.0ms)

Completed 200 OK in 211ms (Views: 209.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 14:57:39 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 216ms (Views: 212.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 14:57:40 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 201ms (Views: 199.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=2e02464d&commit=Search” for 127.0.0.1 at 2019-01-30 14:57:43 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"2e02464d", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/search Completed 302 Found in 16ms (ActiveRecord: 3.7ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 14:57:43 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 142ms (Views: 140.0ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 14:58:04 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com"}
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:28
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:28
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com"], ["domain", "makaan"]]
↳ app/controllers/urls_controller.rb:28
 (1.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:28
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:38
Url Exists (1.1ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com"], ["id", 411], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:38
Url Update (12.1ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "1c2b052"], ["id", 411]]
↳ app/controllers/urls_controller.rb:38
 (0.6ms)  COMMIT
↳ app/controllers/urls_controller.rb:38

Completed 202 Accepted in 59ms (Views: 0.2ms | ActiveRecord: 21.8ms)

Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 32], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.5ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-30 14:58:16 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/models/url.rb:72
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 1.0ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-30 15:02:13 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant UrlsController::Ur):

app/controllers/urls_controller.rb:57:in `api_get_short_url' Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-30 15:02:29 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:57
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:63

Completed 200 OK in 23ms (Views: 0.2ms | ActiveRecord: 5.8ms)

Started GET “/short-url?short_url=mk.com/1c2b” for 127.0.0.1 at 2019-01-30 15:02:33 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:57

Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-30 15:02:40 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:57
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:63

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.7ms)

Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 15:13:19 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:58: syntax error, unexpected ':', expecting end

return json: check_params(url_params),sta...
           ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:58: syntax error, unexpected ',', expecting end …json: check_params(url_params),status: :bad_request … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:65: syntax error, unexpected ':', expecting end

return json: domain_row,status: :bad_requ...
           ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:74: syntax error, unexpected ':', expecting end

return json: response_of_validity,status:...
           ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:81: syntax error, unexpected ':', expecting end

return json: {
           ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:86: syntax error, unexpected ',', expecting end

},status: :accepted
 ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:91: syntax error, unexpected ':', expecting end

return json: check_params(params),status:...
           ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:91: syntax error, unexpected ',', expecting end …urn json: check_params(params),status: :bad_request … ^ /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:100: syntax error, unexpected ':', expecting end

return json: {
           ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:102: syntax error, unexpected ',', expecting end

},status: :not_found
 ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:105: syntax error, unexpected ':', expecting end

return json: {
           ^

/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:110: syntax error, unexpected ',', expecting end

},status: :ok
 ^):

app/controllers/urls_controller.rb:58: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:58: syntax error, unexpected ',', expecting end app/controllers/urls_controller.rb:65: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:74: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:81: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:86: syntax error, unexpected ',', expecting end app/controllers/urls_controller.rb:91: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:91: syntax error, unexpected ',', expecting end app/controllers/urls_controller.rb:100: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:102: syntax error, unexpected ',', expecting end app/controllers/urls_controller.rb:105: syntax error, unexpected ':', expecting end app/controllers/urls_controller.rb:110: syntax error, unexpected ',', expecting end Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 15:15:27 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:16: syntax error, unexpected 'n', expecting => /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:163: syntax error, unexpected end-of-input, expecting end):

app/controllers/urls_controller.rb:16: syntax error, unexpected 'n', expecting => app/controllers/urls_controller.rb:163: syntax error, unexpected end-of-input, expecting end Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 15:16:06 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:16: syntax error, unexpected 'n', expecting => /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:163: syntax error, unexpected end-of-input, expecting end):

app/controllers/urls_controller.rb:16: syntax error, unexpected 'n', expecting => app/controllers/urls_controller.rb:163: syntax error, unexpected end-of-input, expecting end Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 15:16:28 +0530

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:16: syntax error, unexpected 'n', expecting => /Users/vipul/Intern/Url_Shortner/app/controllers/urls_controller.rb:163: syntax error, unexpected end-of-input, expecting end):

app/controllers/urls_controller.rb:16: syntax error, unexpected 'n', expecting => app/controllers/urls_controller.rb:163: syntax error, unexpected end-of-input, expecting end Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 15:21:00 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:68
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:68
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:68
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141

No template found for UrlsController#api_post_shorten_url, rendering head :no_content Completed 204 No Content in 60ms (ActiveRecord: 7.8ms)

Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 15:21:14 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:69
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:69
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:69
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:142

No template found for UrlsController#api_post_shorten_url, rendering head :no_content Completed 204 No Content in 50ms (ActiveRecord: 8.1ms)

Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 15:21:29 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com"}
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:68
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:68
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:68
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141

Completed 208 Already Reported in 30ms (Views: 0.3ms | ActiveRecord: 8.7ms)

Started GET “/” for 127.0.0.1 at 2019-01-30 15:22:31 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 692ms (Views: 689.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 15:22:33 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (8.7ms)

Completed 200 OK in 143ms (Views: 141.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 15:22:34 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V1RB1xXd2Ik2WTs6dBlzHabXUAHHf+y21kz4c6p0Z77ZuVRviSNXUkQ9VETeAFat0OWnbOYpiE7j/pS1R49pKw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 12ms (ActiveRecord: 3.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 15:22:34 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 151ms (Views: 146.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 15:22:35 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.1ms)

Completed 200 OK in 187ms (Views: 185.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fgithub.com%2Fvgswn%2FUrl_Shortner%2Fblob%2Fdomain_table%2Fapp%2Fcontrollers%2Furls_controller.rb&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 15:22:40 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://github.com/vgswn/Url_Shortner/blob/domain_table/app/controllers/urls_controller.rb", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "github"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 278ms (Views: 266.3ms | ActiveRecord: 4.8ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 15:22:44 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 190ms (Views: 188.5ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 15:22:45 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.1ms)

Completed 200 OK in 173ms (Views: 171.4ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=github&prefix=gt.com&commit=Search” for 127.0.0.1 at 2019-01-30 15:22:54 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"github", "prefix"=>"gt.com", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "github"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.7ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "gt.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Create (0.7ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "github"], ["prefix", "gt.com/"]]
↳ app/models/domain_prefix.rb:11
 (5.1ms)  COMMIT
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 20ms (ActiveRecord: 7.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 15:22:54 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 174ms (Views: 173.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 15:22:58 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 166ms (Views: 162.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fgithub.com%2Fvgswn%2FUrl_Shortner%2Fblob%2Fdomain_table%2Fapp%2Fcontrollers%2Furls_controller.rb&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 15:23:00 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://github.com/vgswn/Url_Shortner/blob/domain_table/app/controllers/urls_controller.rb", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "github"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:62
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://github.com/vgswn/Url_Shortner/blob/domain_table/app/controllers/urls_controller.rb"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:62
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://github.com/vgswn/Url_Shortner/blob/domain_table/app/controllers/urls_controller.rb"], ["domain", "github"]]
↳ app/controllers/urls_controller.rb:62
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:62
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "eac97ac"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:71
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://github.com/vgswn/Url_Shortner/blob/domain_table/app/controllers/urls_controller.rb"], ["id", 412], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:71
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "eac97ac"], ["id", 412]]
↳ app/controllers/urls_controller.rb:71
 (9.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:71
Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 33], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 246ms (Views: 175.0ms | ActiveRecord: 17.5ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 15:23:04 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 190ms (Views: 186.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 15:23:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 192ms (Views: 189.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 15:39:42 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 163ms (Views: 162.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 15:39:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.5ms)

Completed 200 OK in 187ms (Views: 185.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 15:39:47 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 193ms (Views: 190.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.makaan.com” for 127.0.0.1 at 2019-01-30 15:58:58 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com"}
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:64
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:64
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:64
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:137

Completed 208 Already Reported in 61ms (Views: 0.3ms | ActiveRecord: 9.0ms)

Started POST “/shorten-url/?long_url=www.makaan.com/vips” for 127.0.0.1 at 2019-01-30 15:59:05 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vips"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:64
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vips"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:64
Url Create (0.8ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.makaan.com/vips"], ["domain", "makaan"]]
↳ app/controllers/urls_controller.rb:64
 (2.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:64
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "c10e594"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:73
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.makaan.com/vips"], ["id", 413], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:73
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "c10e594"], ["id", 413]]
↳ app/controllers/urls_controller.rb:73
 (12.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:73

Completed 202 Accepted in 55ms (Views: 0.2ms | ActiveRecord: 18.7ms)

Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 34], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-30 15:59:14 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 400 Bad Request in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-30 16:00:19 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 535ms (Views: 530.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 16:00:20 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (49.1ms)

Completed 200 OK in 217ms (Views: 216.1ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 16:00:22 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kLL6Nn+pir7CmZD654IoVlizj2xy6xmseqezr0TRAcQeX++O41cFZbD9/4RNmw3mLoF4AVO9fVRPFd9pqSoPUQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 16ms (ActiveRecord: 5.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:00:22 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 175ms (Views: 173.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:00:23 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 146ms (Views: 143.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fapidock.com%2Frails%2FActiveRecord%2FErrors%2Finvalid%253F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 16:00:37 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://apidock.com/rails/ActiveRecord/Errors/invalid%3F", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "apidock"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 183ms (Views: 169.7ms | ActiveRecord: 6.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:00:39 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 217ms (Views: 214.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:00:40 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 181ms (Views: 179.4ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 16:00:42 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.6ms)

Completed 200 OK in 195ms (Views: 193.1ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=apidock&prefix=ad.com&commit=Create” for 127.0.0.1 at 2019-01-30 16:00:53 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"apidock", "prefix"=>"ad.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.6ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "apidock"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ad.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Create (0.6ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "apidock"], ["prefix", "ad.com/"]]
↳ app/models/domain_prefix.rb:11
 (5.2ms)  COMMIT
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 21ms (ActiveRecord: 7.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:00:53 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 173ms (Views: 172.1ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 16:00:55 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.5ms)

Completed 200 OK in 194ms (Views: 191.1ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=apidock&prefix=ttr.com&commit=Create” for 127.0.0.1 at 2019-01-30 16:00:59 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"apidock", "prefix"=>"ttr.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "apidock"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.1ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 10ms (ActiveRecord: 1.3ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 16:00:59 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (0.9ms)

Completed 200 OK in 169ms (Views: 167.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:01:01 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 221ms (Views: 218.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:01:02 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 201ms (Views: 199.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fapidock.com%2Frails%2FActiveRecord%2FErrors%2Finvalid%253F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 16:01:05 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://apidock.com/rails/ActiveRecord/Errors/invalid%3F", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "apidock"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:64
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://apidock.com/rails/ActiveRecord/Errors/invalid%3F"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:64
Url Create (1.1ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://apidock.com/rails/ActiveRecord/Errors/invalid%3F"], ["domain", "apidock"]]
↳ app/controllers/urls_controller.rb:64
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:64
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (1.8ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 35], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.5ms)  COMMIT
↳ app/workers/url_worker.rb:8
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3a17860"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:73
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://apidock.com/rails/ActiveRecord/Errors/invalid%3F"], ["id", 414], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:73
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "3a17860"], ["id", 414]]
↳ app/controllers/urls_controller.rb:73
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:73
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 259ms (Views: 198.9ms | ActiveRecord: 7.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:01:09 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 129ms (Views: 126.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 16:01:10 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_url_to_short_url Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:01:10 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 133ms (Views: 132.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:01:12 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 122ms (Views: 119.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 16:01:14 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 252ms (Views: 249.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:01:16 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 203ms (Views: 201.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:01:16 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 234ms (Views: 231.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fapidock.com%2Frails%2FActiveRecord%2FErrors%2Finvalid%253F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 16:01:19 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://apidock.com/rails/ActiveRecord/Errors/invalid%3F", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "apidock"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.7ms)  BEGIN
↳ app/controllers/urls_controller.rb:64
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://apidock.com/rails/ActiveRecord/Errors/invalid%3F"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:64
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:64
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://apidock.com/rails/ActiveRecord/Errors/invalid%3F"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:137
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 182ms (Views: 169.8ms | ActiveRecord: 2.5ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:01:23 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 209ms (Views: 207.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:01:24 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 197ms (Views: 195.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 16:01:25 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 208ms (Views: 205.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=3a17860&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 16:01:28 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"3a17860", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3a17860"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "apidock"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:96
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 178ms (Views: 172.6ms | ActiveRecord: 1.3ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 16:01:30 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 198ms (Views: 195.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=3a17860+++++&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 16:01:37 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"3a17860     ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3a17860"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:90
DomainPrefix Load (0.9ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "apidock"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:96
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 218ms (Views: 211.7ms | ActiveRecord: 1.2ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 16:01:38 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 198ms (Views: 195.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:01:39 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 269ms (Views: 266.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 16:01:40 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (13.4ms)

Completed 200 OK in 201ms (Views: 198.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-30&commit=Search” for 127.0.0.1 at 2019-01-30 16:01:48 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-30", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-30"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (7.7ms)

Completed 200 OK in 212ms (Views: 201.3ms | ActiveRecord: 4.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:01:50 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 182ms (Views: 178.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:01:52 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.5ms)

Completed 200 OK in 203ms (Views: 201.8ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=3a17&commit=Search” for 127.0.0.1 at 2019-01-30 16:01:56 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"3a17", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `custom_search' for #<Class:0x00007fdcd17d4230>):

app/controllers/elastic_search_controller.rb:12:in `retrieve' Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=3a17&commit=Search” for 127.0.0.1 at 2019-01-30 16:02:15 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"3a17", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/search Completed 302 Found in 15ms (ActiveRecord: 3.2ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:02:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 195ms (Views: 194.0ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=3a178&commit=Search” for 127.0.0.1 at 2019-01-30 16:02:20 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"3a178", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 414]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 414]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.8ms)

Completed 200 OK in 197ms (Views: 180.5ms | ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:02:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 202ms (Views: 200.1ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=cri&commit=Search” for 127.0.0.1 at 2019-01-30 16:02:26 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"cri", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.8ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (4.2ms)

Completed 200 OK in 200ms (Views: 185.2ms | ActiveRecord: 0.8ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:02:27 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 210ms (Views: 207.9ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=hou&commit=Search” for 127.0.0.1 at 2019-01-30 16:02:31 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"hou", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 381], ["id", 388], ["id", 400], ["id", 401], ["id", 384], ["id", 407], ["id", 395], ["id", 394], ["id", 391], ["id", 393]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 381], ["id", 388], ["id", 400], ["id", 401], ["id", 384], ["id", 407], ["id", 395], ["id", 394], ["id", 391], ["id", 393]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (4.9ms)

Completed 200 OK in 185ms (Views: 172.1ms | ActiveRecord: 0.6ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:02:33 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 218ms (Views: 215.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:02:34 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 227ms (Views: 224.3ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-30 16:02:36 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:02:36 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 173ms (Views: 171.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 16:32:53 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 601ms (Views: 595.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 16:32:55 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (42.1ms)

Completed 200 OK in 200ms (Views: 198.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 16:32:56 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"spG0nyW1aF9Ad6Xpxa7PFjcVv8/J50Vp+5Fyap/XNuw8fKEnuUvnhDITypdvt+qmQSdIouixIZHOIx6sciw4eQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 18ms (ActiveRecord: 5.1ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:32:56 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (3.3ms)

Completed 200 OK in 203ms (Views: 180.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 16:32:58 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (2.6ms)

Completed 200 OK in 128ms (Views: 126.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:33:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 191ms (Views: 187.6ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-30 16:33:08 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:33:08 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 156ms (Views: 155.0ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-30 16:34:30 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:117
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:123

Completed 200 OK in 25ms (Views: 0.4ms | ActiveRecord: 8.0ms)

Started GET “/short-url?short_url=mk.com/1c2b05” for 127.0.0.1 at 2019-01-30 16:34:34 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b05"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b05"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:117

Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-30 16:34:40 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:117
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:123

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.7ms)

Started GET “/short-url?short_url=mk.com/1c2b05” for 127.0.0.1 at 2019-01-30 16:36:26 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b05"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b05"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:117

Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-30 16:36:32 +0530 Processing by UrlsController#api_get_short_url as / Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:113:in `short_url' app/controllers/urls_controller.rb:46:in `api_get_short_url' Started GET “/short-url” for 127.0.0.1 at 2019-01-30 16:39:13 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-30 16:51:51 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 531ms (Views: 526.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 16:51:55 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (43.0ms)

Completed 200 OK in 217ms (Views: 215.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 16:51:57 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GQWG4DDh70b0DO7xUIJpOA3AYtIGXib7zB11pJRT/O2X6JNYrB9gnYZogY/6m0yIe/KVvycIQgP5rxlieajyeA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 15ms (ActiveRecord: 4.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:51:57 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 190ms (Views: 188.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:52:01 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 205ms (Views: 202.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=ug88i&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 16:52:05 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"ug88i", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", ""], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 189ms (Views: 176.4ms | ActiveRecord: 6.9ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:52:12 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.2ms)

Completed 200 OK in 196ms (Views: 191.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=facebook.com%2Fjhu&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 16:52:23 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"facebook.com/jhu", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (5.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "facebook"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 211ms (Views: 202.3ms | ActiveRecord: 5.2ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:52:26 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 203ms (Views: 198.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:52:27 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 189ms (Views: 186.5ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 16:52:28 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.7ms)

Completed 200 OK in 198ms (Views: 195.8ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=facebook&prefix=fb.com&commit=Create” for 127.0.0.1 at 2019-01-30 16:52:37 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"facebook", "prefix"=>"fb.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (1.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (1.2ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "facebook"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.7ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "fb.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Create (0.5ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "facebook"], ["prefix", "fb.com/"]]
↳ app/models/domain_prefix.rb:11
 (4.5ms)  COMMIT
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 21ms (ActiveRecord: 8.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:52:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 175ms (Views: 173.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:52:47 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 220ms (Views: 218.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.facebook.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 16:52:49 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.facebook.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "facebook"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:91
Url Exists (0.9ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.facebook.com/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:91
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.facebook.com/"], ["domain", "facebook"]]
↳ app/controllers/urls_controller.rb:91
 (1.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:91
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e203e98"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:100
Url Exists (1.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.facebook.com/"], ["id", 415], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:100
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e203e98"], ["id", 415]]
↳ app/controllers/urls_controller.rb:100
 (6.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:100
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)
Report Load (3.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 36], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 267ms (Views: 182.3ms | ActiveRecord: 19.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:52:56 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.2ms)

Completed 200 OK in 212ms (Views: 209.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:52:57 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 189ms (Views: 187.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 16:52:58 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 204ms (Views: 201.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=e203e98&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 16:53:00 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"e203e98", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (2.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e203e98"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:118
DomainPrefix Load (4.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "facebook"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:124
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 188ms (Views: 174.4ms | ActiveRecord: 6.6ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 16:53:02 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 187ms (Views: 183.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 16:53:04 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/short_url_to_long_url Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 16:53:04 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (0.9ms)

Completed 200 OK in 184ms (Views: 182.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=cgjfhg&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-30 16:53:07 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"cgjfhg", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (1.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "cgjfhg"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:118
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 213ms (Views: 209.1ms | ActiveRecord: 1.6ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-30 16:53:08 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 189ms (Views: 187.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:53:09 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 209ms (Views: 207.2ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 16:53:11 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.5ms)

Completed 200 OK in 174ms (Views: 171.6ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=facebook&prefix=+vbcn&commit=Create” for 127.0.0.1 at 2019-01-30 16:53:17 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"facebook", "prefix"=>" vbcn", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (3.2ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "facebook"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (1.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", " vbcn/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (5.2ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 23ms (ActiveRecord: 9.9ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-30 16:53:17 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.3ms)

Completed 200 OK in 141ms (Views: 140.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:53:19 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 128ms (Views: 125.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-30 16:53:23 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (14.8ms)

Completed 200 OK in 233ms (Views: 231.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-30&commit=Search” for 127.0.0.1 at 2019-01-30 16:53:33 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-30", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-30"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (7.7ms)

Completed 200 OK in 216ms (Views: 200.3ms | ActiveRecord: 5.8ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-29&commit=Search” for 127.0.0.1 at 2019-01-30 16:53:39 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-29", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.7ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-29"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (3.6ms)

Completed 200 OK in 176ms (Views: 174.0ms | ActiveRecord: 0.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:53:41 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 213ms (Views: 210.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:53:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.5ms)

Completed 200 OK in 194ms (Views: 191.9ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=cri&commit=Search” for 127.0.0.1 at 2019-01-30 16:53:45 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"cri", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.0ms)

Completed 200 OK in 210ms (Views: 198.3ms | ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:53:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 211ms (Views: 208.6ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=hou&commit=Search” for 127.0.0.1 at 2019-01-30 16:53:50 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"hou", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (2.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 381], ["id", 388], ["id", 400], ["id", 401], ["id", 384], ["id", 407], ["id", 395], ["id", 394], ["id", 391], ["id", 393]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.1ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 381], ["id", 388], ["id", 400], ["id", 401], ["id", 384], ["id", 407], ["id", 395], ["id", 394], ["id", 391], ["id", 393]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (5.0ms)

Completed 200 OK in 217ms (Views: 204.1ms | ActiveRecord: 2.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:53:51 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 201ms (Views: 198.7ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=66e&commit=Search” for 127.0.0.1 at 2019-01-30 16:53:59 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"66e", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.8ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/search Completed 302 Found in 9ms (ActiveRecord: 0.8ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:53:59 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 205ms (Views: 203.0ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=e203&commit=Search” for 127.0.0.1 at 2019-01-30 16:54:15 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"e203", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 415]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.1ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 415]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (4.4ms)

Completed 200 OK in 187ms (Views: 168.9ms | ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:54:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 222ms (Views: 220.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:54:18 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 201ms (Views: 198.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-30 16:54:21 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:54:21 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 167ms (Views: 165.1ms | ActiveRecord: 0.0ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-30 16:54:25 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=mk.com/1c2b05” for 127.0.0.1 at 2019-01-30 16:54:28 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b05"}
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b05"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:118

Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 16:54:47 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.4ms)

Completed 200 OK in 196ms (Views: 193.0ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 16:54:48 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"989NNZVO6Ytx6XQXLQ3/UEVw+zs9WBPH+f27gNPD9UN5IliNCbBmUAONG2mHFNrgM0IMVhwOdz/MT9dGPjj71g==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:54:48 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 204ms (Views: 200.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-30 16:54:50 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:54:50 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 284ms (Views: 281.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-30 16:58:44 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.7ms)

Completed 200 OK in 572ms (Views: 565.7ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-30 16:58:46 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ng+2jYlKI19TTOYO+WarBesEZ/QDxFJ2mF8qUTlbcA2HicvX/KlJB9q/6jokgfxIp73HAiUqRnHJn9vrGUdEEA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 12ms (ActiveRecord: 4.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:58:46 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 197ms (Views: 194.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:58:47 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.9ms)

Completed 200 OK in 168ms (Views: 166.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:58:57 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 223ms (Views: 219.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:58:58 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 191ms (Views: 188.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 16:59:00 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:89
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
Url Create (0.8ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["domain", "tutorialspoint"]]
↳ app/controllers/urls_controller.rb:89
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:89
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "33e355c"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:10
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:98
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["id", 416], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:98
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "33e355c"], ["id", 416]]
↳ app/controllers/urls_controller.rb:98
 (6.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:98
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)
Report Load (1.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-30"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-30"], ["id", 9], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (1.0ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 37], ["id", 9]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 291ms (Views: 191.1ms | ActiveRecord: 17.8ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-30 16:59:07 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 201ms (Views: 199.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-30 16:59:09 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.9ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:89
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:89
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:163
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 226ms (Views: 211.5ms | ActiveRecord: 2.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 16:59:11 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 188ms (Views: 184.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:59:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.6ms)

Completed 200 OK in 214ms (Views: 211.3ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Search” for 127.0.0.1 at 2019-01-30 16:59:24 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/search Completed 302 Found in 9ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:59:24 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 177ms (Views: 175.3ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Search” for 127.0.0.1 at 2019-01-30 16:59:28 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/search Completed 302 Found in 14ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:59:28 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 204ms (Views: 202.0ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Search” for 127.0.0.1 at 2019-01-30 16:59:34 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/search Completed 302 Found in 11ms (ActiveRecord: 0.5ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:59:34 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 179ms (Views: 176.6ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=w.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Search” for 127.0.0.1 at 2019-01-30 16:59:45 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"w.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/search Completed 302 Found in 16ms (ActiveRecord: 0.6ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 16:59:45 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 200ms (Views: 197.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=tutorialspoint&commit=Search” for 127.0.0.1 at 2019-01-30 17:00:06 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"tutorialspoint", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 416]]
↳ app/controllers/elastic_search_controller.rb:13
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 416]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.0ms)

Completed 200 OK in 190ms (Views: 174.6ms | ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 17:00:21 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 202ms (Views: 199.9ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=om%2Fel&commit=Search” for 127.0.0.1 at 2019-01-30 17:00:23 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"om/el", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (1.1ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:13

Redirected to localhost:3000/search Completed 302 Found in 20ms (ActiveRecord: 1.1ms)

Started GET “/search” for 127.0.0.1 at 2019-01-30 17:00:23 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 182ms (Views: 180.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 17:00:26 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 208ms (Views: 205.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-30 17:00:31 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-30 17:00:31 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 173ms (Views: 170.9ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=mk.com/1c2b05” for 127.0.0.1 at 2019-01-30 17:02:50 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b05"}
Url Load (1.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b05"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:116

Completed 404 Not Found in 5ms (Views: 0.2ms | ActiveRecord: 1.4ms)

Started GET “/shorten-url/?long_url=www.makaan.com/vips” for 127.0.0.1 at 2019-01-30 17:03:38 +0530

ActionController::RoutingError (No route matches [GET] “/shorten-url”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started POST “/shorten-url/?long_url=www.makaan.com/vips” for 127.0.0.1 at 2019-01-30 17:03:46 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vips"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:89
Url Exists (1.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vips"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:89
 (0.6ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:89
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com/vips"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:163

Completed 208 Already Reported in 13ms (Views: 0.3ms | ActiveRecord: 3.3ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 10:05:34 +0530

 (6.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 576ms (Views: 571.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 10:05:36 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (43.1ms)

Completed 200 OK in 220ms (Views: 217.4ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-31 10:05:37 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qVvudXm6ImkY8MJToqIbb6OFXOQFk+Xk8YA6dGk2g+Uz4tPisSmpKp4byNpTlnaONL2vqorej3X8v7rkyRimSA==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 23ms (ActiveRecord: 11.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 10:05:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.8ms)

Completed 200 OK in 161ms (Views: 158.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-01-31 10:05:43 +0530

ActionController::RoutingError (No route matches [GET] “/urls/long_to_short”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/login” for 127.0.0.1 at 2019-01-31 10:05:45 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.6ms)

Completed 200 OK in 143ms (Views: 140.6ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-31 10:05:47 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"B2oVGM2ZJ2MWlxIcd9mL5bOpXzbmLM6OwDEGavTed03tcs6rEPvr+4EBnQ5LCWGss55FaHRh7jEuMWIDsO9b2A==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 3ms (ActiveRecord: 0.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 10:05:47 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 148ms (Views: 145.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 10:07:53 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (0.5ms)

Completed 200 OK in 121ms (Views: 120.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 10:08:53 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (186.7ms)

Completed 500 Internal Server Error in 190ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `redirect_to' for #<#<Class:0x00007f926d9f7f20>:0x00007f926dd3dd60>):

 8:   <center><%= link_to "Home",home_page_index_path%></center>
 9: </center>
10: <%else%>
11: <%redirect_to home_page_index_path%>
12: <%end%>

app/views/users/login.html.erb:11:in `_app_views_users_login_html_erb___2884785695367728324_70133442278080' Started GET “/users/login” for 127.0.0.1 at 2019-01-31 10:09:10 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (181.7ms)

Completed 500 Internal Server Error in 184ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `redirect_to' for #<#<Class:0x00007f926d9f7f20>:0x00007f926d0f01e8>):

 8:   <center><%= link_to "Home",home_page_index_path%></center>
 9: </center>
10: <%else%>
11: <%= redirect_to home_page_index_path %>
12: <%end%>

app/views/users/login.html.erb:11:in `_app_views_users_login_html_erb___2884785695367728324_70133435827500' Started GET “/users/login” for 127.0.0.1 at 2019-01-31 10:10:34 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 10:10:34 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 111ms (Views: 109.6ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.makaan.com/vips” for 127.0.0.1 at 2019-01-31 10:31:55 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaan.com/vips"}
DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:114
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.makaan.com/vips"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:114
 (6.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:114
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.makaan.com/vips"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:188

Completed 208 Already Reported in 39ms (Views: 0.2ms | ActiveRecord: 17.2ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-31 10:44:19 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:153
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:159

Completed 200 OK in 25ms (Views: 0.2ms | ActiveRecord: 12.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:18:56 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 431ms (Views: 426.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 11:18:57 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (44.4ms)

Completed 200 OK in 232ms (Views: 229.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-31 11:18:58 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DGDvb49E2mb57WVSICA3dC+KRlt5A1zLGVavpoaOgMKW2dL4R9dRJX8Gb9vRFFqVuLK1FfZONloUaS82JqClbw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 16ms (ActiveRecord: 5.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:18:58 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 168ms (Views: 166.3ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:18:59 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (4.2ms)

Completed 200 OK in 150ms (Views: 148.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:19:03 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 127ms (Views: 125.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:19:04 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (4.6ms)

Completed 200 OK in 152ms (Views: 150.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Flive-cricket-scores%2F20786%2Fnz-vs-ind-4th-odi-india-tour-of-new-zealand-2019&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:19:13 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/live-cricket-scores/20786/nz-vs-ind-4th-odi-india-tour-of-new-zealand-2019", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:132
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/20786/nz-vs-ind-4th-odi-india-tour-of-new-zealand-2019"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:132
 (0.4ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:132
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/live-cricket-scores/20786/nz-vs-ind-4th-odi-india-tour-of-new-zealand-2019"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:206
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 149ms (Views: 117.7ms | ActiveRecord: 8.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:19:22 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 154ms (Views: 150.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:19:23 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 124ms (Views: 123.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:19:25 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.9ms)

Completed 200 OK in 149ms (Views: 147.6ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=crc.com%2F7f7a761&commit=Search” for 127.0.0.1 at 2019-01-31 11:19:31 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"crc.com/7f7a761", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:22

Redirected to localhost:3000/search Completed 302 Found in 81ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:19:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.3ms)

Completed 200 OK in 109ms (Views: 108.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=7f7a761&commit=Search” for 127.0.0.1 at 2019-01-31 11:19:37 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"7f7a761", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:22

Redirected to localhost:3000/search Completed 302 Found in 21ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:19:37 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 141ms (Views: 140.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=7f7a761&commit=Search” for 127.0.0.1 at 2019-01-31 11:19:44 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"7f7a761", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.6ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 408]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 141ms (Views: 111.0ms | ActiveRecord: 0.6ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:19:46 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 139ms (Views: 137.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:19:55 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 116ms (Views: 114.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:20:17 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.3ms)

Completed 200 OK in 149ms (Views: 147.1ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=https%3A%2F%2Fwww.cricbuzz.com%2Flive-cricket-scores%2F20786%2Fnz-vs-ind-4th-odi-india-tour-of-new-zealand-2019&commit=Search” for 127.0.0.1 at 2019-01-31 11:20:21 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"https://www.cricbuzz.com/live-cricket-scores/20786/nz-vs-ind-4th-odi-india-tour-of-new-zealand-2019", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:22

Redirected to localhost:3000/search Completed 302 Found in 26ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:20:22 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.2ms)

Completed 200 OK in 115ms (Views: 114.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:20:32 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 146ms (Views: 143.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 11:31:30 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 459ms (Views: 453.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:31:32 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (37.1ms)

Completed 200 OK in 194ms (Views: 192.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:31:33 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 167ms (Views: 163.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 11:31:34 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (5.7ms)

Completed 200 OK in 140ms (Views: 138.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-01-31 11:31:56 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (11.8ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (14.4ms)

Completed 200 OK in 133ms (Views: 108.6ms | ActiveRecord: 15.9ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:32:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 153ms (Views: 151.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:32:07 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 126ms (Views: 124.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-videos%2F35244%2Fcricbuzz-live-nz-vs-ind-4th-odi-post-match-show&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:32:09 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-videos/35244/cricbuzz-live-nz-vs-ind-4th-odi-post-match-show", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:132
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-videos/35244/cricbuzz-live-nz-vs-ind-4th-odi-post-match-show"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:132
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-videos/35244/cricbuzz-live-nz-vs-ind-4th-odi-post-match-show"], ["domain", "cricbuzz"]]
↳ app/controllers/urls_controller.rb:132
 (19.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:132
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ec1aa31"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:141
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-videos/35244/cricbuzz-live-nz-vs-ind-4th-odi-post-match-show"], ["id", 417], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:141
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "ec1aa31"], ["id", 417]]
↳ app/controllers/urls_controller.rb:141
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:141
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:10
Report Exists (0.8ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:10
Report Create (2.6ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-01-31"], ["no_of_urls", 1]]
↳ app/workers/url_worker.rb:10
 (0.5ms)  COMMIT
↳ app/workers/url_worker.rb:10

Completed 200 OK in 372ms (Views: 264.7ms | ActiveRecord: 35.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:32:11 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 127ms (Views: 123.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:32:13 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.6ms)

Completed 200 OK in 226ms (Views: 225.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:32:14 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 133ms (Views: 130.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 11:32:16 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (2.0ms)

Completed 200 OK in 152ms (Views: 148.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-01-31 11:32:20 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (10.7ms)

Completed 200 OK in 121ms (Views: 116.4ms | ActiveRecord: 2.9ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:32:22 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 147ms (Views: 144.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 11:32:23 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:32:24 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 102ms (Views: 99.7ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-31 11:50:10 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162

Completed 200 OK in 27ms (Views: 0.3ms | ActiveRecord: 8.2ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-31 11:50:14 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (2.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 3.2ms)

Started GET “/short-url?short_url=mk.com/1c2b052dfd” for 127.0.0.1 at 2019-01-31 11:50:38 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052dfd"}
Url Load (2.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052dfd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156

Completed 404 Not Found in 4ms (Views: 0.2ms | ActiveRecord: 2.3ms)

Started GET “/short-url?short_url=mk.com/1c2b052dfd” for 127.0.0.1 at 2019-01-31 11:50:44 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052dfd"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052dfd"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156

Completed 404 Not Found in 2ms (Views: 0.2ms | ActiveRecord: 0.4ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-31 11:50:49 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162

Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 1.3ms)

Started POST “/shorten-url/?long_url=www.makaaan.com/vips” for 127.0.0.1 at 2019-01-31 11:51:18 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.makaaan.com/vips"}
DomainPrefix Load (1.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaaan"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 400 Bad Request in 3ms (Views: 0.3ms | ActiveRecord: 1.0ms)

Started POST “/shorten-url/?long_url=wwwwasdsadddsd” for 127.0.0.1 at 2019-01-31 11:51:29 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"wwwwasdsadddsd"}
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", ""], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 400 Bad Request in 3ms (Views: 0.2ms | ActiveRecord: 0.7ms)

Started POST “/shorten-url/?long_url=www.google.com” for 127.0.0.1 at 2019-01-31 11:51:36 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.google.com"}
DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6

Completed 400 Bad Request in 3ms (Views: 0.2ms | ActiveRecord: 1.2ms)

Started POST “/shorten-url/?long_url=www.housing.com” for 127.0.0.1 at 2019-01-31 11:51:45 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"www.housing.com"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.housing.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129

Completed 400 Bad Request in 8ms (Views: 0.2ms | ActiveRecord: 1.2ms)

Started POST “/shorten-url/?long_url=www.housing.com” for 127.0.0.1 at 2019-01-31 11:51:51 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.com"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.housing.com"], ["domain", "housing"]]
↳ app/controllers/urls_controller.rb:129
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:129
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e0b3092"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:138
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.housing.com"], ["id", 418], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:138
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e0b3092"], ["id", 418]]
↳ app/controllers/urls_controller.rb:138
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:138

Completed 202 Accepted in 42ms (Views: 0.2ms | ActiveRecord: 8.7ms)

Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 2], ["id", 10]]
↳ app/workers/url_worker.rb:8
 (1.5ms)  COMMIT
↳ app/workers/url_worker.rb:8

Started POST “/shorten-url/?long_url=www.housing.com” for 127.0.0.1 at 2019-01-31 11:52:01 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.com"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.housing.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:203

Completed 208 Already Reported in 8ms (Views: 0.2ms | ActiveRecord: 1.6ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfs” for 127.0.0.1 at 2019-01-31 11:52:20 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfs"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfs"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.housing.comdfdsfsdfs"], ["domain", "housing"]]
↳ app/controllers/urls_controller.rb:129
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (1.0ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 3], ["id", 10]]
↳ app/workers/url_worker.rb:8
 (6.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:129
 (5.0ms)  COMMIT
↳ app/workers/url_worker.rb:8
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "ae7f89c"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:138
Url Exists (1.0ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.housing.comdfdsfsdfs"], ["id", 419], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:138
Url Update (0.7ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "ae7f89c"], ["id", 419]]
↳ app/controllers/urls_controller.rb:138
 (1.0ms)  COMMIT
↳ app/controllers/urls_controller.rb:138

Completed 202 Accepted in 43ms (Views: 0.3ms | ActiveRecord: 10.7ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 11:52:42 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.1ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 199ms (Views: 198.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 11:52:44 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (8.0ms)

Completed 200 OK in 198ms (Views: 196.8ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-31 11:52:45 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9qujj6bisewoE1Gx0cNC0tZLPmStycUxR2v2r57vESxsEp4YbnE6r674Wzgg9y8zQXPNKiKEr6BKVHY/PsE0gQ==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 12ms (ActiveRecord: 4.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:52:45 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 174ms (Views: 171.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:52:46 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 208ms (Views: 206.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106414%2Fcan-england-stop-being-wilful-protagonists-of-another-tragicomedy&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:52:58 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106414/can-england-stop-being-wilful-protagonists-of-another-tragicomedy", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.9ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106414/can-england-stop-being-wilful-protagonists-of-another-tragicomedy"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106414/can-england-stop-being-wilful-protagonists-of-another-tragicomedy"], ["domain", "cricbuzz"]]
↳ app/controllers/urls_controller.rb:129
Report Load (0.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 4], ["id", 10]]
↳ app/workers/url_worker.rb:8
 (5.8ms)  COMMIT
↳ app/controllers/urls_controller.rb:129
 (5.0ms)  COMMIT
↳ app/workers/url_worker.rb:8
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "dd09927"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:138
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106414/can-england-stop-being-wilful-protagonists-of-another-tragicomedy"], ["id", 420], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:138
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "dd09927"], ["id", 420]]
↳ app/controllers/urls_controller.rb:138
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:138
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 197ms (Views: 157.1ms | ActiveRecord: 9.2ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:52:59 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.1ms)

Completed 200 OK in 205ms (Views: 202.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106414%2Fcan-england-stop-being-wilful-protagonists-of-another-tragicomedy&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:53:04 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106414/can-england-stop-being-wilful-protagonists-of-another-tragicomedy", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106414/can-england-stop-being-wilful-protagonists-of-another-tragicomedy"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106414/can-england-stop-being-wilful-protagonists-of-another-tragicomedy"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:203
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 120ms (Views: 109.1ms | ActiveRecord: 2.5ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:53:05 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.6ms)

Completed 200 OK in 168ms (Views: 166.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=www.google.com&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:53:10 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"www.google.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 164ms (Views: 157.4ms | ActiveRecord: 1.3ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:53:12 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.2ms)

Completed 200 OK in 196ms (Views: 195.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=adasdfds&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:53:14 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"adasdfds", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", ""], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 175ms (Views: 171.0ms | ActiveRecord: 1.2ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:53:15 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 192ms (Views: 190.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=www.housing.com&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:53:21 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"www.housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (1.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "www.housing.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.6ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 199ms (Views: 189.2ms | ActiveRecord: 3.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:53:23 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 190ms (Views: 188.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:53:31 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.9ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
Url Create (1.1ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com"], ["domain", "housing"]]
↳ app/controllers/urls_controller.rb:129
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.2ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 5], ["id", 10]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
 (6.4ms)  COMMIT
↳ app/workers/url_worker.rb:8
↳ app/controllers/urls_controller.rb:129
Url Load (1.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9ec5314"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (1.6ms)  BEGIN
↳ app/controllers/urls_controller.rb:138
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com"], ["id", 421], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:138
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "9ec5314"], ["id", 421]]
↳ app/controllers/urls_controller.rb:138
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:138
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 235ms (Views: 193.1ms | ActiveRecord: 13.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:53:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 188ms (Views: 185.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 11:53:40 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 210ms (Views: 208.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=9ec5314&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 11:53:42 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"9ec5314", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (1.1ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9ec5314"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 180ms (Views: 172.5ms | ActiveRecord: 1.8ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 11:53:44 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (3.9ms)

Completed 200 OK in 220ms (Views: 217.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=9ec5314+++++&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 11:53:50 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"9ec5314     ", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9ec5314"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (1.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 188ms (Views: 179.0ms | ActiveRecord: 2.4ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 11:53:52 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 220ms (Views: 218.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=9c5314&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 11:53:55 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"9c5314", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (1.2ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9c5314"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 207ms (Views: 203.1ms | ActiveRecord: 1.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:53:56 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 189ms (Views: 186.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 11:54:00 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.5ms)

Completed 200 OK in 196ms (Views: 193.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-29&commit=Search” for 127.0.0.1 at 2019-01-31 11:54:06 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-29", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-29"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (5.7ms)

Completed 200 OK in 196ms (Views: 177.3ms | ActiveRecord: 4.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:54:08 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 211ms (Views: 209.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:54:11 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 174ms (Views: 172.2ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=9ec531&commit=Search” for 127.0.0.1 at 2019-01-31 11:54:14 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"9ec531", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (1.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:22

Redirected to localhost:3000/search Completed 302 Found in 15ms (ActiveRecord: 1.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:54:14 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 195ms (Views: 193.2ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=cric&commit=Search” for 127.0.0.1 at 2019-01-31 11:54:17 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 417], ["id", 408], ["id", 420]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 417], ["id", 408], ["id", 420]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 224ms (Views: 199.2ms | ActiveRecord: 0.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:54:19 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 176ms (Views: 174.7ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 11:54:20 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 217ms (Views: 214.4ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=9ec5&commit=Search” for 127.0.0.1 at 2019-01-31 11:54:25 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"9ec5", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (1.1ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 421]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 421]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (3.2ms)

Completed 200 OK in 200ms (Views: 181.9ms | ActiveRecord: 1.1ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:54:26 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 208ms (Views: 205.4ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 11:54:30 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (3.0ms)

Completed 200 OK in 206ms (Views: 204.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:54:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 205ms (Views: 202.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:54:39 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 208ms (Views: 205.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Fhttps-medium-com-wolox-driving-innovation-the-power-of-elasticsearch-from-a-rails-app-perspective-6166892f89b4&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:54:41 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://medium.com/wolox-driving-innovation/https-medium-com-wolox-driving-innovation-the-power-of-elasticsearch-from-a-rails-app-perspective-6166892f89b4", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "medium"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.9ms)

Completed 200 OK in 121ms (Views: 113.8ms | ActiveRecord: 1.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:54:43 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 142ms (Views: 139.2ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 11:54:44 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.3ms)

Completed 200 OK in 138ms (Views: 135.4ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=medium&prefix=md.com&commit=Create” for 127.0.0.1 at 2019-01-31 11:54:51 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"medium", "prefix"=>"md.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "medium"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (4.2ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "md.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Create (1.1ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "medium"], ["prefix", "md.com/"]]
↳ app/models/domain_prefix.rb:11
 (5.8ms)  COMMIT
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 19ms (ActiveRecord: 11.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:54:51 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 165ms (Views: 163.5ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 11:54:53 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.9ms)

Completed 200 OK in 206ms (Views: 204.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=medium&prefix=yt.com&commit=Create” for 127.0.0.1 at 2019-01-31 11:54:57 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"medium", "prefix"=>"yt.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "medium"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "yt.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.3ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 11ms (ActiveRecord: 1.7ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 11:54:57 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.1ms)

Completed 200 OK in 174ms (Views: 172.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=medium&prefix=md.com&commit=Create” for 127.0.0.1 at 2019-01-31 11:55:04 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"medium", "prefix"=>"md.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (1.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "medium"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (1.0ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "md.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.3ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 12ms (ActiveRecord: 3.1ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 11:55:04 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (25.7ms)

Completed 200 OK in 204ms (Views: 202.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:55:05 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (3.4ms)

Completed 200 OK in 227ms (Views: 223.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:55:08 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.5ms)

Completed 200 OK in 192ms (Views: 189.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fmedium.com%2Fwolox-driving-innovation%2Fhttps-medium-com-wolox-driving-innovation-the-power-of-elasticsearch-from-a-rails-app-perspective-6166892f89b4&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 11:55:10 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://medium.com/wolox-driving-innovation/https-medium-com-wolox-driving-innovation-the-power-of-elasticsearch-from-a-rails-app-perspective-6166892f89b4", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "medium"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://medium.com/wolox-driving-innovation/https-medium-com-wolox-driving-innovation-the-power-of-elasticsearch-from-a-rails-app-perspective-6166892f89b4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
Url Create (0.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://medium.com/wolox-driving-innovation/https-medium-com-wolox-driving-innovation-the-power-of-elasticsearch-from-a-rails-app-perspective-6166892f89b4"], ["domain", "medium"]]
↳ app/controllers/urls_controller.rb:129
Report Load (0.8ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 6], ["id", 10]]
↳ app/workers/url_worker.rb:8
 (7.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:129
 (4.9ms)  COMMIT
↳ app/workers/url_worker.rb:8
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "9500322"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:138
Url Exists (1.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://medium.com/wolox-driving-innovation/https-medium-com-wolox-driving-innovation-the-power-of-elasticsearch-from-a-rails-app-perspective-6166892f89b4"], ["id", 422], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:138
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "9500322"], ["id", 422]]
↳ app/controllers/urls_controller.rb:138
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:138
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 230ms (Views: 193.4ms | ActiveRecord: 12.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 11:55:12 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 198ms (Views: 195.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:55:13 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 191ms (Views: 189.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 11:55:14 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 11:55:14 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 200ms (Views: 198.7ms | ActiveRecord: 0.0ms)

 (0.5ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to AddIndexToUser (20190131064452)

 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (12.4ms)  CREATE  INDEX  "index_users_on_email" ON "users"  ("email")
↳ db/migrate/20190131064452_add_index_to_user.rb:3
ActiveRecord::SchemaMigration Create (0.4ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190131064452"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to AddIndexToUrl (20190131064458)

 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (7.7ms)  CREATE  INDEX  "index_urls_on_long_url" ON "urls"  ("long_url")
↳ db/migrate/20190131064458_add_index_to_url.rb:3
 (7.1ms)  CREATE  INDEX  "index_urls_on_short_url" ON "urls"  ("short_url")
↳ db/migrate/20190131064458_add_index_to_url.rb:4
ActiveRecord::SchemaMigration Create (0.3ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190131064458"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (5.1ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to AddIndexToDomain (20190131064503)

 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (7.1ms)  CREATE  INDEX  "index_domain_prefixes_on_domain" ON "domain_prefixes"  ("domain")
↳ db/migrate/20190131064503_add_index_to_domain.rb:3
ActiveRecord::SchemaMigration Create (0.3ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190131064503"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (6.3ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (0.6ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:19:19 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 421ms (Views: 415.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:19:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (36.8ms)

Completed 200 OK in 193ms (Views: 191.3ms | ActiveRecord: 0.0ms)

Started POST “/users/Login” for 127.0.0.1 at 2019-01-31 12:19:27 +0530 Processing by UsersController#check_login as JS

Parameters: {"utf8"=>"✓", "authenticity_token"=>"76hArIdntf1VqSlFqe4D8+vOcXepQi8ze54DV6Ndp+J1EX07T/Q+vtNCI8xY2m4SfPaCOSYPRaJ2oYPHA3OCTw==", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :authenticity_token, :commit

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 200 OK in 17ms (ActiveRecord: 5.1ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:19:27 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 174ms (Views: 172.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 12:19:31 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (2.1ms)

Completed 200 OK in 141ms (Views: 139.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-01-31 12:19:52 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (8.0ms)

Completed 200 OK in 132ms (Views: 112.0ms | ActiveRecord: 3.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:21:20 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 137ms (Views: 134.6ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 12:21:21 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.9ms)

Completed 200 OK in 110ms (Views: 108.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:21:23 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.4ms)

Completed 200 OK in 155ms (Views: 152.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 12:21:30 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.5ms)

Completed 200 OK in 120ms (Views: 118.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 12:21:32 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.8ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:203
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 175ms (Views: 143.2ms | ActiveRecord: 9.4ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 12:21:35 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 123ms (Views: 121.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:24:01 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 141ms (Views: 138.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 12:38:35 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 129ms (Views: 127.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 12:46:36 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 109ms (Views: 108.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:46:37 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 151ms (Views: 149.4ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 12:46:38 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 28ms (ActiveRecord: 15.1ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:46:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 144ms (Views: 142.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 12:48:28 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 142ms (Views: 139.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 12:48:30 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:203
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 156ms (Views: 122.2ms | ActiveRecord: 11.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:48:32 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 148ms (Views: 145.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 12:48:57 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 4ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:48:57 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 116ms (Views: 114.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:09 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:09 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 122ms (Views: 120.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:10 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:10 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 112ms (Views: 110.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:11 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:11 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 141ms (Views: 139.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:11 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:11 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 115ms (Views: 113.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:12 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:12 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 137ms (Views: 136.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:13 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:13 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 118ms (Views: 116.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:13 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:13 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 129ms (Views: 127.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:14 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:14 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 109ms (Views: 108.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:14 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:14 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 136ms (Views: 134.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:15 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:15 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 125ms (Views: 122.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:15 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:15 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 106ms (Views: 104.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:15 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:15 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 129ms (Views: 127.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:16 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:16 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 110ms (Views: 107.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 12:50:44 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 158ms (Views: 156.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:50:45 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 138ms (Views: 135.4ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 12:50:47 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 4ms (ActiveRecord: 0.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:50:47 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 141ms (Views: 140.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 12:51:25 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:25 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 105ms (Views: 104.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 128ms (Views: 126.9ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 12:51:27 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 22ms (ActiveRecord: 5.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:27 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 144ms (Views: 142.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 12:51:34 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:34 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 106ms (Views: 104.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:35 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:35 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 132ms (Views: 130.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:36 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:36 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 106ms (Views: 104.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Completed 200 OK in 146ms (Views: 144.6ms | ActiveRecord: 0.0ms)

Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 205ms (Views: 203.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 19ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 202ms (Views: 200.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 257ms (Views: 255.3ms | ActiveRecord: 0.0ms)

Completed 200 OK in 211ms (Views: 208.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:44 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:44 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 101ms (Views: 99.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:45 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:45 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 143ms (Views: 141.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:45 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:45 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 117ms (Views: 115.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:46 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:46 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:46 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:46 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 184ms (Views: 183.2ms | ActiveRecord: 0.0ms)

Completed 200 OK in 144ms (Views: 141.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:46 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:46 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 107ms (Views: 106.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:54 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 143ms (Views: 141.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:51:55 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.3ms)

Completed 200 OK in 155ms (Views: 152.3ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 12:51:56 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 27ms (ActiveRecord: 4.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:51:56 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 125ms (Views: 122.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 12:52:01 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:52:01 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 128ms (Views: 127.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 12:52:02 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.2ms)

Completed 200 OK in 159ms (Views: 156.0ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 12:52:03 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 20ms (ActiveRecord: 8.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:52:03 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 119ms (Views: 117.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 12:52:10 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 153ms (Views: 151.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.google.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 12:52:17 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.google.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 154ms (Views: 140.1ms | ActiveRecord: 7.1ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:52:19 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 128ms (Views: 125.1ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 12:52:20 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.3ms)

Completed 200 OK in 113ms (Views: 112.4ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=google&prefix=gl.co&commit=Create” for 127.0.0.1 at 2019-01-31 12:52:33 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"google", "prefix"=>"gl.co", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.9ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.8ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "gl.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Create (1.6ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "google"], ["prefix", "gl.co/"]]
↳ app/models/domain_prefix.rb:11
 (4.0ms)  COMMIT
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 20ms (ActiveRecord: 7.8ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:52:33 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 140ms (Views: 139.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 12:52:34 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 142ms (Views: 138.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.google.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 12:52:39 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.google.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.google.com/"], ["domain", "google"]]
↳ app/controllers/urls_controller.rb:129
 (1.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:129
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d75277c"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:138
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.google.com/"], ["id", 423], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:138
Url Update (0.7ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "d75277c"], ["id", 423]]
↳ app/controllers/urls_controller.rb:138
 (0.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:138
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)
Report Load (1.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:5
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:6
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:8
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:8
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 7], ["id", 10]]
↳ app/workers/url_worker.rb:8
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:8

Completed 200 OK in 184ms (Views: 118.0ms | ActiveRecord: 8.2ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 12:52:43 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (4.2ms)

Completed 200 OK in 176ms (Views: 173.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:52:44 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 147ms (Views: 144.3ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 12:52:45 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.1ms)

Completed 200 OK in 145ms (Views: 142.5ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=google&prefix=gl.co&commit=Create” for 127.0.0.1 at 2019-01-31 12:52:52 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"google", "prefix"=>"gl.co", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (1.1ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "gl.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.2ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 12ms (ActiveRecord: 2.1ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 12:52:52 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.3ms)

Completed 200 OK in 119ms (Views: 117.8ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=google&prefix=kj&commit=Create” for 127.0.0.1 at 2019-01-31 12:52:57 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"google", "prefix"=>"kj", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "kj/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.1ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 6ms (ActiveRecord: 1.1ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 12:52:57 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.1ms)

Completed 200 OK in 144ms (Views: 143.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:52:59 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.2ms)

Completed 200 OK in 155ms (Views: 151.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 12:53:03 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 143ms (Views: 140.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:53:43 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 138ms (Views: 135.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 12:53:45 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.1ms)

Completed 200 OK in 147ms (Views: 145.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.google.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 12:53:50 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.google.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (1.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.google.com/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.4ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.google.com/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:203
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 149ms (Views: 134.8ms | ActiveRecord: 3.8ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 12:53:54 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.5ms)

Completed 200 OK in 147ms (Views: 144.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:53:56 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (3.3ms)

Completed 200 OK in 129ms (Views: 126.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 12:53:58 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 146ms (Views: 143.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=d75277c&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 12:54:00 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"d75277c", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d75277c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 140ms (Views: 133.0ms | ActiveRecord: 1.2ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 12:54:06 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 145ms (Views: 142.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=gl.co%2Fd75277c&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 12:54:09 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"gl.co/d75277c", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (2.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "d75277c"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (2.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "google"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 154ms (Views: 143.1ms | ActiveRecord: 5.1ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:54:10 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 119ms (Views: 117.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 12:54:12 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 147ms (Views: 144.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 12:54:12 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"", "commit"=>"Find Long Url"}

Redirected to localhost:3000/urls/short_url_to_long_url Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 12:54:12 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.1ms)

Completed 200 OK in 137ms (Views: 135.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:54:14 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 151ms (Views: 148.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 12:54:15 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.5ms)

Completed 200 OK in 146ms (Views: 143.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-28&commit=Search” for 127.0.0.1 at 2019-01-31 12:54:23 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-28", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-28"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (7.0ms)

Completed 200 OK in 158ms (Views: 140.0ms | ActiveRecord: 3.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:54:24 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 153ms (Views: 151.4ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 12:54:27 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.4ms)

Completed 200 OK in 147ms (Views: 145.0ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=gl.co%2Fd75277c&commit=Search” for 127.0.0.1 at 2019-01-31 12:54:31 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"gl.co/d75277c", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:22

Redirected to localhost:3000/search Completed 302 Found in 15ms (ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 12:54:31 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 116ms (Views: 114.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=277c&commit=Search” for 127.0.0.1 at 2019-01-31 12:54:37 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"277c", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (1.7ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 423]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 423]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.7ms)

Completed 200 OK in 153ms (Views: 137.3ms | ActiveRecord: 1.7ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 12:54:38 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 201ms (Views: 198.5ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=goog&commit=Search” for 127.0.0.1 at 2019-01-31 12:54:45 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"goog", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 423]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 423]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (4.2ms)

Completed 200 OK in 209ms (Views: 193.7ms | ActiveRecord: 0.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:54:47 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 122ms (Views: 119.6ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 12:54:48 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 12:54:48 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 134ms (Views: 133.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfs” for 127.0.0.1 at 2019-01-31 12:54:51 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfs"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (1.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfs"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.4ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (3.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfs"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:203

Completed 208 Already Reported in 22ms (Views: 0.3ms | ActiveRecord: 6.4ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 12:54:56 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfs” for 127.0.0.1 at 2019-01-31 12:54:59 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfs"}
DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.8ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfs"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfs"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:203

Completed 208 Already Reported in 11ms (Views: 0.3ms | ActiveRecord: 3.4ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-31 12:55:08 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (1.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162

Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 2.4ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-31 12:55:11 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (1.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (1.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162

Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 2.7ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 14:24:03 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 174ms (Views: 172.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 14:24:04 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 139ms (Views: 137.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 14:24:05 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 119ms (Views: 117.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 14:24:06 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.6ms)

Completed 200 OK in 161ms (Views: 158.8ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 14:24:07 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 14:24:07 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 115ms (Views: 114.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 14:24:08 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 145ms (Views: 143.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 14:24:10 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 129ms (Views: 126.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 14:24:12 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.8ms)

Completed 200 OK in 140ms (Views: 138.8ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=cric&commit=Search” for 127.0.0.1 at 2019-01-31 14:24:15 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 417], ["id", 408], ["id", 420]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3)  [["id", 417], ["id", 408], ["id", 420]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.9ms)

Completed 200 OK in 135ms (Views: 116.8ms | ActiveRecord: 0.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 14:24:16 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 100ms (Views: 98.6ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 14:24:18 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.8ms)

Completed 200 OK in 149ms (Views: 147.0ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=housing.com&prefix=ttr.com&commit=Create” for 127.0.0.1 at 2019-01-31 14:24:20 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"housing.com", "prefix"=>"ttr.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.4ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "housing.com"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.2ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 9ms (ActiveRecord: 1.6ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 14:24:20 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.9ms)

Completed 200 OK in 125ms (Views: 123.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 14:24:26 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (3.4ms)

Completed 200 OK in 145ms (Views: 142.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 14:35:21 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 515ms (Views: 508.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 14:39:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 169ms (Views: 166.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 15:08:15 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by ElasticSearchController#search as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 527ms (Views: 522.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 15:08:20 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (39.0ms)

Completed 200 OK in 202ms (Views: 200.6ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 15:08:22 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 19ms (ActiveRecord: 7.1ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 15:08:22 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 162ms (Views: 160.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 15:17:06 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (8.5ms)

Completed 200 OK in 167ms (Views: 164.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-01-31 15:17:12 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (7.4ms)

Completed 200 OK in 211ms (Views: 196.7ms | ActiveRecord: 9.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 15:17:18 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 171ms (Views: 169.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 15:18:21 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.1ms)

Completed 200 OK in 174ms (Views: 172.4ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=vipulkumar&prefix=ttr.com&commit=Create” for 127.0.0.1 at 2019-01-31 15:18:29 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"vipulkumar", "prefix"=>"ttr.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.5ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "vipulkumar"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.7ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "ttr.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
 (0.4ms)  ROLLBACK
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/domain_prefix/domain_form Completed 302 Found in 28ms (ActiveRecord: 12.6ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 15:18:29 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.7ms)

Completed 200 OK in 166ms (Views: 164.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 15:18:32 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 200ms (Views: 196.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 15:30:34 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 190ms (Views: 189.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 15:30:36 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.9ms)

Completed 200 OK in 209ms (Views: 206.7ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 15:30:38 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (2.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 18ms (ActiveRecord: 10.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 15:30:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 178ms (Views: 177.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 15:31:36 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 15:31:36 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 187ms (Views: 185.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 15:31:37 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 174ms (Views: 171.7ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 15:31:38 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 6ms (ActiveRecord: 1.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 15:31:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 195ms (Views: 194.3ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 15:38:06 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 513ms (Views: 507.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 15:38:08 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (15.0ms)

Completed 200 OK in 213ms (Views: 211.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-01-31 15:38:20 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.8ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (12.6ms)

Completed 200 OK in 242ms (Views: 224.9ms | ActiveRecord: 7.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 15:38:21 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 201ms (Views: 198.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 15:38:23 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.5ms)

Completed 200 OK in 183ms (Views: 182.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 15:38:24 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Completed 200 OK in 214ms (Views: 211.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 15:58:36 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 197ms (Views: 196.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 15:58:37 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (7.9ms)

Completed 200 OK in 192ms (Views: 190.2ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 15:58:38 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 20ms (ActiveRecord: 10.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 15:58:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 204ms (Views: 202.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 15:58:40 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 187ms (Views: 185.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106282%2Fselecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 15:58:55 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `match' for nil:NilClass):

app/controllers/urls_controller.rb:196:in `check_domain_valid_url' app/controllers/urls_controller.rb:123:in `shorten_url' app/controllers/urls_controller.rb:88:in `convert_long_url_to_short_url' Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106282%2Fselecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:00:14 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team"], ["domain", "cricbuzz"]]
↳ app/controllers/urls_controller.rb:129
 (11.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:129
Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
Url Load (1.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a0d4337"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:138
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:14
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team"], ["id", 424], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:138
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 8], ["id", 10]]
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "a0d4337"], ["id", 424]]
↳ app/workers/url_worker.rb:14
↳ app/controllers/urls_controller.rb:138
 (0.7ms)  COMMIT
 (0.5ms)  COMMIT
↳ app/workers/url_worker.rb:14
↳ app/controllers/urls_controller.rb:138
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 262ms (Views: 159.6ms | ActiveRecord: 23.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:00:17 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.7ms)

Completed 200 OK in 211ms (Views: 208.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106282%2Fselecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:00:19 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (2.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129

Completed 500 Internal Server Error in 17ms (ActiveRecord: 3.4ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:216:in `+' app/controllers/urls_controller.rb:216:in `check_valid_url' app/controllers/urls_controller.rb:131:in `shorten_url' app/controllers/urls_controller.rb:88:in `convert_long_url_to_short_url' Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106282%2Fselecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:02:53 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129

Completed 500 Internal Server Error in 25ms (ActiveRecord: 6.2ms)

TypeError (no implicit conversion of nil into String):

app/controllers/urls_controller.rb:210:in `+' app/controllers/urls_controller.rb:210:in `check_valid_url' app/controllers/urls_controller.rb:131:in `shorten_url' app/controllers/urls_controller.rb:88:in `convert_long_url_to_short_url' Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:03:10 +0530

 (1.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (4.1ms)

Completed 200 OK in 544ms (Views: 538.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:03:12 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.1ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:203
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 243ms (Views: 178.4ms | ActiveRecord: 12.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:03:14 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.0ms)

Completed 200 OK in 180ms (Views: 177.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:05:01 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.0ms)

Completed 200 OK in 170ms (Views: 169.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=Rails.cache.fetch%28params%5B%3Ashort_url%5D%2C+%3Aexpires_in+%3D%3E+5.minutes%29+do+%09+++++%09%09%09Url.where%28short_url%3A+params%5B%3Ashort_url%5D%29.first+%09+++++%09%09%09end&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:05:03 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"Rails.cache.fetch(params[:short_url], :expires_in => 5.minutes) do \t     \t\t\tUrl.where(short_url: params[:short_url]).first \t     \t\t\tend", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

Addressable::URI::InvalidURIError (Invalid character in host: 'Rails.cache.fetch(params, :expires_in => 5.minutes) do Url.where(short_url: params).first end'):

app/controllers/urls_controller.rb:122:in `shorten_url' app/controllers/urls_controller.rb:88:in `convert_long_url_to_short_url' Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F12005412%2Frails-cache-clear-certain-key-names&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:05:57 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://stackoverflow.com/questions/12005412/rails-cache-clear-certain-key-names", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 223ms (Views: 203.6ms | ActiveRecord: 3.5ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:05:59 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 185ms (Views: 181.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:06:04 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 191ms (Views: 189.2ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 16:06:05 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.4ms)

Completed 200 OK in 182ms (Views: 180.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=stackoverflow&prefix=st.co&commit=Create” for 127.0.0.1 at 2019-01-31 16:06:13 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"stackoverflow", "prefix"=>"st.co", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.3ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (1.1ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.7ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "st.co/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Create (0.6ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "stackoverflow"], ["prefix", "st.co/"]]
↳ app/models/domain_prefix.rb:11
 (6.0ms)  COMMIT
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 21ms (ActiveRecord: 8.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:06:13 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 188ms (Views: 186.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:06:15 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 177ms (Views: 175.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F12005412%2Frails-cache-clear-certain-key-names&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:06:17 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://stackoverflow.com/questions/12005412/rails-cache-clear-certain-key-names", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (2.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/12005412/rails-cache-clear-certain-key-names"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
Url Create (0.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://stackoverflow.com/questions/12005412/rails-cache-clear-certain-key-names"], ["domain", "stackoverflow"]]
↳ app/controllers/urls_controller.rb:129
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:129
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "91383d4"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:138
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://stackoverflow.com/questions/12005412/rails-cache-clear-certain-key-names"], ["id", 425], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:138
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "91383d4"], ["id", 425]]
↳ app/controllers/urls_controller.rb:138
 (6.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:138
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)
Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Update (0.3ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 9], ["id", 10]]
↳ app/workers/url_worker.rb:14
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:14

Completed 200 OK in 261ms (Views: 187.2ms | ActiveRecord: 16.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:06:18 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.4ms)

Completed 200 OK in 184ms (Views: 182.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:06:19 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_url_to_short_url Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:06:19 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 175ms (Views: 174.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:06:22 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 126ms (Views: 123.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:06:24 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.8ms)

Completed 200 OK in 141ms (Views: 138.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:06:27 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (5.0ms)

Completed 200 OK in 135ms (Views: 133.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:06:28 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 256ms (Views: 254.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F12005412%2Frails-cache-clear-certain-key-names&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:06:30 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://stackoverflow.com/questions/12005412/rails-cache-clear-certain-key-names", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://stackoverflow.com/questions/12005412/rails-cache-clear-certain-key-names"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://stackoverflow.com/questions/12005412/rails-cache-clear-certain-key-names"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:206
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 179ms (Views: 163.4ms | ActiveRecord: 3.1ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:06:35 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.1ms)

Completed 200 OK in 205ms (Views: 203.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:06:36 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 175ms (Views: 172.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:06:39 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.4ms)

Completed 200 OK in 195ms (Views: 193.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=st.co%2F91383d4&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 16:06:41 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"st.co/91383d4", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (3.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "91383d4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "stackoverflow"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:163
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 180ms (Views: 167.3ms | ActiveRecord: 4.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:06:42 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 221ms (Views: 218.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=91383d4&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 16:06:46 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"91383d4", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (1.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "91383d4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:156
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.7ms)

Completed 200 OK in 199ms (Views: 193.5ms | ActiveRecord: 1.6ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:06:53 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 183ms (Views: 180.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:06:59 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 202ms (Views: 200.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:11:28 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.9ms)

Completed 200 OK in 148ms (Views: 145.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:11:29 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 217ms (Views: 213.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:11:30 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (3.4ms)

Completed 200 OK in 186ms (Views: 182.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=91383d4&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 16:11:32 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"91383d4", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "91383d4"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:157
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 208ms (Views: 185.8ms | ActiveRecord: 5.7ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:11:34 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (3.1ms)

Completed 200 OK in 211ms (Views: 207.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=91383d4&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 16:11:36 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"91383d4", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 202ms (Views: 199.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:12:02 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (3.7ms)

Completed 200 OK in 530ms (Views: 525.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:12:04 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (53.0ms)

Completed 200 OK in 230ms (Views: 228.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:12:05 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.1ms)

Completed 200 OK in 166ms (Views: 164.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106282%2Fselecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:12:12 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (2.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (1.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:208
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 318ms (Views: 246.1ms | ActiveRecord: 22.8ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:12:16 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 184ms (Views: 181.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106282%2Fselecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:12:18 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.9ms)

Completed 200 OK in 200ms (Views: 187.7ms | ActiveRecord: 2.6ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:12:28 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 176ms (Views: 173.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106282%2Fselecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:12:30 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (2.1ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.6ms)  BEGIN
↳ app/controllers/urls_controller.rb:129
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106282/selecting-australian-teams-is-a-lot-harder-now-players-are-picked-based-on-not-a-lot-of-evidence-jamie-cox-australia-cricket-team"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:129
 (0.5ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:129
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 200ms (Views: 184.5ms | ActiveRecord: 3.9ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:15:21 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (5.0ms)

Completed 200 OK in 535ms (Views: 529.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:15:23 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (15.0ms)

Completed 200 OK in 136ms (Views: 134.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 16:17:14 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 197ms (Views: 194.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:17:15 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (3.5ms)

Completed 200 OK in 200ms (Views: 198.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=adaddad+adasdasd&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:17:29 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"adaddad adasdasd", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

Addressable::URI::InvalidURIError (Invalid character in host: 'adaddad adasdasd'):

app/controllers/urls_controller.rb:122:in `shorten_url' app/controllers/urls_controller.rb:88:in `convert_long_url_to_short_url' Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=adaddad+adasdasd&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:21:25 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"adaddad adasdasd", "commit"=>"Generate Short Url"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 215ms (Views: 214.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 16:21:27 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.2ms)

Completed 200 OK in 180ms (Views: 179.0ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 16:21:29 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 21ms (ActiveRecord: 8.8ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:21:29 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 186ms (Views: 185.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:21:30 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.6ms)

Completed 200 OK in 182ms (Views: 179.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=ada+adsda&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:21:33 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"ada adsda", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

Addressable::URI::InvalidURIError (Invalid character in host: 'ada adsda'):

app/controllers/urls_controller.rb:122:in `shorten_url' app/controllers/urls_controller.rb:88:in `convert_long_url_to_short_url' Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=ada+adsda&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:21:56 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"ada adsda", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 160ms (Views: 158.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:21:58 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 198ms (Views: 195.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:23:02 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_url_to_short_url Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:23:02 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (30.8ms)

Completed 200 OK in 548ms (Views: 545.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:23:04 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 195ms (Views: 193.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:23:57 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (9.3ms)

Completed 200 OK in 183ms (Views: 181.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=errors+%2C+val+%3D+check_url%28params%29++++if%21val+++++++return+errors+++++end&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:24:02 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"errors , val = check_url(params)     if !val       return errors     end", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 122ms (Views: 121.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:24:04 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 134ms (Views: 132.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 16:27:16 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 508ms (Views: 475.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:27:18 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (39.1ms)

Completed 200 OK in 200ms (Views: 197.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106433%2Fcan-pakistan-stretch-their-prolific-t20i-run-to-2019&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:27:25 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run-to-2019", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.1ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run-to-2019"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
Url Create (0.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run-to-2019"], ["domain", "cricbuzz"]]
↳ app/controllers/urls_controller.rb:133
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:133
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "299c391"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.7ms)  BEGIN
↳ app/controllers/urls_controller.rb:142
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run-to-2019"], ["id", 426], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:142
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "299c391"], ["id", 426]]
↳ app/controllers/urls_controller.rb:142
 (5.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:142
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.6ms)
Report Load (1.1ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (0.6ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 10], ["id", 10]]
↳ app/workers/url_worker.rb:14
 (0.5ms)  COMMIT
↳ app/workers/url_worker.rb:14

Completed 200 OK in 409ms (Views: 267.4ms | ActiveRecord: 32.3ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:27:27 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 181ms (Views: 179.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106433%2Fcan-pakistan-stretch-their-prolific-t20i-run-to-2019&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:27:30 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run-to-2019", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.1ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (1.9ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run-to-2019"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:133
Url Load (0.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run-to-2019"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:212
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 216ms (Views: 199.1ms | ActiveRecord: 4.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:27:32 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 201ms (Views: 198.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106433%2Fcan-pakistan-stretch-their-prolific-t20i-run+.-to-2019&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:27:36 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run . -to-2019 ", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 198ms (Views: 196.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:27:37 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 193ms (Views: 190.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cricbuzz.com%2Fcricket-news%2F106433%2Fcan-pakistan-stretch-their-prolific-t20i-run-to-2019&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:27:40 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run-to-2019", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (2.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.cricbuzz.com/cricket-news/106433/can-pakistan-stretch-their-prolific-t20i-run-to-2019"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
 (0.4ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:133
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 202ms (Views: 188.2ms | ActiveRecord: 3.4ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:27:45 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 176ms (Views: 175.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:27:46 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 212ms (Views: 210.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:27:48 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 181ms (Views: 177.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=299c391&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 16:27:50 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"299c391", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (1.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "299c391"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:161
DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cricbuzz"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:169
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 205ms (Views: 194.8ms | ActiveRecord: 2.1ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:27:52 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.4ms)

Completed 200 OK in 236ms (Views: 235.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=299c39+1&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 16:27:56 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"299c39 1", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "299c39 1"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:161
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 200ms (Views: 196.2ms | ActiveRecord: 0.4ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:27:57 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 215ms (Views: 212.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:27:58 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 214ms (Views: 211.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 16:28:00 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.1ms)

Completed 200 OK in 180ms (Views: 178.3ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=299c391&commit=Search” for 127.0.0.1 at 2019-01-31 16:28:04 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"299c391", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 426]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 426]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (2.2ms)

Completed 200 OK in 218ms (Views: 202.0ms | ActiveRecord: 0.6ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 16:28:05 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 234ms (Views: 230.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:28:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 183ms (Views: 180.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 16:28:08 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:28:08 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 108ms (Views: 105.6ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-31 16:28:09 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (4.7ms)

Completed 200 OK in 147ms (Views: 145.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:28:10 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 146ms (Views: 144.4ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-31 16:30:09 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (3.6ms)

Completed 200 OK in 206ms (Views: 203.4ms | ActiveRecord: 0.0ms)

Started GET “/users/CreateUser?utf8=%E2%9C%93&username=shs&email=shs%40gmail.com&password=&confirm_password=&commit=SignUp” for 127.0.0.1 at 2019-01-31 16:30:36 +0530 Processing by UsersController#create_user as HTML

Parameters: {"utf8"=>"✓", "username"=>"shs", "email"=>"shs@gmail.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :confirm_password, :commit

 (0.1ms)  BEGIN
↳ app/models/user.rb:13
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "shs@gmail.com"], ["LIMIT", 1]]
↳ app/models/user.rb:13
User Create (0.9ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "shs"], ["email", "shs@gmail.com"], ["password", "e10adc3949ba59abbe56e057f20f883e"]]
↳ app/models/user.rb:13
 (0.7ms)  COMMIT
↳ app/models/user.rb:13

Redirected to localhost:3000/home_page/index Completed 302 Found in 29ms (ActiveRecord: 6.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:30:36 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 177ms (Views: 176.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:30:39 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 234ms (Views: 231.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:30:44 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (0.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
 (0.4ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:133
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:212
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 187ms (Views: 171.7ms | ActiveRecord: 2.4ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:30:51 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 207ms (Views: 204.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.cbuzz.com%2Fcricket-news%2F106382%2Fneesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:30:58 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.cbuzz.com/cricket-news/106382/neesham-astle-return-for-final-two-india-odis-indias-tour-of-new-zealand-2018-19", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (1.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "cbuzz"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (2.6ms)

Completed 200 OK in 180ms (Views: 175.6ms | ActiveRecord: 1.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:31:02 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 216ms (Views: 213.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 16:31:10 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.5ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (1.1ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
Url Create (2.7ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query"], ["domain", "tutorialspoint"]]
↳ app/controllers/urls_controller.rb:133
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:14
 (4.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:133
Report Exists (1.0ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Update (0.6ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 11], ["id", 10]]
↳ app/workers/url_worker.rb:14
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:14
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4edc2af"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.3ms)  BEGIN
↳ app/controllers/urls_controller.rb:142
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.tutorialspoint.com/elasticsearch/elasticsearch_query"], ["id", 427], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:142
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "4edc2af"], ["id", 427]]
↳ app/controllers/urls_controller.rb:142
 (1.2ms)  COMMIT
↳ app/controllers/urls_controller.rb:142
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 218ms (Views: 169.6ms | ActiveRecord: 12.4ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 16:31:19 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 207ms (Views: 201.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:31:23 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 207ms (Views: 205.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:31:27 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (2.7ms)

Completed 200 OK in 193ms (Views: 190.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=+ttr.com%2F4edc2af&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 16:31:34 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>" ttr.com/4edc2af", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4edc2af"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:161
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:169
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.0ms)

Completed 200 OK in 203ms (Views: 193.4ms | ActiveRecord: 1.2ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 16:31:37 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (3.3ms)

Completed 200 OK in 210ms (Views: 207.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:31:39 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 217ms (Views: 213.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 16:31:40 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (14.2ms)

Completed 200 OK in 208ms (Views: 203.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-09-01&commit=Search” for 127.0.0.1 at 2019-01-31 16:32:04 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-09-01", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.7ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-09-01"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (3.2ms)

Completed 200 OK in 207ms (Views: 197.8ms | ActiveRecord: 3.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:32:08 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 182ms (Views: 179.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 16:32:11 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:32:11 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 192ms (Views: 189.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:32:14 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 177ms (Views: 176.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 16:32:17 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 221ms (Views: 217.9ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 16:32:19 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 4ms (ActiveRecord: 0.9ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:32:19 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 203ms (Views: 201.7ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 16:33:49 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.8ms)

Completed 200 OK in 171ms (Views: 167.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:33:50 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 204ms (Views: 202.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 16:33:54 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:33:54 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 172ms (Views: 170.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 16:33:55 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 219ms (Views: 217.7ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 16:33:56 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (5.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 11ms (ActiveRecord: 5.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:33:56 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 183ms (Views: 182.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:35:33 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 182ms (Views: 179.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 16:39:48 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 16:39:48 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 164ms (Views: 162.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 16:39:58 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 192ms (Views: 190.4ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=mk.com/1c2b052” for 127.0.0.1 at 2019-01-31 16:40:02 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"mk.com/1c2b052"}
Url Load (1.3ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "1c2b052"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:161
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "makaan"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:169

Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 1.8ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfs” for 127.0.0.1 at 2019-01-31 16:40:05 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfs"}
DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfs"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:133
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfs"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:212

Completed 208 Already Reported in 10ms (Views: 0.3ms | ActiveRecord: 2.2ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfsk” for 127.0.0.1 at 2019-01-31 16:40:09 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfsk"}
DomainPrefix Load (1.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
Url Create (1.2ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["domain", "housing"]]
↳ app/controllers/urls_controller.rb:133
 (11.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:133
Url Load (6.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4da20ec"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (1.9ms)  BEGIN
↳ app/controllers/urls_controller.rb:142
Url Exists (3.2ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["id", 428], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:142
Url Update (0.5ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "4da20ec"], ["id", 428]]
↳ app/controllers/urls_controller.rb:142
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:142
Report Load (3.3ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (6.4ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (0.6ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14

Completed 202 Accepted in 86ms (Views: 0.3ms | ActiveRecord: 27.0ms)

Report Update (1.2ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 12], ["id", 10]]
↳ app/workers/url_worker.rb:14
 (1.4ms)  COMMIT
↳ app/workers/url_worker.rb:14

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 16:40:21 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4da20ec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:161
DomainPrefix Load (0.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:169

Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.7ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 16:40:24 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}

Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 16:40:37 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 16:40:44 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}

Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 17:19:44 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 212ms (Views: 210.3ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 17:19:45 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (2.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 11ms (ActiveRecord: 7.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 17:19:45 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 199ms (Views: 198.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 17:19:53 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 168ms (Views: 164.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 17:19:54 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 224ms (Views: 221.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 17:19:56 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (2.6ms)

Completed 200 OK in 169ms (Views: 165.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-01-31 17:20:06 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (1.4ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (11.2ms)

Completed 200 OK in 198ms (Views: 189.8ms | ActiveRecord: 5.9ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 17:20:08 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 189ms (Views: 186.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 17:20:09 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 173ms (Views: 170.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2Fsearch-P68ey6ve69mmlr5n2V1ijrm%3Flocality_info%3Dfalse&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 17:20:12 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/search-P68ey6ve69mmlr5n2V1ijrm?locality_info=false", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.8ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (1.1ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/search-P68ey6ve69mmlr5n2V1ijrm?locality_info=false"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
Url Create (0.5ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/search-P68ey6ve69mmlr5n2V1ijrm?locality_info=false"], ["domain", "housing"]]
↳ app/controllers/urls_controller.rb:133
 (4.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:133
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "796100c"], ["LIMIT", 1]]
Report Load (1.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
↳ app/workers/url_worker.rb:11
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:142
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/search-P68ey6ve69mmlr5n2V1ijrm?locality_info=false"], ["id", 429], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:142
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:14
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "796100c"], ["id", 429]]
↳ app/controllers/urls_controller.rb:142
Report Exists (0.4ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:142
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 13], ["id", 10]]
↳ app/workers/url_worker.rb:14
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:14
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 230ms (Views: 186.0ms | ActiveRecord: 13.7ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 17:20:13 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 176ms (Views: 174.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 17:20:14 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 193ms (Views: 190.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 17:20:16 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.9ms)

Completed 200 OK in 209ms (Views: 206.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-01-31 17:20:21 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.5ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (5.2ms)

Completed 200 OK in 183ms (Views: 180.6ms | ActiveRecord: 0.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 17:20:23 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.6ms)

Completed 200 OK in 197ms (Views: 195.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 17:20:26 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 203ms (Views: 199.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2Frent%2Fsearch-P68ey6ve69mmlr5n2V1ijrm%3Flocality_info%3Dtrue&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 17:20:32 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/rent/search-P68ey6ve69mmlr5n2V1ijrm?locality_info=true", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (1.8ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (0.9ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/rent/search-P68ey6ve69mmlr5n2V1ijrm?locality_info=true"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
Url Create (0.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/rent/search-P68ey6ve69mmlr5n2V1ijrm?locality_info=true"], ["domain", "housing"]]
↳ app/controllers/urls_controller.rb:133
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.4ms)  BEGIN
↳ app/workers/url_worker.rb:14
 (4.5ms)  COMMIT
↳ app/controllers/urls_controller.rb:133
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 14], ["id", 10]]
↳ app/workers/url_worker.rb:14
 (0.4ms)  COMMIT
↳ app/workers/url_worker.rb:14
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3b4b789"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:142
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/rent/search-P68ey6ve69mmlr5n2V1ijrm?locality_info=true"], ["id", 430], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:142
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "3b4b789"], ["id", 430]]
↳ app/controllers/urls_controller.rb:142
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:142
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.7ms)

Completed 200 OK in 214ms (Views: 176.0ms | ActiveRecord: 10.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 17:20:40 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 206ms (Views: 203.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 17:20:44 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 201ms (Views: 197.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=3b4b789&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 17:20:46 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"3b4b789", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (1.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "3b4b789"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:161
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:169
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 183ms (Views: 171.4ms | ActiveRecord: 2.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 17:20:49 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 200ms (Views: 197.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 17:20:50 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.7ms)

Completed 200 OK in 231ms (Views: 227.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 17:20:51 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 192ms (Views: 189.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 17:20:52 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (2.6ms)

Completed 200 OK in 203ms (Views: 200.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-01-31 17:20:57 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (1.2ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (5.4ms)

Completed 200 OK in 209ms (Views: 206.5ms | ActiveRecord: 1.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 17:20:58 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 191ms (Views: 188.4ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 17:21:07 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4da20ec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:161

Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.8ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-31 17:21:11 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 17:21:17 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}

Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_urlkjh=4da20ec” for 127.0.0.1 at 2019-01-31 17:21:21 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_urlkjh"=>"4da20ec"}

Unpermitted parameter: :short_urlkjh Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 17:21:25 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}

Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfsk” for 127.0.0.1 at 2019-01-31 17:21:29 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfsk"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:133
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:133
 (0.2ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:133
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:212

Completed 208 Already Reported in 10ms (Views: 0.2ms | ActiveRecord: 1.9ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 17:38:57 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:117:in `shorten_url' app/controllers/urls_controller.rb:38:in `api_post_shorten_url' Started GET “/short-url” for 127.0.0.1 at 2019-01-31 17:39:09 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 17:39:24 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `strip' for nil:NilClass):

app/controllers/urls_controller.rb:117:in `shorten_url' app/controllers/urls_controller.rb:38:in `api_post_shorten_url' Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 17:39:58 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 17:49:19 +0530

 (6.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UrlsController#api_post_shorten_url as / Completed 400 Bad Request in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 17:49:25 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-31 17:49:29 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-31 17:49:30 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-31 17:49:30 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-31 17:49:31 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 17:49:34 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}
Url Load (0.8ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4da20ec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:170

Completed 200 OK in 39ms (Views: 0.2ms | ActiveRecord: 11.7ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 17:49:36 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 17:49:36 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 17:49:37 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}

Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 17:49:41 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 17:49:42 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfsk” for 127.0.0.1 at 2019-01-31 17:49:45 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfsk"}
DomainPrefix Load (1.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.6ms)  BEGIN
↳ app/controllers/urls_controller.rb:134
Url Exists (0.9ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:134
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:134
Url Load (2.0ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:213

Completed 208 Already Reported in 17ms (Views: 0.2ms | ActiveRecord: 4.8ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfsk” for 127.0.0.1 at 2019-01-31 17:49:46 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfsk"}
DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:134
Url Exists (0.9ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:134
 (0.4ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:134

Completed 208 Already Reported in 8ms (Views: 0.3ms | ActiveRecord: 2.2ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfsk” for 127.0.0.1 at 2019-01-31 17:58:58 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfsk"}
DomainPrefix Load (1.2ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:134
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:134
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:134
Url Load (1.1ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:213

Completed 208 Already Reported in 29ms (Views: 0.9ms | ActiveRecord: 15.8ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 17:59:09 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}
Url Load (0.9ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4da20ec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162
DomainPrefix Load (3.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:170

Completed 200 OK in 16ms (Views: 0.2ms | ActiveRecord: 4.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 18:03:27 +0530 Processing by UsersController#logout as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.7ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 658ms (Views: 655.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 18:03:32 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 157ms (Views: 156.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 18:04:00 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.0ms)

Completed 200 OK in 210ms (Views: 208.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 18:04:11 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (22.9ms)

Completed 200 OK in 248ms (Views: 246.9ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 18:04:12 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 20ms (ActiveRecord: 5.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:04:12 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 204ms (Views: 202.5ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfsk” for 127.0.0.1 at 2019-01-31 18:04:19 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfsk"}
DomainPrefix Load (0.6ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.5ms)  BEGIN
↳ app/controllers/urls_controller.rb:134
Url Exists (0.9ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:134
 (0.8ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:134
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."long_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:213

Completed 208 Already Reported in 12ms (Views: 0.3ms | ActiveRecord: 3.2ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 18:04:22 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-31 18:04:26 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 18:04:30 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4da20ec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:170

Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 1.0ms)

Started POST “/shorten-url/?long_url=www.housing.comdfdsfsdfsk” for 127.0.0.1 at 2019-01-31 18:04:34 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.housing.comdfdsfsdfsk"}
DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.4ms)  BEGIN
↳ app/controllers/urls_controller.rb:134
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.housing.comdfdsfsdfsk"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:134
 (0.3ms)  ROLLBACK
↳ app/controllers/urls_controller.rb:134

Completed 208 Already Reported in 7ms (Views: 0.2ms | ActiveRecord: 1.5ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 18:04:39 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (5.1ms)

Completed 200 OK in 175ms (Views: 172.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-30&commit=Search” for 127.0.0.1 at 2019-01-31 18:04:48 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-30", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-30"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (6.4ms)

Completed 200 OK in 205ms (Views: 183.0ms | ActiveRecord: 3.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:04:50 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 173ms (Views: 169.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 18:05:20 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 204ms (Views: 203.0ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 18:05:21 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:05:21 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 197ms (Views: 195.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 18:05:26 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 199ms (Views: 197.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 18:06:35 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 176ms (Views: 174.4ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 18:06:37 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:06:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 162ms (Views: 161.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 18:06:39 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 182ms (Views: 178.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:06:58 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 189ms (Views: 186.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 18:07:00 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 170ms (Views: 168.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 18:07:01 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:07:01 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 194ms (Views: 193.3ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-01-31 18:07:05 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 177ms (Views: 176.2ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-01-31 18:07:06 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.6ms)

Completed 200 OK in 168ms (Views: 164.4ms | ActiveRecord: 0.0ms)

Started GET “/users/CreateUser?utf8=%E2%9C%93&username=Vipul&email=vipulkumar%40proptiger.com&password=&confirm_password=&commit=SignUp” for 127.0.0.1 at 2019-01-31 18:07:31 +0530 Processing by UsersController#create_user as HTML

Parameters: {"utf8"=>"✓", "username"=>"Vipul", "email"=>"vipulkumar@proptiger.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :confirm_password, :commit

 (0.5ms)  BEGIN
↳ app/models/user.rb:13
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "vipulkumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:13
User Create (0.6ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "Vipul"], ["email", "vipulkumar@proptiger.com"], ["password", "09cd426c5c8c1d706d88157c4f4061ff"]]
↳ app/models/user.rb:13
 (5.5ms)  COMMIT
↳ app/models/user.rb:13

Redirected to localhost:3000/home_page/index Completed 302 Found in 14ms (ActiveRecord: 7.9ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:07:31 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 185ms (Views: 184.2ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-01-31 18:07:43 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.9ms)

Completed 200 OK in 173ms (Views: 171.6ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=tinder&prefix=tin.com&commit=Create” for 127.0.0.1 at 2019-01-31 18:08:03 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"tinder", "prefix"=>"tin.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.2ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.6ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "tinder"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.4ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "tin.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Create (0.6ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "tinder"], ["prefix", "tin.com/"]]
↳ app/models/domain_prefix.rb:11
 (6.1ms)  COMMIT
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 15ms (ActiveRecord: 7.8ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:08:03 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 155ms (Views: 154.1ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 18:08:17 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 185ms (Views: 181.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tinder.com%2Fvipul_kumar&commit=Generate+Short+Url” for 127.0.0.1 at 2019-01-31 18:08:31 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tinder.com/vipul_kumar", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tinder"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (1.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:134
Url Exists (0.6ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tinder.com/vipul_kumar"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:134
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.tinder.com/vipul_kumar"], ["domain", "tinder"]]
↳ app/controllers/urls_controller.rb:134
 (5.9ms)  COMMIT
↳ app/controllers/urls_controller.rb:134
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a2087a5"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:143
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.tinder.com/vipul_kumar"], ["id", 431], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:143
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "a2087a5"], ["id", 431]]
↳ app/controllers/urls_controller.rb:143
 (4.7ms)  COMMIT
↳ app/controllers/urls_controller.rb:143
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)
Report Load (0.9ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (0.6ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 15], ["id", 10]]
↳ app/workers/url_worker.rb:14
 (0.3ms)  COMMIT
↳ app/workers/url_worker.rb:14

Completed 200 OK in 242ms (Views: 178.6ms | ActiveRecord: 14.5ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 18:08:45 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 171ms (Views: 168.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:08:46 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 190ms (Views: 187.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 18:08:47 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 194ms (Views: 192.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=tin.com%2Fa2087a5&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 18:08:50 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"tin.com/a2087a5", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "a2087a5"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tinder"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:170
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 172ms (Views: 164.8ms | ActiveRecord: 0.9ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 18:08:52 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 180ms (Views: 177.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=www.tin.com%2Fa2087a5&commit=Find+Long+Url” for 127.0.0.1 at 2019-01-31 18:09:10 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"www.tin.com/a2087a5", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.2ms)

Completed 200 OK in 183ms (Views: 180.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 18:09:16 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 171ms (Views: 167.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:09:17 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 200ms (Views: 197.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-01-31 18:09:20 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (2.5ms)

Completed 200 OK in 178ms (Views: 176.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-30&commit=Search” for 127.0.0.1 at 2019-01-31 18:09:29 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-30", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-30"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (2.9ms)

Completed 200 OK in 202ms (Views: 199.7ms | ActiveRecord: 0.4ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-20&commit=Search” for 127.0.0.1 at 2019-01-31 18:09:38 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-20", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (1.7ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-20"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (5.0ms)

Completed 200 OK in 182ms (Views: 178.9ms | ActiveRecord: 1.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:09:42 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 197ms (Views: 194.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 18:09:44 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.3ms)

Completed 200 OK in 179ms (Views: 177.0ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=tin&commit=Search” for 127.0.0.1 at 2019-01-31 18:09:50 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"tin", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2)  [["id", 431], ["id", 424]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2)  [["id", 431], ["id", 424]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 196ms (Views: 179.1ms | ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 18:09:54 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 197ms (Views: 194.9ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=a09&commit=Search” for 127.0.0.1 at 2019-01-31 18:10:05 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"a09", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:22

Redirected to localhost:3000/search Completed 302 Found in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 18:10:05 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 192ms (Views: 191.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:10:07 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 189ms (Views: 186.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 18:10:08 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 187ms (Views: 185.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:10:18 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 203ms (Views: 201.9ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 18:10:19 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 214ms (Views: 210.6ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=tin&commit=Search” for 127.0.0.1 at 2019-01-31 18:10:23 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"tin", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2)  [["id", 431], ["id", 424]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2)  [["id", 431], ["id", 424]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.4ms)

Completed 200 OK in 201ms (Views: 187.3ms | ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 18:10:26 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.8ms)

Completed 200 OK in 209ms (Views: 205.3ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=087&commit=Search” for 127.0.0.1 at 2019-01-31 18:10:30 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"087", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE 1=0
↳ app/controllers/elastic_search_controller.rb:22

Redirected to localhost:3000/search Completed 302 Found in 7ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 18:10:30 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 176ms (Views: 174.8ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=2087&commit=Search” for 127.0.0.1 at 2019-01-31 18:10:38 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"2087", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 431]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 431]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 205ms (Views: 193.4ms | ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-01-31 18:10:41 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 195ms (Views: 193.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:10:41 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 211ms (Views: 207.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 18:10:54 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:10:54 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 176ms (Views: 175.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-01-31 18:11:01 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.0ms)

Completed 200 OK in 179ms (Views: 177.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:11:02 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 199ms (Views: 196.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:11:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 191ms (Views: 189.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-01-31 18:11:07 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.5ms)

Completed 200 OK in 200ms (Views: 198.3ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-01-31 18:11:08 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:11:08 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 196ms (Views: 195.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-01-31 18:11:11 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:11:11 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 182ms (Views: 181.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 18:11:16 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.6ms)

Completed 200 OK in 195ms (Views: 192.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-01-31 18:11:18 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.1ms)

Completed 200 OK in 181ms (Views: 179.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-01-31 18:11:20 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 193ms (Views: 190.5ms | ActiveRecord: 0.0ms)

Started POST “/shorten-url/?long_url=www.tinder.com/rakesh_kuamr” for 127.0.0.1 at 2019-01-31 18:11:53 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://www.tinder.com/rakesh_kuamr"}
DomainPrefix Load (3.0ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tinder"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:134
Url Exists (2.7ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://www.tinder.com/rakesh_kuamr"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:134
Url Create (0.4ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://www.tinder.com/rakesh_kuamr"], ["domain", "tinder"]]
↳ app/controllers/urls_controller.rb:134
Report Load (0.5ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-01-31"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-01-31"], ["id", 10], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Update (0.4ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 16], ["id", 10]]
 (5.9ms)  COMMIT
↳ app/workers/url_worker.rb:14
↳ app/controllers/urls_controller.rb:134
 (10.7ms)  COMMIT
↳ app/workers/url_worker.rb:14
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "e3282c1"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:143
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://www.tinder.com/rakesh_kuamr"], ["id", 432], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:143
Url Update (0.3ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "e3282c1"], ["id", 432]]
↳ app/controllers/urls_controller.rb:143
 (0.4ms)  COMMIT
↳ app/controllers/urls_controller.rb:143

Completed 202 Accepted in 46ms (Views: 0.2ms | ActiveRecord: 13.8ms)

Started POST “/shorten-url/” for 127.0.0.1 at 2019-01-31 18:12:02 +0530 Processing by UrlsController#api_post_shorten_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 18:12:15 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4da20ec"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162
DomainPrefix Load (1.1ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:170

Completed 200 OK in 8ms (Views: 0.2ms | ActiveRecord: 1.7ms)

Started GET “/short-url?short_url=4da20e” for 127.0.0.1 at 2019-01-31 18:12:18 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20e"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "4da20e"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:162

Completed 404 Not Found in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started GET “/short-url?short_url=4da20ec” for 127.0.0.1 at 2019-01-31 18:12:33 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"4da20ec"}

Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)

Started GET “/short-url” for 127.0.0.1 at 2019-01-31 18:12:37 +0530 Processing by UrlsController#api_get_short_url as / Completed 400 Bad Request in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.3ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (8127.7ms)  DROP DATABASE IF EXISTS "url_shortner_dev"
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.3ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (185.4ms)  DROP DATABASE IF EXISTS "url_shortner_dev"
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (187.2ms)  DROP DATABASE IF EXISTS "url_shortner_test"
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (443.8ms)  CREATE DATABASE "url_shortner_dev" ENCODING = 'unicode'
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (396.9ms)  CREATE DATABASE "url_shortner_test" ENCODING = 'unicode'
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (6.7ms)  CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (1.9ms)  CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to CreateUrls (20190120052023)

 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (29.9ms)  CREATE TABLE "urls" ("id" bigserial primary key, "long_url" character varying, "short_url" character varying, "domain" character varying)
↳ db/migrate/20190120052023_create_urls.rb:3
ActiveRecord::SchemaMigration Create (2.1ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190120052023"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.4ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to DroptableUser (20190121061550)

 (5.9ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (8.3ms)  DROP TABLE "users"
↳ db/migrate/20190121061550_droptable_user.rb:3
 (0.2ms)  ROLLBACK
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT pg_try_advisory_lock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to CreateUser (20190121061755)

 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (33.2ms)  CREATE TABLE "users" ("id" bigserial primary key, "username" character varying, "email" character varying, "password" character varying)
↳ db/migrate/20190121061755_create_user.rb:3
ActiveRecord::SchemaMigration Create (0.4ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190121061755"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to CreateReports (20190121113628)

 (5.6ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (14.6ms)  CREATE TABLE "reports" ("id" bigserial primary key, "date" character varying, "no_of_urls" integer)
↳ db/migrate/20190121113628_create_reports.rb:3
ActiveRecord::SchemaMigration Create (0.3ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190121113628"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (2.8ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to CreateDomainPrefixes (20190123083626)

 (11.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (15.7ms)  CREATE TABLE "domain_prefixes" ("id" bigserial primary key, "domain" character varying, "prefix" character varying)
↳ db/migrate/20190123083626_create_domain_prefixes.rb:3
ActiveRecord::SchemaMigration Create (0.3ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190123083626"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.4ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to AddIndexToUser (20190131064452)

 (6.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (19.2ms)  CREATE  INDEX  "index_users_on_email" ON "users"  ("email")
↳ db/migrate/20190131064452_add_index_to_user.rb:3
ActiveRecord::SchemaMigration Create (0.2ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190131064452"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.3ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to AddIndexToUrl (20190131064458)

 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (6.5ms)  CREATE  INDEX  "index_urls_on_long_url" ON "urls"  ("long_url")
↳ db/migrate/20190131064458_add_index_to_url.rb:3
 (12.1ms)  CREATE  INDEX  "index_urls_on_short_url" ON "urls"  ("short_url")
↳ db/migrate/20190131064458_add_index_to_url.rb:4
ActiveRecord::SchemaMigration Create (0.3ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190131064458"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (4.5ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Migrating to AddIndexToDomain (20190131064503)

 (0.2ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (14.2ms)  CREATE  INDEX  "index_domain_prefixes_on_domain" ON "domain_prefixes"  ("domain")
↳ db/migrate/20190131064503_add_index_to_domain.rb:3
ActiveRecord::SchemaMigration Create (0.2ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20190131064503"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (6.2ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Load (2.0ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.1ms)  BEGIN
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
ActiveRecord::InternalMetadata Create (1.0ms)  INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"  [["key", "environment"], ["value", "development"], ["created_at", "2019-01-31 14:51:08.445470"], ["updated_at", "2019-01-31 14:51:08.445470"]]
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (3.3ms)  COMMIT
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.5ms)  SELECT pg_advisory_unlock(4308922051727420715)
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/rake-12.3.2/lib/rake/task.rb:273

Started GET “/” for 127.0.0.1 at 2019-02-01 07:37:59 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 600ms (Views: 595.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:38:01 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (40.1ms)

Completed 200 OK in 205ms (Views: 202.6ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 07:38:02 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (24.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 40ms (ActiveRecord: 29.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:38:02 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 154ms (Views: 153.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:38:05 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.9ms)

Completed 200 OK in 146ms (Views: 142.1ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 07:38:07 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 5ms (ActiveRecord: 2.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:38:07 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 115ms (Views: 114.1ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-02-01 07:38:09 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.8ms)

Completed 200 OK in 148ms (Views: 145.9ms | ActiveRecord: 0.0ms)

Started GET “/users/CreateUser?utf8=%E2%9C%93&username=vipul&email=vipul.kumar%40proptiger.com&password=&confirm_password=&commit=SignUp” for 127.0.0.1 at 2019-02-01 07:38:20 +0530 Processing by UsersController#create_user as HTML

Parameters: {"utf8"=>"✓", "username"=>"vipul", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "confirm_password"=>"[FILTERED]", "commit"=>"SignUp"}

Unpermitted parameters: :utf8, :confirm_password, :commit

 (0.1ms)  BEGIN
↳ app/models/user.rb:13
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:13
User Create (5.7ms)  INSERT INTO "users" ("username", "email", "password") VALUES ($1, $2, $3) RETURNING "id"  [["username", "vipul"], ["email", "vipul.kumar@proptiger.com"], ["password", "09cd426c5c8c1d706d88157c4f4061ff"]]
↳ app/models/user.rb:13
 (0.9ms)  COMMIT
↳ app/models/user.rb:13

Redirected to localhost:3000/home_page/index Completed 302 Found in 14ms (ActiveRecord: 7.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:38:20 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 112ms (Views: 111.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 07:38:23 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:38:23 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 127ms (Views: 125.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 07:38:26 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.8ms)

Completed 200 OK in 114ms (Views: 112.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:38:28 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 147ms (Views: 144.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:42:32 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.4ms)

Completed 200 OK in 399ms (Views: 394.2ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul&password=&commit=Login” for 127.0.0.1 at 2019-02-01 07:42:33 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 37ms (ActiveRecord: 5.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:42:33 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 167ms (Views: 166.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:42:34 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.2ms)

Completed 200 OK in 159ms (Views: 157.4ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 07:42:37 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 8ms (ActiveRecord: 0.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:42:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 134ms (Views: 132.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 07:42:38 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:42:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.5ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 116ms (Views: 114.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 07:42:41 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 152ms (Views: 151.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:42:43 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 125ms (Views: 124.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:42:44 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 145ms (Views: 144.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:42:45 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.7ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 131ms (Views: 130.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:42:45 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:42:45 +0530 Filter chain halted as :check_session rendered or redirected Completed 200 OK in 177ms (Views: 176.2ms | ActiveRecord: 0.0ms)

Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 116ms (Views: 114.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:43:30 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 108ms (Views: 107.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:43:50 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 129ms (Views: 127.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:45:56 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 110ms (Views: 109.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:45:57 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 143ms (Views: 142.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:45:59 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 123ms (Views: 122.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 07:46:07 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 152ms (Views: 150.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:46:16 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 200 OK in 115ms (Views: 114.1ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 07:46:17 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 21ms (ActiveRecord: 9.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:46:17 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 140ms (Views: 138.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 07:46:20 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:46:20 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 115ms (Views: 112.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 07:46:21 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.6ms)

Completed 200 OK in 143ms (Views: 141.9ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 07:46:22 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 5ms (ActiveRecord: 0.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:46:22 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 116ms (Views: 115.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 07:46:24 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:46:24 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 133ms (Views: 131.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 07:46:28 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 113ms (Views: 112.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:51:54 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 101ms (Views: 99.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 07:51:57 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 154ms (Views: 152.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 07:52:06 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.4ms)

Completed 200 OK in 129ms (Views: 127.1ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=vip&commit=Search” for 127.0.0.1 at 2019-02-01 07:52:09 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"vip", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (2.1ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9)  [["id", 406], ["id", 405], ["id", 404], ["id", 403], ["id", 402], ["id", 413], ["id", 409], ["id", 410], ["id", 431]]
↳ app/controllers/elastic_search_controller.rb:22

Redirected to localhost:3000/search Completed 302 Found in 486ms (ActiveRecord: 8.2ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 07:52:10 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.1ms)

Completed 200 OK in 129ms (Views: 127.8ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=cric&commit=Search” for 127.0.0.1 at 2019-02-01 07:52:15 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"cric", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5)  [["id", 417], ["id", 408], ["id", 426], ["id", 424], ["id", 420]]
↳ app/controllers/elastic_search_controller.rb:22

Redirected to localhost:3000/search Completed 302 Found in 54ms (ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 07:52:15 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.0ms)

Completed 200 OK in 108ms (Views: 107.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 07:52:17 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 146ms (Views: 144.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 08:06:05 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 440ms (Views: 435.5ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 08:06:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 172ms (Views: 171.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 08:06:11 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 109ms (Views: 107.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 08:06:12 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 123ms (Views: 121.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 08:06:12 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 113ms (Views: 112.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 08:06:13 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 109ms (Views: 108.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 08:06:14 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 108ms (Views: 107.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 08:07:43 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 146ms (Views: 145.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 08:07:44 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.7ms)

Completed 200 OK in 117ms (Views: 115.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 08:07:48 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 133ms (Views: 131.9ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-02-01 08:07:48 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.3ms)

Completed 200 OK in 112ms (Views: 110.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 08:07:51 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 136ms (Views: 134.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 08:08:11 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 208ms (Views: 207.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 08:08:12 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.7ms)

Completed 200 OK in 146ms (Views: 144.6ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 08:08:13 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 116ms (Views: 115.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 08:08:14 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.9ms)

Completed 200 OK in 141ms (Views: 139.3ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 08:08:15 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 117ms (Views: 116.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 08:09:19 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 126ms (Views: 124.9ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 08:09:20 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 121ms (Views: 119.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 08:15:29 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 500 Internal Server Error in 183ms (Views: 182.4ms | ActiveRecord: 0.0ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/application_controller.rb:20:in `check_logged_in' Started GET “/” for 127.0.0.1 at 2019-02-01 08:17:03 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 500 Internal Server Error in 134ms (Views: 132.7ms | ActiveRecord: 0.0ms)

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like “redirect_to(…) and return”.):

app/controllers/application_controller.rb:20:in `check_logged_in' Started GET “/” for 127.0.0.1 at 2019-02-01 10:19:01 +0530

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 543ms (Views: 537.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:19:03 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (31.6ms)

Completed 200 OK in 189ms (Views: 187.4ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:19:04 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 19ms (ActiveRecord: 7.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:04 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 151ms (Views: 149.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:19:06 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 128ms (Views: 125.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-02-01 10:19:09 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (2.9ms)

Completed 200 OK in 116ms (Views: 112.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:10 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 264ms (Views: 262.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:19:17 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.6ms)

Completed 200 OK in 164ms (Views: 162.9ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:19:18 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:18 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 202ms (Views: 200.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 10:19:20 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.5ms)

Completed 200 OK in 172ms (Views: 169.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:21 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 213ms (Views: 210.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 10:19:23 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 184ms (Views: 181.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:24 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.5ms)

Completed 200 OK in 197ms (Views: 195.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-02-01 10:19:26 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.4ms)

Completed 200 OK in 115ms (Views: 113.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:27 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.1ms)

Completed 200 OK in 157ms (Views: 155.4ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:19:28 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:28 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 112ms (Views: 111.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-02-01 10:19:31 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.9ms)

Completed 200 OK in 143ms (Views: 141.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:32 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 219ms (Views: 218.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:19:34 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 196ms (Views: 194.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:35 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 176ms (Views: 174.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:19:36 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.5ms)

Completed 200 OK in 208ms (Views: 207.0ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:19:37 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 175ms (Views: 172.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 10:19:39 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 194ms (Views: 192.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=&commit=Generate+Short+Url” for 127.0.0.1 at 2019-02-01 10:19:40 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"", "commit"=>"Generate Short Url"}

Redirected to localhost:3000/urls/long_url_to_short_url Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 10:19:40 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.9ms)

Completed 200 OK in 190ms (Views: 188.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Generate+Short+Url” for 127.0.0.1 at 2019-02-01 10:19:43 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (8.3ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.8ms)

Completed 200 OK in 214ms (Views: 187.7ms | ActiveRecord: 10.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:48 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 167ms (Views: 164.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:19:49 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:49 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 200ms (Views: 198.4ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-02-01 10:19:52 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.4ms)

Completed 200 OK in 170ms (Views: 167.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:52 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 189ms (Views: 188.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:19:54 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.5ms)

Completed 200 OK in 182ms (Views: 179.8ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:19:55 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:55 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 189ms (Views: 187.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:19:57 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:19:57 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 169ms (Views: 167.6ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-02-01 10:20:00 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (3.4ms)

Completed 200 OK in 139ms (Views: 137.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:20:01 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (3.0ms)

Completed 200 OK in 146ms (Views: 144.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:20:02 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 113ms (Views: 111.5ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:20:03 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:20:03 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 135ms (Views: 134.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-02-01 10:20:06 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.9ms)

Completed 200 OK in 216ms (Views: 213.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=3021-01-21&commit=Search” for 127.0.0.1 at 2019-02-01 10:20:12 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"3021-01-21", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (2.2ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "3021-01-21"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (5.2ms)

Completed 200 OK in 191ms (Views: 181.3ms | ActiveRecord: 3.9ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:20:16 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 180ms (Views: 178.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-02-01 10:20:19 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.2ms)

Completed 200 OK in 199ms (Views: 196.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:20:20 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 176ms (Views: 174.1ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:20:21 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:20:21 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 153ms (Views: 151.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-02-01 10:20:23 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (1.6ms)

Completed 200 OK in 122ms (Views: 119.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-02-01 10:20:32 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.3ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (2.2ms)

Completed 200 OK in 198ms (Views: 196.4ms | ActiveRecord: 0.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:20:34 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 213ms (Views: 211.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:00 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:01 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:06 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:16 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:26 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 24ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:50 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:24:55 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 26ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:05 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:25:55 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

SyntaxError (/Users/vipul/Intern/Url_Shortner/app/controllers/application_controller.rb:26: syntax error, unexpected end-of-input, expecting end):

app/controllers/application_controller.rb:26: syntax error, unexpected end-of-input, expecting end app/controllers/home_page_controller.rb:1:in `<main>' Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 13ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:26:53 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:27:14 +0530

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 25ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:36 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:27:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:02 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:09 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:14 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:15 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 0ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:27 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:54 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 501ms (Views: 499.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:29:56 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (5.1ms)

Completed 200 OK in 123ms (Views: 120.4ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:29:57 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 15ms (ActiveRecord: 6.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:29:57 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 139ms (Views: 138.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:30:00 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 115ms (Views: 113.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-02-01 10:30:02 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 141ms (Views: 137.6ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:30:03 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 218ms (Views: 216.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 10:30:06 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.7ms)

Completed 200 OK in 217ms (Views: 214.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:30:07 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 225ms (Views: 221.8ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:30:08 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:30:08 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 170ms (Views: 168.1ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-02-01 10:30:17 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.9ms)

Completed 200 OK in 191ms (Views: 188.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:30:30 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 174ms (Views: 172.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:31:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 182ms (Views: 181.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:31:39 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 178ms (Views: 176.5ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:31:40 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:31:40 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 197ms (Views: 196.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:32:10 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.0ms)

Completed 200 OK in 155ms (Views: 153.8ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:32:11 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:32:11 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 185ms (Views: 183.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:33:14 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.0ms)

Completed 200 OK in 158ms (Views: 157.6ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:33:15 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 13ms (ActiveRecord: 3.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:33:15 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 163ms (Views: 161.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:33:20 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:33:20 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 163ms (Views: 161.3ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-02-01 10:33:22 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (1.5ms)

Completed 200 OK in 189ms (Views: 187.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:33:41 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 177ms (Views: 175.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:33:42 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.5ms)

Completed 200 OK in 179ms (Views: 177.5ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:33:44 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/home_page/index Filter chain halted as :check_logged_in rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:33:44 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 188ms (Views: 186.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:43:35 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 516ms (Views: 510.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:43:37 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (35.2ms)

Completed 200 OK in 196ms (Views: 194.3ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:43:38 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 19ms (ActiveRecord: 4.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.3ms)

Completed 200 OK in 151ms (Views: 148.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:41 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:46 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:43:47 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:44:58 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:44:58 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:45:56 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:45:56 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:46:33 +0530

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 511ms (Views: 506.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:46:45 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (24.0ms)

Completed 200 OK in 220ms (Views: 218.8ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:46:46 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 27ms (ActiveRecord: 7.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:46 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 228ms (Views: 225.2ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 22ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:46:48 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:47:46 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 518ms (Views: 512.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:47:48 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (32.3ms)

Completed 200 OK in 192ms (Views: 190.1ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:47:49 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:47:49 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 153ms (Views: 150.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:48:21 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.1ms)

Completed 200 OK in 155ms (Views: 154.1ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:48:22 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:22 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 207ms (Views: 205.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:48:33 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.3ms)

Completed 200 OK in 166ms (Views: 164.6ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:34 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:48:35 +0530 Processing by HomePageController#index as HTML Redirected to localhost:3000/home_page/index Filter chain halted as :check_session rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:48:59 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 505ms (Views: 499.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:49:01 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (38.0ms)

Completed 200 OK in 203ms (Views: 200.8ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:49:02 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 18ms (ActiveRecord: 6.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:49:02 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 151ms (Views: 149.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 10:49:03 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.6ms)

Completed 200 OK in 136ms (Views: 135.0ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:49:04 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 113ms (Views: 111.0ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 10:49:05 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (3.4ms)

Completed 200 OK in 145ms (Views: 143.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:49:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.9ms)

Completed 200 OK in 145ms (Views: 143.3ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:49:07 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:49:07 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 130ms (Views: 128.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-02-01 10:49:17 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (2.0ms)

Completed 200 OK in 175ms (Views: 173.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-02-01 10:49:24 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.6ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (3.1ms)

Completed 200 OK in 190ms (Views: 182.4ms | ActiveRecord: 3.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:49:28 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 172ms (Views: 170.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:49:29 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.4ms)

Completed 200 OK in 207ms (Views: 205.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:49:31 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 185ms (Views: 183.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:50:46 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (0.9ms)

Completed 200 OK in 177ms (Views: 176.5ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:50:47 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 15ms (ActiveRecord: 5.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:50:47 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 182ms (Views: 180.9ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:50:51 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 187ms (Views: 185.3ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:50:52 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:50:52 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 181ms (Views: 179.9ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 10:50:54 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (2.3ms)

Completed 200 OK in 202ms (Views: 199.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:50:56 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 184ms (Views: 182.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:52:26 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (0.9ms)

Completed 200 OK in 157ms (Views: 155.6ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:52:26 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 15ms (ActiveRecord: 5.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:52:26 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 192ms (Views: 191.3ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:52:28 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:52:28 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 171ms (Views: 169.0ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-02-01 10:52:30 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 218ms (Views: 217.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:52:32 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.3ms)

Completed 200 OK in 169ms (Views: 167.1ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:52:33 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 204ms (Views: 203.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:52:34 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.6ms)

Completed 200 OK in 182ms (Views: 179.5ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:52:35 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 187ms (Views: 185.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:52:36 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 200 OK in 123ms (Views: 120.8ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:52:37 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 136ms (Views: 135.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:53:24 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 196ms (Views: 195.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:53:25 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.8ms)

Completed 200 OK in 215ms (Views: 212.3ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:53:26 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 194ms (Views: 193.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:54:35 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 182ms (Views: 180.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:54:57 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 239ms (Views: 237.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:55:00 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.0ms)

Completed 200 OK in 178ms (Views: 176.6ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:55:01 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 13ms (ActiveRecord: 4.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:55:01 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 180ms (Views: 179.5ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 10:56:06 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 10:56:06 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 180ms (Views: 179.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:56:07 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.0ms)

Completed 200 OK in 185ms (Views: 184.1ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:56:08 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 200ms (Views: 198.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:56:10 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.6ms)

Completed 200 OK in 172ms (Views: 169.4ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:56:14 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 193ms (Views: 192.4ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 10:56:41 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 203ms (Views: 201.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 10:56:42 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.4ms)

Completed 200 OK in 187ms (Views: 185.2ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 10:56:43 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Filter chain halted as :check_session rendered or redirected Completed 200 OK in 223ms (Views: 222.5ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 11:00:02 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 512ms (Views: 506.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:00:03 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:00:03 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 125ms (Views: 123.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:00:05 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:00:05 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.6ms)

Completed 200 OK in 110ms (Views: 109.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:00:57 +0530

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 582ms (Views: 576.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:01:10 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 186ms (Views: 184.7ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:01:14 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 169ms (Views: 167.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:01:15 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 188ms (Views: 187.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:01:16 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 181ms (Views: 178.9ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 11:01:37 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 523ms (Views: 517.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:01:39 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:01:39 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 144ms (Views: 143.8ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:02:20 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:02:20 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.1ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 519ms (Views: 518.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:03:07 +0530

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:03:07 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (25.9ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 515ms (Views: 514.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:03:42 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:03:42 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 203ms (Views: 201.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:04:17 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (4.1ms)

Completed 200 OK in 148ms (Views: 146.5ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 11:04:23 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 189ms (Views: 187.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 11:05:25 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 208ms (Views: 207.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:05:38 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.2ms)

Completed 200 OK in 207ms (Views: 205.9ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 11:05:44 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}
Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 159ms (Views: 158.1ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 11:07:22 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 531ms (Views: 524.9ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:27:22 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

TypeError (no implicit conversion of Symbol into Integer):

app/controllers/users_controller.rb:2:in `[]' app/controllers/users_controller.rb:2:in `<class:UsersController>' app/controllers/users_controller.rb:1:in `<main>' Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:27:41 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:27:41 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 527ms (Views: 525.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:27:43 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:27:43 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 122ms (Views: 119.2ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:27:52 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:27:52 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 157ms (Views: 155.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:28:39 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:28:39 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 176ms (Views: 175.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:28:40 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:28:40 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 175ms (Views: 174.3ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:30:08 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:30:08 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 148ms (Views: 147.5ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:30:11 +0530 Processing by UsersController#login as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:30:11 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 150ms (Views: 148.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:30:30 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.5ms)

Completed 200 OK in 164ms (Views: 163.3ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 11:30:32 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 15ms (ActiveRecord: 5.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:30:32 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 195ms (Views: 193.5ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 11:30:35 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:30:35 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 156ms (Views: 155.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 11:30:39 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (0.9ms)

Completed 200 OK in 173ms (Views: 169.3ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:32:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 144ms (Views: 143.0ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:32:37 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.5ms)

Completed 200 OK in 188ms (Views: 186.7ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 11:32:38 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 14ms (ActiveRecord: 4.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:32:38 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Completed 200 OK in 161ms (Views: 160.4ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 11:32:39 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.3ms)

Completed 200 OK in 173ms (Views: 170.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fwww.tutorialspoint.com%2Felasticsearch%2Felasticsearch_query_dsl.htm&commit=Generate+Short+Url” for 127.0.0.1 at 2019-02-01 11:32:42 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://www.tutorialspoint.com/elasticsearch/elasticsearch_query_dsl.htm", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.7ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "tutorialspoint"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 116ms (Views: 106.4ms | ActiveRecord: 4.3ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 11:32:43 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.1ms)

Completed 200 OK in 138ms (Views: 135.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:32:44 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 114ms (Views: 112.9ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-02-01 11:32:45 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering domain_prefix/domain_form.html.erb within layouts/application
Rendered domain_prefix/domain_form.html.erb within layouts/application (2.4ms)

Completed 200 OK in 140ms (Views: 137.4ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/create_domain?utf8=%E2%9C%93&domain=housing&prefix=hsng.com&commit=Create” for 127.0.0.1 at 2019-02-01 11:32:53 +0530 Processing by DomainPrefixController#create_domain as HTML

Parameters: {"utf8"=>"✓", "domain"=>"housing", "prefix"=>"hsng.com", "commit"=>"Create"}

Unpermitted parameters: :utf8, :commit

 (0.1ms)  BEGIN
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Exists (0.3ms)  SELECT  1 AS one FROM "domain_prefixes" WHERE "domain_prefixes"."prefix" = $1 LIMIT $2  [["prefix", "hsng.com/"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:11
DomainPrefix Create (1.2ms)  INSERT INTO "domain_prefixes" ("domain", "prefix") VALUES ($1, $2) RETURNING "id"  [["domain", "housing"], ["prefix", "hsng.com/"]]
↳ app/models/domain_prefix.rb:11
 (9.4ms)  COMMIT
↳ app/models/domain_prefix.rb:11

Redirected to localhost:3000/home_page/index Completed 302 Found in 20ms (ActiveRecord: 11.3ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:32:53 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 163ms (Views: 162.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 11:32:55 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.4ms)

Completed 200 OK in 202ms (Views: 199.5ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShorten?utf8=%E2%9C%93&long_url=https%3A%2F%2Fhousing.com%2F&commit=Generate+Short+Url” for 127.0.0.1 at 2019-02-01 11:33:03 +0530 Processing by UrlsController#convert_long_url_to_short_url as HTML

Parameters: {"utf8"=>"✓", "long_url"=>"https://housing.com/", "commit"=>"Generate Short Url"}

Unpermitted parameters: :utf8, :commit

DomainPrefix Load (0.5ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:135
Url Exists (2.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:135
Url Create (6.6ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/"], ["domain", "housing"]]
↳ app/controllers/urls_controller.rb:135
 (6.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:135
Url Load (0.4ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6a88a92"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.1ms)  BEGIN
↳ app/controllers/urls_controller.rb:144
Url Exists (0.4ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/"], ["id", 1], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:144
Url Update (0.4ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "6a88a92"], ["id", 1]]
↳ app/controllers/urls_controller.rb:144
 (0.3ms)  COMMIT
↳ app/controllers/urls_controller.rb:144
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (1.1ms)

Completed 200 OK in 942ms (Views: 224.8ms | ActiveRecord: 23.5ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 11:33:06 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering urls/long_url_to_short_url.html.erb within layouts/application
Rendered urls/long_url_to_short_url.html.erb within layouts/application (1.7ms)

Completed 200 OK in 185ms (Views: 183.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:33:07 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 228ms (Views: 226.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 11:33:09 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.6ms)

Completed 200 OK in 164ms (Views: 162.3ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=hous&commit=Search” for 127.0.0.1 at 2019-02-01 11:33:15 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"hous", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 421], ["id", 1], ["id", 418], ["id", 381], ["id", 419], ["id", 428], ["id", 388], ["id", 400], ["id", 401], ["id", 384]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 421], ["id", 1], ["id", 418], ["id", 381], ["id", 419], ["id", 428], ["id", 388], ["id", 400], ["id", 401], ["id", 384]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.6ms)

Completed 200 OK in 253ms (Views: 182.6ms | ActiveRecord: 0.4ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 11:33:18 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (1.9ms)

Completed 200 OK in 174ms (Views: 170.9ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=short_url&query=6a88a92&commit=Search” for 127.0.0.1 at 2019-02-01 11:33:22 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"short_url", "query"=>"6a88a92", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.3ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 1]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" = $1  [["id", 1]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.3ms)

Completed 200 OK in 419ms (Views: 179.4ms | ActiveRecord: 0.3ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 11:33:28 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.0ms)

Completed 200 OK in 177ms (Views: 175.8ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:33:29 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 202ms (Views: 200.2ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-02-01 11:33:30 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.8ms)

Completed 200 OK in 222ms (Views: 219.3ms | ActiveRecord: 0.0ms)

Started GET “/urls/ShowShort?utf8=%E2%9C%93&short_url=6a88a92&commit=Find+Long+Url” for 127.0.0.1 at 2019-02-01 11:33:33 +0530 Processing by UrlsController#retrieve_short_url_to_long_url as HTML

Parameters: {"utf8"=>"✓", "short_url"=>"6a88a92", "commit"=>"Find Long Url"}

Unpermitted parameters: :utf8, :commit

Url Load (0.7ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "6a88a92"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:163
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:171
Rendering urls/show.html.erb within layouts/application
Rendered urls/show.html.erb within layouts/application (0.6ms)

Completed 200 OK in 185ms (Views: 172.2ms | ActiveRecord: 1.1ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-02-01 11:33:34 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering urls/short_url_to_long_url.html.erb within layouts/application
Rendered urls/short_url_to_long_url.html.erb within layouts/application (1.9ms)

Completed 200 OK in 212ms (Views: 208.5ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:33:35 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.3ms)

Completed 200 OK in 194ms (Views: 192.1ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 11:33:36 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 214ms (Views: 211.7ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:33:37 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 205ms (Views: 202.2ms | ActiveRecord: 0.0ms)

Started GET “/home_page/generate_report” for 127.0.0.1 at 2019-02-01 11:33:38 +0530 Processing by HomePageController#generate_report as HTML

Rendering home_page/generate_report.html.erb within layouts/application
Rendered home_page/generate_report.html.erb within layouts/application (3.6ms)

Completed 200 OK in 140ms (Views: 138.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-01-31&commit=Search” for 127.0.0.1 at 2019-02-01 11:33:44 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-01-31", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.3ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-01-31"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (1.8ms)

Completed 200 OK in 143ms (Views: 126.1ms | ActiveRecord: 1.7ms)

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-02-01&commit=Search” for 127.0.0.1 at 2019-02-01 11:33:54 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-02-01", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.4ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-02-01"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (3.2ms)

Completed 200 OK in 179ms (Views: 176.2ms | ActiveRecord: 0.4ms)

Report Load (0.7ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-02-01"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
 (0.1ms)  BEGIN
↳ app/workers/url_worker.rb:16
Report Exists (0.3ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 LIMIT $2  [["date", "2019-02-01"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:16
Report Create (0.6ms)  INSERT INTO "reports" ("date", "no_of_urls") VALUES ($1, $2) RETURNING "id"  [["date", "2019-02-01"], ["no_of_urls", 1]]
↳ app/workers/url_worker.rb:16
 (11.4ms)  COMMIT
↳ app/workers/url_worker.rb:16

Started GET “/home_page/Report?utf8=%E2%9C%93&date=2019-02-01&commit=Search” for 127.0.0.1 at 2019-02-01 11:34:18 +0530 Processing by HomePageController#generate_report as HTML

Parameters: {"utf8"=>"✓", "date"=>"2019-02-01", "commit"=>"Search"}
Rendering home_page/generate_report.html.erb within layouts/application
Report Load (0.8ms)  SELECT "reports".* FROM "reports" WHERE "reports"."date" = $1  [["date", "2019-02-01"]]
↳ app/views/home_page/generate_report.html.erb:15
Rendered home_page/generate_report.html.erb within layouts/application (11.0ms)

Completed 200 OK in 178ms (Views: 172.5ms | ActiveRecord: 2.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:34:20 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 196ms (Views: 193.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 11:34:21 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:34:21 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 188ms (Views: 186.6ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_url_to_short_url” for 127.0.0.1 at 2019-02-01 11:34:24 +0530 Processing by UrlsController#long_url_to_short_url as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Filter chain halted as :check_logged_in rendered or redirected Completed 200 OK in 178ms (Views: 177.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:34:25 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.6ms)

Completed 200 OK in 200ms (Views: 198.4ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 11:34:27 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 6ms (ActiveRecord: 1.4ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:34:27 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 204ms (Views: 201.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 11:34:28 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:34:28 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Completed 200 OK in 202ms (Views: 199.6ms | ActiveRecord: 0.0ms)

Started GET “/domain_prefix/domain_form” for 127.0.0.1 at 2019-02-01 11:34:30 +0530 Processing by DomainPrefixController#domain_form as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Filter chain halted as :check_logged_in rendered or redirected Completed 200 OK in 207ms (Views: 206.0ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-02-01 11:34:32 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.9ms)

Filter chain halted as :check_logged_in rendered or redirected Completed 200 OK in 196ms (Views: 194.8ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 11:34:35 +0530 Processing by ElasticSearchController#search as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.4ms)

Filter chain halted as :check_logged_in rendered or redirected Completed 200 OK in 217ms (Views: 215.8ms | ActiveRecord: 0.0ms)

Started GET “/urls/short_url_to_long_url” for 127.0.0.1 at 2019-02-01 11:34:37 +0530 Processing by UrlsController#short_url_to_long_url as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Filter chain halted as :check_logged_in rendered or redirected Completed 200 OK in 216ms (Views: 214.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 11:34:39 +0530 Processing by ElasticSearchController#search as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Filter chain halted as :check_logged_in rendered or redirected Completed 200 OK in 216ms (Views: 214.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 11:34:41 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:34:41 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Completed 200 OK in 200ms (Views: 197.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:34:42 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (3.4ms)

Completed 200 OK in 217ms (Views: 213.9ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 11:34:43 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 4ms (ActiveRecord: 0.6ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:34:43 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 185ms (Views: 183.7ms | ActiveRecord: 0.0ms)

Started GET “/urls/long_to_short” for 127.0.0.1 at 2019-02-01 11:34:50 +0530

ActionController::RoutingError (No route matches [GET] “/urls/long_to_short”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:34:51 +0530 Processing by UsersController#login as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (2.0ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 263ms (Views: 262.1ms | ActiveRecord: 0.0ms)

Started GET “/users/sign_up” for 127.0.0.1 at 2019-02-01 11:34:58 +0530

ActionController::RoutingError (No route matches [GET] “/users/sign_up”):

actionpack (5.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call' web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' railties (5.2.2) lib/rails/rack/logger.rb:38:in `call_app' railties (5.2.2) lib/rails/rack/logger.rb:26:in `block in call' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `block in tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:28:in `tagged' activesupport (5.2.2) lib/active_support/tagged_logging.rb:71:in `tagged' railties (5.2.2) lib/rails/rack/logger.rb:26:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/request_id.rb:27:in `call' rack (2.0.6) lib/rack/method_override.rb:22:in `call' rack (2.0.6) lib/rack/runtime.rb:22:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/executor.rb:14:in `call' actionpack (5.2.2) lib/action_dispatch/middleware/static.rb:127:in `call' rack (2.0.6) lib/rack/sendfile.rb:111:in `call' railties (5.2.2) lib/rails/engine.rb:524:in `call' puma (3.12.0) lib/puma/configuration.rb:225:in `call' puma (3.12.0) lib/puma/server.rb:658:in `handle_request' puma (3.12.0) lib/puma/server.rb:472:in `process_client' puma (3.12.0) lib/puma/server.rb:332:in `block in run' puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread' Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 11:35:09 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:35:09 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.2ms)

Completed 200 OK in 197ms (Views: 195.5ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-02-01 11:35:10 +0530 Processing by UsersController#signup as HTML

Rendering users/signup.html.erb within layouts/application
Rendered users/signup.html.erb within layouts/application (2.3ms)

Completed 200 OK in 187ms (Views: 185.4ms | ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:35:13 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.5ms)

Completed 200 OK in 208ms (Views: 206.4ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:35:14 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (2.1ms)

Completed 200 OK in 212ms (Views: 209.1ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 11:35:15 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 3ms (ActiveRecord: 0.7ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:35:15 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 181ms (Views: 179.7ms | ActiveRecord: 0.0ms)

Started GET “/users/signup” for 127.0.0.1 at 2019-02-01 11:35:29 +0530 Processing by UsersController#signup as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.8ms)

Filter chain halted as :check_logged_out rendered or redirected Completed 200 OK in 216ms (Views: 213.7ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 11:35:30 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 2ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:35:30 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.0ms)

Completed 200 OK in 186ms (Views: 184.1ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:35:39 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (1.7ms)

Completed 200 OK in 242ms (Views: 239.1ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 11:35:40 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 4ms (ActiveRecord: 0.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:35:40 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.8ms)

Completed 200 OK in 218ms (Views: 216.6ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 11:35:42 +0530 Processing by ElasticSearchController#search as HTML

Rendering elastic_search/search.html.erb within layouts/application
Rendered elastic_search/search.html.erb within layouts/application (2.2ms)

Completed 200 OK in 206ms (Views: 204.8ms | ActiveRecord: 0.0ms)

Started GET “/Search?utf8=%E2%9C%93&field=long_url&query=hou&commit=Search” for 127.0.0.1 at 2019-02-01 11:35:44 +0530 Processing by ElasticSearchController#retrieve as HTML

Parameters: {"utf8"=>"✓", "field"=>"long_url", "query"=>"hou", "commit"=>"Search"}

Unpermitted parameters: :utf8, :commit

Url Load (0.4ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 421], ["id", 1], ["id", 418], ["id", 381], ["id", 419], ["id", 428], ["id", 388], ["id", 400], ["id", 401], ["id", 384]]
↳ app/controllers/elastic_search_controller.rb:22
Rendering elastic_search/show.html.erb within layouts/application
CACHE Url Load (0.0ms)  SELECT "urls".* FROM "urls" WHERE "urls"."id" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10)  [["id", 421], ["id", 1], ["id", 418], ["id", 381], ["id", 419], ["id", 428], ["id", 388], ["id", 400], ["id", 401], ["id", 384]]
↳ app/views/elastic_search/show.html.erb:11
Rendered elastic_search/show.html.erb within layouts/application (1.5ms)

Completed 200 OK in 229ms (Views: 174.6ms | ActiveRecord: 0.4ms)

Started POST “/shorten-url/?long_url=housing.com/vipul” for 127.0.0.1 at 2019-02-01 11:35:59 +0530 Processing by UrlsController#api_post_shorten_url as /

Parameters: {"long_url"=>"https://housing.com/vipul"}
DomainPrefix Load (0.4ms)  SELECT  "domain_prefixes".* FROM "domain_prefixes" WHERE "domain_prefixes"."domain" = $1 ORDER BY "domain_prefixes"."id" ASC LIMIT $2  [["domain", "housing"], ["LIMIT", 1]]
↳ app/models/domain_prefix.rb:6
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:135
Url Exists (0.3ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 LIMIT $2  [["long_url", "https://housing.com/vipul"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:135
Url Create (0.3ms)  INSERT INTO "urls" ("long_url", "domain") VALUES ($1, $2) RETURNING "id"  [["long_url", "https://housing.com/vipul"], ["domain", "housing"]]
↳ app/controllers/urls_controller.rb:135
Report Load (0.4ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-02-01"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:11
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:135
CACHE Report Load (0.0ms)  SELECT  "reports".* FROM "reports" WHERE "reports"."date" = $1 ORDER BY "reports"."id" ASC LIMIT $2  [["date", "2019-02-01"], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:12
 (0.2ms)  BEGIN
↳ app/workers/url_worker.rb:14
Report Exists (0.5ms)  SELECT  1 AS one FROM "reports" WHERE "reports"."date" = $1 AND "reports"."id" != $2 LIMIT $3  [["date", "2019-02-01"], ["id", 1], ["LIMIT", 1]]
↳ app/workers/url_worker.rb:14
Report Update (0.5ms)  UPDATE "reports" SET "no_of_urls" = $1 WHERE "reports"."id" = $2  [["no_of_urls", 2], ["id", 1]]
↳ app/workers/url_worker.rb:14
 (0.7ms)  COMMIT
↳ app/workers/url_worker.rb:14
Url Load (0.6ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f4fd347"], ["LIMIT", 1]]
↳ app/helpers/urls_helper.rb:21
 (0.2ms)  BEGIN
↳ app/controllers/urls_controller.rb:144
Url Exists (0.5ms)  SELECT  1 AS one FROM "urls" WHERE "urls"."long_url" = $1 AND "urls"."id" != $2 LIMIT $3  [["long_url", "https://housing.com/vipul"], ["id", 2], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:144
Url Update (0.6ms)  UPDATE "urls" SET "short_url" = $1 WHERE "urls"."id" = $2  [["short_url", "f4fd347"], ["id", 2]]
↳ app/controllers/urls_controller.rb:144
 (6.1ms)  COMMIT
↳ app/controllers/urls_controller.rb:144

Completed 202 Accepted in 86ms (Views: 0.3ms | ActiveRecord: 15.2ms)

Started GET “/short-url?short_url=hsng.com/f4fd347” for 127.0.0.1 at 2019-02-01 11:36:13 +0530 Processing by UrlsController#api_get_short_url as /

Parameters: {"short_url"=>"hsng.com/f4fd347"}
Url Load (0.5ms)  SELECT  "urls".* FROM "urls" WHERE "urls"."short_url" = $1 ORDER BY "urls"."id" ASC LIMIT $2  [["short_url", "f4fd347"], ["LIMIT", 1]]
↳ app/controllers/urls_controller.rb:163

Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.5ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:37:42 +0530

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
↳ /Users/vipul/.rvm/gems/ruby-2.6.0/gems/activerecord-5.2.2/lib/active_record/log_subscriber.rb:98

Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.4ms)

Started GET “/” for 127.0.0.1 at 2019-02-01 11:37:42 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (1.1ms)

Completed 200 OK in 783ms (Views: 777.6ms | ActiveRecord: 0.0ms)

Completed 200 OK in 342ms (Views: 339.9ms | ActiveRecord: 0.0ms)

Started GET “/users/logout” for 127.0.0.1 at 2019-02-01 11:37:45 +0530 Processing by UsersController#logout as HTML Redirected to localhost:3000/home_page/index Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:37:45 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.6ms)

Completed 200 OK in 102ms (Views: 101.2ms | ActiveRecord: 0.0ms)

Started GET “/search” for 127.0.0.1 at 2019-02-01 11:37:57 +0530 Processing by ElasticSearchController#search as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.9ms)

Filter chain halted as :check_logged_in rendered or redirected Completed 200 OK in 176ms (Views: 174.6ms | ActiveRecord: 0.0ms)

Started GET “/users/login” for 127.0.0.1 at 2019-02-01 11:37:59 +0530 Processing by UsersController#login as HTML

Rendering users/login.html.erb within layouts/application
Rendered users/login.html.erb within layouts/application (20.8ms)

Completed 200 OK in 196ms (Views: 194.6ms | ActiveRecord: 0.0ms)

Started GET “/users/Login?utf8=%E2%9C%93&email=vipul.kumar%40proptiger.com&password=&commit=Login” for 127.0.0.1 at 2019-02-01 11:38:00 +0530 Processing by UsersController#check_login as HTML

Parameters: {"utf8"=>"✓", "email"=>"vipul.kumar@proptiger.com", "password"=>"[FILTERED]", "commit"=>"Login"}

Unpermitted parameters: :utf8, :commit

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "vipul.kumar@proptiger.com"], ["LIMIT", 1]]
↳ app/models/user.rb:21

Redirected to localhost:3000/home_page/index Completed 302 Found in 20ms (ActiveRecord: 9.2ms)

Started GET “/home_page/index” for 127.0.0.1 at 2019-02-01 11:38:00 +0530 Processing by HomePageController#index as HTML

Rendering home_page/index.html.erb within layouts/application
Rendered home_page/index.html.erb within layouts/application (0.7ms)

Completed 200 OK in 166ms (Views: 164.3ms | ActiveRecord: 0.0ms)